[IPython-user] two feature ideas

Fernando Perez Fernando.Perez at colorado.edu
Fri Feb 11 10:03:27 CST 2005


John Hunter wrote:
>>>>>>"Fernando" == Fernando Perez <Fernando.Perez at colorado.edu> writes:

>     Fernando> I am really quite hesitant to make %edit more
>     Fernando> complicated than it already is, given that Alex's
>     Fernando> 3-liner (or a simple !emacs foo &) seems to do just
>     Fernando> fine.  The whole point of %edit is to link code editing
>     Fernando> tightly to ipython's input/eval loop, compensating for
>     Fernando> the lack of true multi-line editing in a reasonably
>     Fernando> convenient way.  But I'm afraid that messing with that
>     Fernando> function I'll just add in a subtle bug, for no real
>     Fernando> benefit.
> 
> 
> Yep, all I needed to do was add this to my ipythonrc
> 
> alias emacs emacsclient %s&

Great, I felt terrible for not honoring this request, and was actually mulling 
on how to best implement it.  But I guess this proves that allowing 
parametrized aliases was a good idea after all :)

Best,

f




More information about the IPython-user mailing list