Try to display project.el shell buffers in separate windows

Not yet working as it should, does only pop up new window when the current frame only has one
window.
This commit is contained in:
Daniel Borchmann 2025-05-25 18:49:14 +02:00
parent d80b71fb72
commit 2ea26be188
No known key found for this signature in database
GPG Key ID: 50EA937BF472ADD1

View File

@ -366,11 +366,13 @@
(side . right) (side . right)
(slot . 1) (slot . 1)
(window-width . 0.33))) (window-width . 0.33)))
;; Inspired by masteringemacs ;; Inspired by masteringemacs
(add-to-list 'display-buffer-alist (add-to-list 'display-buffer-alist
'("^\\*Help\\*" '("^\\*Help\\*"
(display-buffer-reuse-window (display-buffer-reuse-window
display-buffer-pop-up-window))) display-buffer-pop-up-window)))
;; Inspired by masteringemacs and ;; Inspired by masteringemacs and
;; https://www.gnu.org/software/emacs/manual/html_node/elisp/Frame-Layouts-with-Side-Windows.html ;; https://www.gnu.org/software/emacs/manual/html_node/elisp/Frame-Layouts-with-Side-Windows.html
(add-to-list 'display-buffer-alist (add-to-list 'display-buffer-alist
@ -386,7 +388,11 @@
(side . bottom) (side . bottom)
(slot . 1) (slot . 1)
(window-height . 0.33) (window-height . 0.33)
(window-parameters . ((no-other-window . t))))))) (window-parameters . ((no-other-window . t)))))
(add-to-list 'display-buffer-alist
'("shell\\*"
(display-buffer-pop-up-window)))))
(use-package which-key (use-package which-key
:ensure t :ensure t