bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30692: list-buffers has hardwired 80 character width from the 80's


From: Lars Ingebrigtsen
Subject: bug#30692: list-buffers has hardwired 80 character width from the 80's
Date: Fri, 07 Aug 2020 14:19:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> It wouldn't change how the file name is displayed at all -- it would
>> continue to be truncated by the window width (i.e., it "pokes out").
>> 
>> As the "formula" today is that the file name takes about half the window,
>> my proposed change would continue to keep that ratio (at least).  That
>> is, if you make the window 100 characters wide, the buffer name would
>> grow from 19 to...  (let's see)...  25-ish, and the file's visible area
>> would increase from 40-ish to 55-ish.
>
> So, as one makes the window wider, instead of using the additional
> space to display more of the file name, we will use it to display more
> of the buffer name?

No, in my calculations above, we increase the width by 20 columns, and
give 5 to the buffer name and 15 to the file name.  (Ish.)

> Even if none of the buffer names is truncated?

No, like I said in the first mail -- it won't be increased beyond the
length of the longest item in the buffer name column.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]