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.

4
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.

(progn
  (interactive)
  (split-window-horizontally)
  (other-window 1)
  (split-window)
  (other-window 1)
  (eshell)
  (other-window 1)) ;; finally change back to scratch window



;; open temporary buffers in a dedicated window split
(setq special-display-regexps
        '("^\\*Completions\\*$"
          "^\\*Help\\*$"
          "^\\*grep\\*$"
          "^\\*Apropos\\*$"
          "^\\*elisp macroexpansion\\*$"
          "^\\*local variables\\*$"
          "^\\*Compile-Log\\*$"
          "^\\*Quail Completions\\*$"
          "^\\*Occur\\*$"
          "^\\*frequencies\\*$"
          "^\\*compilation\\*$"
          "^\\*Locate\\*$"
          "^\\*Colors\\*$"
          "^\\*tumme-display-image\\*$"
          "^\\*SLIME Description\\*$"
          "^\\*.* output\\*$" ; tex compilation buffer
          "^\\*TeX Help\\*$"
          "^\\*Shell Command Output\\*$"
          "^\\*Async Shell Command\\*$"
          "^\\*Backtrace\\*$"))
(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)
      window)))
(setq special-display-function #'grb-special-display)

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

https://github.com/garybernhardt/dotfiles/blob/master/.emacs

1
2022-07-03 00:10:05
Source