bugGNU nano - Bugs: bug #54274, an attempt to rebind M-Ins or...

 
 

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

bug #54274: an attempt to rebind M-Ins or M-Del does not get flagged as an error

Submitter:  Benno Schulenberg <bens>
Submitted:  Mon 09 Jul 2018 08:05:31 AM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Wed 11 Jul 2018 12:54:38 PM UTC, comment #2: 

Fixed in git, commit 3bac3c4c.

Benno Schulenberg <bens>
Group administrator
Wed 11 Jul 2018 12:42:00 PM UTC, comment #1: 

Also, trying to rebind ^{, ^|, and ^} do not get reported as an error, but the attempts do not work, have no effect.

Expected behavior: they should get rejected as invalid key names.

Benno Schulenberg <bens>
Group administrator
Mon 09 Jul 2018 08:05:31 AM UTC, original submission:  

To reproduce, add the following six lines to your .nanorc:

bind Del whitespacedisplay main
bind Ins whitespacedisplay main
bind ^Del whitespacedisplay main
bind ^Ins whitespacedisplay main
bind M-Del whitespacedisplay main
bind M-Ins whitespacedisplay main

See that the first two lines are green, but the latter four are red.  Then run nano and exit from it, and see that it protests about the middle two lines being incorrect (Key name ^Del is invalid, Key name ^Ins is invalid), but it says nothing about M-Del and M-Ins.  In fact, nano has rebound M-D and M-I to the whitespacedisplay function.  This is wrong.

Expected behaviour: M-Del and M-Ins should get reported as invalid key names and the attempted rebinding should be ignored.

Benno Schulenberg <bens>
Group administrator

 

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

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 (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.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-09-10 bens Open/ClosedOpen Closed
    2018-07-11 bens StatusIn Progress Fixed
    2018-07-11 bens StatusNone In Progress
        Assigned toNone bens

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code