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

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Wed 01 Apr 2015 02:33:58 PM UTC  
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  Benno Schulenberg <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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
Mon 15 Aug 2016 03:45:26 PM UTC, comment #1: 
Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.

 

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)
  •  

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