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 11:03:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

>> The problem is the Buffer column.
>
> [...]
>
>> The trouble really starts when one has lots of
>>     *sent mail to dd...     219 Message          ~/News/drafts/drafts/51
>>     *sent mail to da...     329 Message          ~/News/drafts/drafts/52
>>     *sent wide reply...    1024 Message          ~/News/drafts/drafts/53
>>
>> indeed one cannot even see one letter of who the last one was sent to.
>
> Ah, I see.  Yes, that's pretty annoying.  It should expand the buffer
> column size based on the window width.

To recap: Even when the window is very wide, `C-x b' renders with

Buffer-menu-name-width 19

I propose to allow nil as a value here (and default Emacs to it), and
nil would then mean "compute based on window width".  The computation
would end up with 19 as the result if the window is 80 characters long,
but progressively make it longer if the window is wider (according to
some curve), but never make it longer than actual buffer names displayed.

Does this sound reasonable to everybody?

-- 
(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]