[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45688: 28.0.50; New action for display-buffer?
From: |
Lars Ingebrigtsen |
Subject: |
bug#45688: 28.0.50; New action for display-buffer? |
Date: |
Thu, 07 Jan 2021 12:45:46 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
martin rudalics <rudalics@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
- bug#45688: 28.0.50; New action for display-buffer?, Lars Ingebrigtsen, 2021/01/06
- bug#45688: 28.0.50; New action for display-buffer?, martin rudalics, 2021/01/06
- bug#45688: 28.0.50; New action for display-buffer?, Lars Ingebrigtsen, 2021/01/06
- bug#45688: 28.0.50; New action for display-buffer?, martin rudalics, 2021/01/06
- bug#45688: 28.0.50; New action for display-buffer?,
Lars Ingebrigtsen <=
- bug#45688: 28.0.50; New action for display-buffer?, martin rudalics, 2021/01/07
- bug#45688: 28.0.50; New action for display-buffer?, Lars Ingebrigtsen, 2021/01/07
- bug#45688: 28.0.50; New action for display-buffer?, martin rudalics, 2021/01/07
- bug#45688: 28.0.50; New action for display-buffer?, martin rudalics, 2021/01/07
- bug#45688: 28.0.50; New action for display-buffer?, Lars Ingebrigtsen, 2021/01/07
- bug#45688: 28.0.50; New action for display-buffer?, martin rudalics, 2021/01/07
bug#45688: 28.0.50; New action for display-buffer?, Eli Zaretskii, 2021/01/06