bugGNU nano - Bugs: bug #48047, statusbar shows wrong info when...

 
 

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

bug #48047: statusbar shows wrong info when one of the files is unwritable

Submitter:  Benno Schulenberg <bens>
Submitted:  Sat 28 May 2016 07:34:15 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Sat 04 Jun 2016 09:46:54 AM UTC, comment #2: 

Closing, as it's an unreleased bug.

Benno Schulenberg <bens>
Group administrator
Fri 03 Jun 2016 07:26:10 PM UTC, comment #1: 

Fixed in git, 0293eac.

Benno Schulenberg <bens>
Group administrator
Sat 28 May 2016 07:34:15 PM UTC, original submission:  

To reproduce, run 'chmod a-w README && src/nano NEWS README'.  The statusbar will say: "[ Read 72 lines (Warning: No write permission) ]".  But NEWS is far longer than 72 lines: 1502 lines.  Confusingly, the info for README is displayed underneath NEWS.

I propose to solve this by stopping to report the number of lines read for files that are unwritable -- the more important message is that they are unwritable.  And to make clear which file is unwritable (in case multiple files are opened at once), precede the message with the full filename: "[ /home/ben/Repositories/NANO/README is unwritable ]".

Or maybe: "[ File is unwritable: /home/ben/Repositories/NANO/README ]".

Benno Schulenberg <bens>
Group administrator

 

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

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

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

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-04 bens Open/ClosedOpen Closed
    2016-06-03 bens StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code