bugGNU nano - Bugs: bug #57123, [Request] strip the path name from...

 
 

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

bug #57123: [Request] strip the path name from the top bar when space is limited

Submitter:  Tiago Almeida <tjapro>
Submitted:  Sun 27 Oct 2019 07:53:49 PM UTC
   
 
Severity:  1 - Wish Status:  Wont Fix
Assigned to:  None Open/Closed:  Closed

Tue 29 Dec 2020 07:53:03 PM UTC, comment #4: 

Ok.

Thanks for the explanation, but I'm sorry for my delay.

Tiago Almeida <tjapro>
Mon 26 Oct 2020 09:04:27 AM UTC, comment #3: 

I prefer the current behavior of first dropping the version number (or the [n/m] counter) when space gets too tight, and then "dottifying" the path when space is even tighter.  That preserves more of the full file name for as long as possible.

Benno Schulenberg <bens>
Group administrator
Mon 28 Oct 2019 09:44:34 AM UTC, comment #2: 

Always stripping the pathname (when there is no other file with the same name) is not going to happen.  First, checking whether there is no other file with the same name would take too much code.  And second, most users will want to see the full path of the file, to be certain that they are editing the intended file.

If there are users who do not wish to see those full paths, they can cd to the relevant directory first, or use the -o option.

Benno Schulenberg <bens>
Group administrator
Mon 28 Oct 2019 09:38:40 AM UTC, comment #1: 

(Rewording your request.)

When the terminal is narrow and there is not enough room for all three of "[n/m]", "path/to/file", and the reserved space for "Modified", instead of dropping "[n/m]", nano could first strip the "path/to/" portion of the file name.

Benno Schulenberg <bens>
Group administrator
Sun 27 Oct 2019 07:53:49 PM UTC, original submission:  

When open files in a multibuffer option the name of the file in the top bar could be only the name of the file, unless there be another file open with the same name.
Also with little screens the top bar with long paths names made disappear the file open count.

Tiago Almeida <tjapro>

 

(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 (Posted a comment)
  • -email is unavailable- added by tjapro (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-12-03 bens Open/ClosedOpen Closed
    2020-10-26 bens StatusNone Wont Fix
    2019-10-28 bens Severity3 - Normal 1 - Wish
        SummaryTop bar in multibuffer [Request] strip the path name from the top bar when space is limited

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code