GNU bug report logs - #30314
Define aliases for window display actions

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Wed, 31 Jan 2018 21:58:01 UTC

Severity: wishlist

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Juri Linkov <juri <at> linkov.net>
Subject: bug#30314: closed (Re: bug#30314: Define aliases for window
 display actions)
Date: Sat, 10 Feb 2018 21:57:01 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#30314: Define aliases for window display actions

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 30314 <at> debbugs.gnu.org.

-- 
30314: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30314
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Juri Linkov <juri <at> linkov.net>
To: 30314-done <at> debbugs.gnu.org
Subject: Re: bug#30314: Define aliases for window display actions
Date: Sat, 10 Feb 2018 23:55:45 +0200
> Better to create new functions for this:

Pushed to master, and closed.

[Message part 3 (message/rfc822, inline)]
From: Juri Linkov <juri <at> linkov.net>
To: bug-gnu-emacs <at> gnu.org
Subject: Define aliases for window display actions
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.



This bug report was last modified 7 years and 100 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.