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

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

bug#25946: 26.0.50; display-buffer ignores ignores reusable-frames in di


From: martin rudalics
Subject: bug#25946: 26.0.50; display-buffer ignores ignores reusable-frames in display-buffer-alist
Date: Mon, 06 Mar 2017 18:46:40 +0100

>>> Same here (I couldn't test till just now).

Thanks once more for installing and testing.

> I think this window-splitting is because TeX-recenter-output-buffer
> (bound to `C-c C-l') calls `(TeX-pop-to-buffer buffer t t)', which calls
> pop-to-buffer with the ACTION argument set to t, which according to
> pop-to-buffer's doc string " means to pop to a window other than the
> selected one even if the buffer is already displayed in the selected
> window".  Maybe AUCTeX should have a user option that can be passed as
> the ACTION argument to pop-to-buffer.

But if I do

(customize-set-variable
 'display-buffer-alist
 '(("\\*text\\*"
    (display-buffer-reuse-window display-buffer-pop-up-frame)
    (reusable-frames . t))))

(setq display-buffer-mark-dedicated t)

(pop-to-buffer (get-buffer-create "*text*") t)

everything works as expected.  IIUC something else must interfere here.
How come the TeX source buffer gets "also" displayed on that new frame?

martin





reply via email to

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