My daily workflow uses multiple frames, and I have a frame that I want to dedicate to ERC buffers. I've used set-frame-parameter
to give the frame the name *ERC*
.
I want display-buffer
to always display ERC buffers (identified by the regex \`#
) in this frame named *ERC*
.
I've tried the following:
(add-to-list 'display-buffer-alist
'("\\`#"
nil
(inhibit-switch-frame)
(reusable-frames . "*ERC*")))
But buffers still appear all over the place. I've also tried replacing *ERC*
with \\*ERC\\*
. Help?
get-frame-name
andget-a-frame
."\\`#"
.