[slime-devel] slime in its own frame?
Rick Taube
taube at uiuc.edu
Tue Mar 21 14:38:43 UTC 2006
how can i reliably start the slime repl running in its own dedicated
frame? this little code snippet does open a new frame and start slime
running inside it with the new slime frame the active frame.
however, if i launch the new frame and then RESELECT my original
frame with the mouse while "*inferior-lisp*" is booting but before
the "*slime repl*" actually starts running, then the "*slime repl*"
actually gets opened back in the original frame.
that is, i want the "*slime repl*" to start in whatever frame the
*inferior-lisp* buffer was started in, not whatever the currently
active frame happens to be.
(defun slime-own-frame ()
(let* ((inf "*inferior lisp*"))
(switch-to-buffer-other-frame inf)
(with-current-buffer inf (slime))
(bury-buffer inf)))
--rick
More information about the slime-devel
mailing list