bugGNU nano - Bugs: bug #45417, rebound toggles get listed...

 
 

bug #45417: rebound toggles get listed multiple times

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Fri 26 Jun 2015 03:36:31 PM UTC  
 
Severity: 3 - NormalStatus: Fixed
Assigned to: Benno Schulenberg <bens>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 06 Jul 2015 07:32:28 PM UTC, comment #2:

Fixed in SVN, r5282.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Fri 26 Jun 2015 08:29:56 PM UTC, comment #1:

Attached patch fixes this. It lists just one key combo per toggle -- the last-defined one -- also when there are multiple ones. Showing two (when there are multiple ones) should be possible, but will complicate matters even further.

(file #34327)

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Fri 26 Jun 2015 03:36:31 PM UTC, original submission:

When rebinding a toggle function to some other key combo, the new binding gets listed in the ^G help text before the M-X toggle, but the old binding is still listed at its old position. This is not good: the new binding should be listed at the old position -- the toggle functions should stay in a fixed order, and each should be mentioned only once.

For example, when doing "bind M-T noconvert main" and "bind M-Y noconvert main" in your nanorc, then in the current nano the ^G help text will show the "No onversion" line three times. Only the last of those lines should be there, and it should show both the M-Y and M-T bindings, or at least just the M-Y one.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 07 Dec 2015 03:13:51 PM UTCbensOpen/ClosedOpen=>Closed
    Mon 06 Jul 2015 07:32:28 PM UTCbensStatusIn Progress=>Fixed
    Sun 28 Jun 2015 06:33:54 AM UTCbensSeverity4 - Important=>3 - Normal
      StatusNone=>In Progress
      Assigned toNone=>bens
    Fri 26 Jun 2015 08:29:56 PM UTCbensAttached File-=>Added show-toggles-in-sequence.patch, #34327

    Back to the top


    Powered by Savane 3.1-cleanup1