GNU bug report logs -
#45688
28.0.50; New action for display-buffer?
Previous Next
Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>
Date: Wed, 6 Jan 2021 12:03:02 UTC
Severity: normal
Found in version 28.0.50
Fixed in version 28.1
Done: martin rudalics <rudalics <at> gmx.at>
Bug is archived. No further changes may be made.
Full log
Message #38 received at 45688 <at> debbugs.gnu.org (full text, mbox):
martin rudalics <rudalics <at> gmx.at> writes:
> You really have to "use" such a window which means selecting it. Just
> displaying a buffer in a window does not count as using it.
Ah, thanks. That makes sense; I'll try playing around with a new action
that calls display-buffer-use-some-window, but marks the window as
having been used.
I've never actually encountered this bit of Emacs before -- I'm just
using the defaults for all the window stuff. :-)
I think the doc string for `display-buffer' is pretty intimidating now,
and seems more geared towards programmers than usage now. Would it make
sense to rearrange it a bit? That is, start off with something like:
-----
Display BUFFER-OR-NAME in some window, without selecting it. To change
what window is used, set `display-buffer-overriding-action' to a list
containing one or more of the following functions:
Action functions and the action they try to perform are:
‘display-buffer-same-window’ -- Use the selected window.
‘display-buffer-reuse-window’ -- Use a window already showing
the buffer.
‘display-buffer-in-previous-window’ -- Use a window that did
show the buffer before.
etc etc, and then give the details about ACTION and the rest?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 285 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.