bugGNU nano - Bugs: bug #44688, trying to rebind ^Left and ^Right...

 
 

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

bug #44688: trying to rebind ^Left and ^Right (and such) should report an error

Submitter:  Benno Schulenberg <bens>
Submitted:  Wed 01 Apr 2015 02:33:58 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Wed 14 Sep 2016 06:36:22 PM UTC, comment #3: 

Fixed in git, e2027ae, by a patch from Rishabh Dave, which rejects rebinding any ^X and any M-X sequence where X is more than a single character (apart from ^Space and M-Space).

Benno Schulenberg <bens>
Group administrator
Mon 05 Sep 2016 08:02:05 AM UTC, comment #2: 

Left and Right are not rebindable, Shift+Left/Right are not rebindable, and Shift+Ctrl+Left/Right are not rebindable either.  All of those keystrokes do left/right movements -- it would be a bit strange to allow the user to rebind Ctrl+Left/Right to do something different.  So... the Ctrl+Arrow keys should not become rebindable.  Instead, the solution will have to be: to report to the user that (apart from Space, Ins and Del) any keyname longer than one character is invalid.

Benno Schulenberg <bens>
Group administrator
Mon 15 Aug 2016 03:45:26 PM UTC, comment #1: 
Benno Schulenberg <bens>
Group administrator
Wed 01 Apr 2015 02:33:58 PM UTC, original submission:  

Putting in one's .nanorc something like

bind ^Right help main
bind ^Left exit main

has not the desired effect.  The ^Left and ^Right are listed on the two help lines, but the key combinations continue to work as NextWord and PrevWord.

Desire: Ctrl+Left and Ctrl+Right should be reassignable.  The same for Alt+Left (M-Left) and Alt+Right (M-Right), which now continue to produce "Unknown Command".

Benno Schulenberg <bens>
Group administrator

 

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by prongs (Updated the item)
  • -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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-10-31 bens Open/ClosedOpen Closed
    2016-09-14 bens StatusIn Progress Fixed
        Assigned toNone bens
    2016-09-05 bens Summaryrebinding ^Left and ^Right does not work trying to rebind ^Left and ^Right (and such) should report an error
    2016-08-30 prongs Attached File- Added 0001-feature-make-rebinding-of-Ctrl-arrow-keys-possible.patch, #38391
    2016-08-15 bens StatusNone In Progress

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code