GNU nano - Bugs: bug #52282, a message "not found" is...
You are not allowed to post comments on this tracker with your current authentication level.
bug #52282: a message "not found" is spoken before "replaced xx occurrences"
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Wed 25 Oct 2017 07:02:17 PM UTC | ||
Severity: | 3 - Normal | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Thu 26 Oct 2017 07:13:57 PM UTC, comment #2: |
Benno Schulenberg <bens> |
Wed 25 Oct 2017 07:21:26 PM UTC, comment #1: Attached is a first patch. Please test if you can and report your findings. |
Benno Schulenberg <bens> |
Wed 25 Oct 2017 07:02:17 PM UTC, original submission:
On help-nano Chime Hart reported the following:
|
Benno Schulenberg <bens> |
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 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2017-11-19 | bens | Open/Closed | Open | Closed | |
2017-10-26 | bens | Status | In Progress | Fixed | |
2017-10-25 | bens | Attached File | - | Added show-notfound-only-when-needed.patch, #42259 | |
Status | None | In Progress | |||
Assigned to | None | bens |
Powered by Savane 3.13-d3ae.
Corresponding source code
Fixed in git, by commits d4945c67 and ded02d85.
When doing replacements, also the "Search Wrapped" message is superfluous, because it will be overwritten almost immediately by either the "not found" or the "replaced xx occurrences" message. Only in a huge file with very few occurrences might the "Search Wrapped" message be useful. But if the user wants to be sure the replacing does not wrap around, then she should mark a region first and then do the replacements there.