Como forçar o Emacs a não exibir o buffer em uma janela específica?

Minha configuração do windows é assim:

<code>          +----------+-----------+
      |          |           |
      |          |           |
      |          |           |
      |          |           |
      |          |           |
      |          +-----------+
      |          |           |
      +----------+-----------+
</code>

E eu uso a janela inferior direita para exibições especiais (como ajuda, conclusão etc.), mas o emacs insiste em usar essa janela quando eu chamo comandos (find-file-other-window, etc.) que usamdisplay-buffere redimensione essa janela também. É irritante ... Existe uma maneira que eu possa forçar o emacs a não usar essas janelas? Eu estava pensando em aconselhardisplay-buffer, mas é uma função em c. Alguma idéia sobre isso?

EDITAR:

Baseado fortemente na resposta de Trey, isso é o que funciona para mim até agora:

<code>(setq special-display-function 'my-display-buffer)
(setq special-display-regexps '(".*"))

(defun display-special-buffer (buf)
  "put the special buffers in the right spot (bottom rigt)"
    (let ((target-window (window-at (- (frame-width) 4) (- (frame-height) 4)))
          (pop-up-windows t))
      (set-window-buffer target-window buf)
      target-window))

(defun my-display-buffer (buf)
  "put all buffers in a window other than the one in the bottom right"
  (message (buffer-name  buf))
  (if (member (buffer-name buf) special-display-buffer-names)
      (display-special-buffer buf)
      (progn
        (let ((pop-up-windows t)
              (windows (delete (window-at (- (frame-width) 4) (- (frame-height) 4))
                         (delete (minibuffer-window) (window-list)))))
          (message (buffer-name (window-buffer (car windows))))
          (set-window-buffer (car (cdr windows)) buf)
          (car (cdr windows))))))
</code>

questionAnswers(4)

yourAnswerToTheQuestion