[IPython-user] Emacsserver console

Gregor Horvath g.horvath at gmx.at
Sun Mar 20 04:27:49 CST 2005


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?

--
Greg




More information about the IPython-user mailing list