GNU nano - Bugs: bug #50135, nano makes too many replacements...
You are not allowed to post comments on this tracker with your current authentication level.
bug #50135: nano makes too many replacements when 'from' and 'to' are nearly equal
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Tue 24 Jan 2017 10:20:05 AM UTC | ||
Severity: | 3 - Normal | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Wed 25 Jan 2017 10:38:08 AM UTC, comment #2: |
Benno Schulenberg <bens> |
Tue 24 Jan 2017 01:21:44 PM UTC, comment #1: The "hanging" issue mentioned near the end has been reported separately as bug #50137. So this bug is just about the making of too many replacements in the current line in the forward direction. |
Benno Schulenberg <bens> |
Tue 24 Jan 2017 10:20:05 AM UTC, original submission:
To reproduce, run 'echo xxx >exes' and then 'nano --ignore exes'. Then type: M-R xx <Enter> xxx <Enter>. Then type Y for every prompt. Nano asks /three/ times: first for the final two xx, then for the first two, and then again for the final two. Wrong. And after the three replacements, the cursor sits at the /end/ of the line, instead of at the beginning. Wrong too.
|
Benno Schulenberg <bens> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2017-02-24 | bens | Open/Closed | Open | Closed | |
2017-01-25 | bens | Status | In Progress | Fixed | |
2017-01-24 | bens | Status | None | In Progress | |
Assigned to | None | bens |
Powered by Savane 3.13-758e.
Corresponding source code
Fixed in git, 3534d8ff.
It now does just two replacements (in the forward direction) and puts the cursor back where it was.