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

From: Juri Linkov <[email-masked]>
Date: Tue, 23 May 2023 21:25:11 +0300

>> 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.