1

Whenever I currently do M-x slime, it creates a split buffer, with SLIME going in the bottom half. This is not really very desirable - I'd much rather SLIME appeared in a separate frame, and kept its REPL there. Is there a way I can make it so that when I do M-x slime, it will create a new frame, and open the SLIME REPL there?

  • Related: emacs.stackexchange.com/q/2194/115 – Kaushal Modi Nov 14 '14 at 11:26
  • 1
    I believe that you want the new window to appear in a new pop-up frame as your accepted answer does that. Can you reword your question to reflect that if that's the case? – Kaushal Modi Nov 14 '14 at 11:29
2

You can achieve this by adjusting the value of display-buffer-alist:

(setq display-buffer-alist
      (quote (("\\*inferior-lisp\\*" display-buffer-pop-up-frame
         (nil)))))

This setting tells Emacs that a buffer with the name matching the regular expression "\*inferior-lisp\*" should be displayed in a new (pop-up) frame.

(You can also customize this variable.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.