bugGNU nano - Bugs: bug #60315, message at startup is wrong when...


You are not allowed to post comments on this tracker with your current authentication level.

bug #60315: message at startup is wrong when ^G is rebound

Submitted by:  Robert Goulding <rgouldin>
Submitted on:  Wed 31 Mar 2021 02:50:11 PM UTC  
Severity:  2 - Minor Status:  Fixed
Assigned to:  Benno Schulenberg <bens> Open/Closed:  Closed

Fri 30 Apr 2021 10:38:05 AM UTC, comment #2: 

The fix was released in nano-5.7.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Thu 01 Apr 2021 08:20:37 AM UTC, comment #1: 

Thanks for reporting.  Fixed in git, commit 20e122ef, by checking that ^G is still the first shortcut bound to do_help.  I do not want to adapt the message to whatever keystroke is bound to do_help -- it is an unneeded complication: people who rebind keys probably don't need the reminder.

I guess that no one noticed until now because probably most people that rebind keys also add 'set nohelp' to their ~/.nanorc file.

(By the way: the «"fill" not found» message is not an error, it is simply the feedback from the 'findnext' command that the searched-for string was not found.  Apparently the last string you searched for at that time was "fill".)

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Wed 31 Mar 2021 02:50:11 PM UTC, original submission:  

When starting up the editor, I get the message:

Welcome to nano. For basic help, type Ctrl+G

When I type ^G, I get the error: "fill" not found.

In my .nanorc, I have ^G rebound:

bind ^G findnext all

It seems to be looking for the word "fill" for some reason.

Shouldn't this start-up message refer to whatever key "help" is bound to (which, in my case, is M-?)?

Robert Goulding <rgouldin>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-04-30 bens Open/ClosedOpen => Closed
    2021-04-01 bens Severity3 - Normal => 2 - Minor
        StatusNone => Fixed
        Assigned toNone => bens
        SummaryMessage at startup erroneous => message at startup is wrong when ^G is rebound

    Back to the top

    Powered by Savane 3.7