[Top][All Lists]

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

bug#10144: 24.0.91; `pop-up-frames' with dedicated windows is broken: `C

From: Stefan Monnier
Subject: bug#10144: 24.0.91; `pop-up-frames' with dedicated windows is broken: `C-x C-f'
Date: Tue, 29 Nov 2011 09:01:33 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux)

>> I reverted the code to a behavior closer to Emacs-23's behavior.
> Using set-window-buffer has the disadvantage that now switch-to-buffer
> can't be affected by display-buffer-alist (except for the
> dedicated/minibuffer window case where pop-to-buffer is used).
> Why not use pop-to-buffer-same-window there, rather than
> set-window-buffer?

It's a safer change.  Callers can use pop-to-buffer-same-window if they
like that better.  In the absence of display-buffer-alist there's also
a difference of behavior for softly-dedicated windows where
set-window-buffer will undedicate the window whereas
pop-to-buffer-same-window will use another window.


reply via email to

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