bugGNU 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"

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Wed 25 Oct 2017 07:02:17 PM UTC
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Thu 26 Oct 2017 07:13:57 PM UTC, comment #2: 

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.

Benno Schulenberg <bens>
Project Administrator
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.

(file #42259)

Benno Schulenberg <bens>
Project Administrator
Wed 25 Oct 2017 07:02:17 PM UTC, original submission:  

On help-nano Chime Hart reported the following:

"""However, lately whether I am useing a control+w for a search or a control+backslash, searches work but I hear a message saying "not found" or "search wrapped" -- whether logged in a unix shell or directly in Vinux, running Youbuntu with speech.

So as an example, if I search for
replace with
it would say "nano not found" replaced 1 occurrence, but that error seems to scroll away."""


Nano should suppress the "not found" message when more than zero replacements have been made.

Benno Schulenberg <bens>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by bens (Submitted the item)

    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.

    Only logged-in users can vote.





    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-11-19 bens Open/ClosedOpen => Closed
    2017-10-26 bens StatusIn Progress => Fixed
    2017-10-25 bens Attached File- => Added show-notfound-only-when-needed.patch, #42259
        StatusNone => In Progress
        Assigned toNone => bens

    Back to the top

    Powered by Savane 3.9