GNU bug report logs - #63455
30.0.50; display-buffer-in-direction is always resizing

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Fri, 12 May 2023 01:07:01 UTC

Severity: normal

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Juri Linkov <juri <at> linkov.net>
Cc: martin rudalics <rudalics <at> gmx.at>, 63455 <at> debbugs.gnu.org, dgutov <at> yandex.ru
Subject: bug#63455: 30.0.50; display-buffer-in-direction is always resizing
Date: Wed, 24 May 2023 04:48:37 +0200
Juri Linkov <juri <at> linkov.net> writes:

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

Hmm - I think that name sounds a bit too general to me.

I don't know - it's all a bit messy.

`with-output-to-temp-buffer' displays the buffer.  That's also a bit
surprising.

(info "(elisp) Temporary Displays") says:

 -- User Option: temp-buffer-show-function
     If this variable is non-‘nil’, ‘with-output-to-temp-buffer’ calls
     it as a function to do the job of displaying a help buffer.
                                                    ^^^^
The name "temp" is everywhere.  And it is, in the context of buffer
display (in the wider sense), more or less synonymous with "help
buffer" (in the wider sense again).

If it's too late to change all of the related names, maybe we should
describe the naming habits more explicitly so that it is less confusing
and more discoverable.

Michael.




This bug report was last modified 2 years and 22 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.