bugGNU nano - Bugs: bug #52871, a wrong interface color in...

 
 

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

bug #52871: a wrong interface color in /etc/nanorc gets misreported

Submitter:  Benno Schulenberg <bens>
Submitted:  Fri 12 Jan 2018 09:43:09 AM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Mon 15 Jan 2018 12:33:50 PM UTC, comment #3: 

Fixed in git, commit 4b24ce1c.  (Followed by some tweaks to avoid a memory leak.)

Thanks for the patch!

Benno Schulenberg <bens>
Group administrator
Mon 15 Jan 2018 11:28:23 AM UTC, comment #2: 

For me, your patch fixes the problem entirely.  (I'm still preplexed why rcfile_with_errors points to garbage when your patch is not apllied, but... let it be, there are other bugs to fix.)

Benno Schulenberg <bens>
Group administrator
Fri 12 Jan 2018 10:51:54 AM UTC, comment #1: 

This patch doesn't solve the issue with incorrect nanorc path in message but does fix the problem with interface color errors.

(file #42892)

Brand Huntsman <brand>
Fri 12 Jan 2018 09:43:09 AM UTC, original submission:  

(Original report by Brand Huntsman: http://lists.gnu.org/archive/html/nano-devel/2018-01/msg00050.html.)

To reproduce, move your ~/.nanorc and ~/.config/nano/nanorc files out of the way, and put in your /etc/nanorc file just this line:

  set titlecolor xxxxx

Then run nano.  The error message on the status bar contains random characters instead of '/etc/nanorc':

  [ Mistakes in '`��9�U' ]

(For me, the number of bytes is always six, and the first two are always `�.)

The problem only occurs when there is no user nanorc file.  If there is such a file, any error in /etc/nanorc is silently ignored.

Benno Schulenberg <bens>
Group administrator

 

(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 brand (Updated the item)
  • -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
    2018-01-30 bens Open/ClosedOpen Closed
    2018-01-15 bens StatusIn Progress Fixed
        Summarywrong interface colors in /etc/nanorc get misreported a wrong interface color in /etc/nanorc gets misreported
    2018-01-15 bens StatusNone In Progress
        Summaryerrors in /etc/nanorc get misreported on the status bar wrong interface colors in /etc/nanorc get misreported
    2018-01-12 brand Attached File- Added 0001-Immediately-parse-interface-colors-instead-of-waitin.patch, #42892

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code