[IPython-user] Emacsserver console

Fernando Perez Fernando.Perez at colorado.edu
Mon Mar 21 13:59:03 CST 2005

Gregor Horvath wrote:
> Hi,
> using iPython with the %ed makro in combination with emacsserver works fine.
> But it does not work in the console.
> I am no emacs expert but the configuration mentioned in the ipython docs 
> seems to indicate that this only works with xterm:
> (defvar server-buffer-clients)
> (when (and (fboundp 'server-start) (string-equal (getenv "TERM") 'xterm))
>    (server-start)
>    (defun fp-kill-server-with-buffer-routine ()
>      (and server-buffer-clients (server-done)))
>    (add-hook 'kill-buffer-hook 'fp-kill-server-with-buffer-routine))
> Is there any chance to use %ed with emacsserver in the console?

Sorry, but I have no idea.  I hope one of the emacs gurus on the list may 
help, because I simply don't know enough about emacs config (though I am an 
all-day xemacs user) to answer this.



More information about the IPython-user mailing list