emacs dedicated completion window

To protect against complication, I just run one "window" of emacs therefore I make use of window in the emacs feeling. I'm aiming to get a window split which, allow is claim 70 in size, has the conclusions buffer on the new split when I start emacs. I assume I require to have actually a committed window. What I'm basicly attempting to attain is the adhering to.

 |     | A |
 |     |---|
 |  C  | B |

C = where I generally function. A = the conclusion barrier (additionally I would love to have messages and also every little thing that emacs tosses at me there) B = a covering.

I have currently the adhering to included for this objective in my.emacs:

(split-window-horizontally)   ;; want two windows at startup 
(other-window 1)              ;; move to other window
(shell)                       ;; start a shell
(other-window 1)              ;; move back to first window 

I would love to divide the right window afterward up and down and also I would love to have the ability to define the measurements of each window. Additionally, I would love to have the committed building of the conclusions, messages, window (A) to be real to make sure that emacs does not change it.

I've listened to that a great deal of individuals utilize this arrangement yet I can not appear to locate it anywhere.

2022-06-07 14:30:43
Source Share
Answers: 1

Eventually I had the ability to get what I desired with the adhering to in my.emacs documents.

  (other-window 1)
  (other-window 1)
  (other-window 1)) ;; finally change back to scratch window

;; open temporary buffers in a dedicated window split
(setq special-display-regexps
          "^\\*elisp macroexpansion\\*$"
          "^\\*local variables\\*$"
          "^\\*Quail Completions\\*$"
          "^\\*SLIME Description\\*$"
          "^\\*.* output\\*$" ; tex compilation buffer
          "^\\*TeX Help\\*$"
          "^\\*Shell Command Output\\*$"
          "^\\*Async Shell Command\\*$"
(setq grb-temporary-window (nth 1 (window-list)))
(defun grb-special-display (buffer &optional data)
  (let ((window grb-temporary-window))
    (with-selected-window window
      (switch-to-buffer buffer)
(setq special-display-function #'grb-special-display)

I located what I required in this.emacs submit on github.


2022-07-03 00:10:05