* etc/NEWS: Mention new buffer display action alist entries

This commit is contained in:
Martin Rudalics 2023-02-21 18:49:04 +01:00
parent 4dc1f2b9a0
commit 48c9a50771

View file

@ -1175,6 +1175,33 @@ For example, a 'display-buffer-alist' entry of
will make the body of the chosen window 40 columns wide. For the will make the body of the chosen window 40 columns wide. For the
height use 'window-height' and 'body-lines', respectively. height use 'window-height' and 'body-lines', respectively.
+++
*** 'display-buffer' provides more options for using an existing window.
The display buffer action functions 'display-buffer-use-window' and
'display-buffer-use-least-recent-window' now honor the action alist
entry 'window-min-height' as well as the entries listed below to make
the display of several buffers in a row more amenable.
+++
*** New buffer display action alist entry 'lru-frames'.
This allows to specify which frames 'display-buffer' should consider
when using a window that shows another buffer.
+++
*** New buffer display action alist entry 'lru-time'.
'display-buffer' will ignore windows with a use time higher than that
when using a window that shows another buffer.
+++
*** New buffer display action alist entry 'bump-use-time'.
This has 'display-buffer' bump the use time of any window it returns,
making it a less likely candidate for displaying another buffer.
+++
*** New buffer display action alist entry 'window-min-width'.
This allows to specify a minimum width of the window used to display a
buffer.
--- ---
*** You can customize on which window 'scroll-other-window' operates. *** You can customize on which window 'scroll-other-window' operates.
This is controlled by the new 'other-window-scroll-default' variable. This is controlled by the new 'other-window-scroll-default' variable.