[IPython-user] ipython, emacs and TAB completion (text mode)

Fernando Perez fperez.net@gmail....
Tue Apr 10 23:26:28 CDT 2007


On 4/10/07, Emanuele Olivetti <emanuele@relativita.com> wrote:
> Hi,
> after struggling a bit with with ipython and emacs in text mode ('emacs
> -nw')
> because TAB completion doesn't work (it just add spaces...), I've found on
> ipython ML archives that changing:
>
> (define-key py-shell-map [tab] 'ipython-complete)
>
> to
>
> (define-key py-shell-map "\t" 'ipython-complete)
>
> in ipython.el solves it. But it opens up a similar issue when using emacs in
> graphical mode (= no completion). !?!
>
> Instead just 'adding' the second line to ipython.el (the "\t| one), so
> having
> both there, solves the issue completely in both situation (text mode and
> graphical mode).
>
> What about patching ipython.el in SVN to have both lines?

Thanks.  I added the fix both to trunk and to the 0.8.0 tag.

I'm relasing 0.8.0 in a moment, so this is the last change to go in.

Cheers,

f


More information about the IPython-user mailing list