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

 
 

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

bug #45417: rebound toggles get listed multiple times

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

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

Fixed in SVN, r5282.

Benno Schulenberg <bens>
Group administrator
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>
Group administrator
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>
Group administrator

 

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

Attached Files

 

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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-12-07 bens Open/ClosedOpen Closed
    2015-07-06 bens StatusIn Progress Fixed
    2015-06-28 bens Severity4 - Important 3 - Normal
        StatusNone In Progress
        Assigned toNone bens
    2015-06-26 bens Attached File- Added show-toggles-in-sequence.patch, #34327

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code