Subject: bug#30314: Define aliases for window display actions

From: Juri Linkov <[email-masked]>
Date: Wed, 31 Jan 2018 23:52:55 +0200

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.