bugGNU nano - Bugs: bug #61420, trailing stuff causes a bind...

 
 

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

bug #61420: trailing stuff causes a bind command to be colored red as if invalid

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Wed 03 Nov 2021 03:23:01 PM UTC  
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  Benno Schulenberg <bens> Open/Closed:  Open

Wed 03 Nov 2021 04:00:37 PM UTC, comment #1: 

Fixed in git, commit 4d9be133, by dropping the constraint that required trailing whitespace or a trailing comment before coloring a bind or unbind command as valid.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Wed 03 Nov 2021 03:23:01 PM UTC, original submission:  

To reproduce, run 'nano ~/.nanorc' and add this line:

bind F8 comment main tralala

See that the whole "F8 comment main tralala" is colored red, as if the bind were invalid.  But now rerun nano and see that F8 does what it has been bound to.

Expected behavior: only the trailing "tralala" should be colored red -- as long as the bind command itself is fine.

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

 

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

    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.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-11-03 bens StatusNone => Fixed

    Back to the top


    Powered by Savane 3.7