Open taquangtrung opened 4 years ago
Hi,
I have the following functions to open certain buffers in another frame assigned to its purpose
(defun zezin-add-reusable-buffers (buffer-regex)
(add-to-list 'display-buffer-alist
`(,buffer-regex
nil
(reusable-frames . t))))
(zezin-add-reusable-buffers "\\*Go Test\\*")
(zezin-add-reusable-buffers "\\**compilation\\*")
(zezin-add-reusable-buffers "\\magit*")
Hi,
Is it possible to change the purpose of the compilation buffer
*compilation*
to become non-popup?I'm using two Emacs frames in two monitors, and I want to fix the compilation buffer into one monitor. However, whenever I press
C-g
, the buffer*compilation*
disappears, since it is assigned topopb
purpose.I tried to set that buffer or its window to be dedicated, but it doesn't work.
I also remove the
compilation-mode
frompurpose-x-popwin-major-modes
, and callpurpose-x-popwin-update-conf
to update the configuration, but this doesn't work either. Here is the function that I wrote to enable/disable the compilation buffer from being set aspopb
.Could you advise me what is wrong? Or how can I properly enable/disable that feature?
(Note that I already disable the old
popwin
mode and use onlyspacemacs-purpose-popwin
)Thank you very much!