When using an emacs command that uses
display-buffer (e.g. following an error from compile-mode, calling
list-buffers, etc.), if the buffer is open in another frame, it doesn't open in a window in the current frame, even if the frame is not on the current desktop (for context, I tend to use two emacs frames at a time, one visible on all desktops, and one only on a single destop).
I see in the documentation for
display-buffer that it takes an optional argument
FRAME, and it seems like the value
visible would do what I want, but since I'm not calling
display-buffer directly, I'm not sure how to set this argument. Any ideas?