display-buffer-reuse-frames
tells Emacs to re-use frames for displaying buffers. However, as of 24.3 this variable is obsolete (emphasis mine):
display-buffer-reuse-frames is a variable defined in
window.el
.
Its value is t
Original value was nilThis variable is obsolete since 24.3; use a
reusable-frames
alist entry indisplay-buffer-alist
.Documentation:
Non-nil meansdisplay-buffer
should reuse frames. If the buffer in question is already displayed in a frame, raise that frame.
I understand that I am supposed to replace that variable with display-buffer-alist
. I'm familiar with the latter, and use it at many different places in my configuration, but nonetheless this docstring is a mystery to me.
What entry exactly do I need to add to display-buffer-alist
to replicate this variable? IOW, what entry do I need to add to display-buffer-alist
to make Emacs reuse frames for all buffers, while still using the default display actions?
And please, dear Emacs developers, write less hand-wavy docstrings for obsolete options…
display-buffer-alist
items otherwise.display-buffer-alist
is a hard nut to crack, indeed. Consider filing a doc bug report, if you can say something concrete about a problem you encounter with it or you have a suggestion for improving it:M-x report-emacs-bug
. FWIW, the doc, although still difficult to fathom, is better than it was at first.display-buffer-alist
, and I'm fine with its docstring. My remark refers to the deprecation notice in the docstring ofdisplay-buffer-reuse-frames
, which doesn't tell me the proper alternative instead.display-buffer-alist
entry of(reusable-frames . 0)
do not address the issue at hand: gnu.org/software/emacs/manual/html_node/elisp/… In other words, explain why neither of these examples replicates the behaviour ofdisplay-buffer-reuse-frames
, and shows how to reuse frames for all buffers, using the default display actions.