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

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

bug#63455: 30.0.50; display-buffer-in-direction is always resizing


From: Juri Linkov
Subject: bug#63455: 30.0.50; display-buffer-in-direction is always resizing
Date: Tue, 23 May 2023 21:25:11 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)

>> Maybe a good name for the new function would be
>> 'fit-window-to-temp-buffer'?
>
> Sorry to come up with this now, but: I think "temp-buffer" is a
> misnomer here.  AFAIU it is used for *Help* buffers.  Those are not
> more temporary than a lot of other buffers (doesn't the *Help* buffer
> live more or less the whole session if you don't kill it?), and the way
> Help buffers are displayed has not much or not only to do with how long
> they live.
>
> I always found that naming confusing.  It makes me think of
> `with-temp-buffer', helper buffers, not of *Help*.  Do you find the
> naming appropriate, having the use cases in mind?

According to (info "(emacs) Temporary Displays")
maybe a better name would be "view-buffer" because
it's intended for non-editable buffers.





reply via email to

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