[Tutor] ipython trouble with editor

Steven D'Aprano steve at pearwood.info
Mon Feb 13 17:07:19 CET 2012


David Craig wrote:
> Hi,
> I use emacs with ipython (or I would like to) on a GNU/linux machine. To 
> be able to use it from the ipython shell through %ed I added the 
> following lines to my .bashrc file,
> 
> export LESS="-R"
> export EDITOR=emacs
> 
> this seemed to work as when I try %ed filename it opens and is editable 
> in the ipython shell. However I cant quit out of emacs to run my 
> changes. I've tried Control-x Control-c but it doesnt work. Anyone know 
> how I can exit?????


This is not a mailing list for solving emacs problems, although we'll help you 
if we can. It's not even for solving ipython problems, since that's a fairly 
specialist area of Python (although I must admit I keep intending to try it 
out). This is for learning Python the programming language itself, not 
necessarily every tool vaguely associated with Python. You might be better off 
asking your question on a dedicated ipython support forum.

While waiting for somebody who knows more about ipython/emacs to show up, I'll 
start with a basic question: when you run emacs in ipython, do you get emacs 
running in the terminal, or in a GUI window?

If you get a GUI window, what happens if you select the Quit menu item or 
close the window?



-- 
Steven


More information about the Tutor mailing list