bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30314: Define aliases for window display actions


From: Juri Linkov
Subject: bug#30314: Define aliases for window display actions
Date: Wed, 31 Jan 2018 23:52:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

Severity: wishlist

Instead of duplicating the same list of actions in many places
like in bug#30016:

        (pop-to-buffer buf `((display-buffer--maybe-same-window
                              display-buffer-reuse-window
                              display-buffer--maybe-pop-up-frame-or-window
                              display-buffer-at-bottom)
                             ,(if temp-buffer-resize-mode
                                  '(window-height . resize-temp-buffer-window)
                                '(window-height . fit-window-to-buffer))
                             ,(when temp-buffer-resize-mode
                                '(preserve-size . (nil . t)))))

I propose to introduce the concept of display action aliases to group
several actions under one name and use just this short name where needed.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]