bugGNU nano - Bugs: bug #52114, the color names given for...

 
 

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

bug #52114: the color names given for "selectedcolor" are colored as though they're invalid

Submitter:  David Lawrence Ramsey <dolorous>
Submitted:  Mon 25 Sep 2017 07:44:34 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  dolorous Open/Closed:  Closed

Tue 26 Sep 2017 05:41:13 PM UTC, comment #3: 

Thanks for the fix, and for the report.  Pushed to git, 3f35e967.

Benno Schulenberg <bens>
Group administrator
Mon 25 Sep 2017 09:50:20 PM UTC, comment #2: 

And adding to the carbon-copy list, since there's a patch available.

David Lawrence Ramsey <dolorous>
Group Member
Mon 25 Sep 2017 07:46:30 PM UTC, comment #1: 

This is caused by an oversight when the option was added; nanorc.nanorc was not updated to handle option coloring for "selectedcolor".  The attached patch fixes it.

(file #41893)

David Lawrence Ramsey <dolorous>
Group Member
Mon 25 Sep 2017 07:44:34 PM UTC, original submission:  

Currently, in git b5346bc, if you run a copy of nano with color syntaxes enabled (and an unmodified syntaxes/nanorc.nanorc file), and use it to open a nanorc file, the options given for "functioncolor", "keycolor", "numbercolor", "statuscolor", and "titlecolor" will be shown as yellow.  However, the options given for the recently added "selectedcolor" will be shown as bright red, even though they're valid and handled properly.

David Lawrence Ramsey <dolorous>
Group Member

 

(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 bens (Posted a comment)
  • -email is unavailable- added by dolorous
  • -email is unavailable- added by dolorous (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
    2017-11-19 bens Open/ClosedOpen Closed
    2017-09-26 bens StatusNone Fixed
        Assigned toNone dolorous
        Summarynanorc syntax colors the colors given for &quot;selectedcolor&quot; as though they're invalid the color names given for "selectedcolor" are colored as though they're invalid
    2017-09-25 dolorous Carbon-Copy- Added bens
    2017-09-25 dolorous Attached File- Added 0001-syntax-properly-color-color-values-for-the-selectedc.patch, #41893

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code