[OS X Emacs] Aquamacs IPython shell TAB completion

Haitao Cai hcai at sas.upenn.edu
Tue Dec 8 20:23:34 EST 2015

Hi Win,

      Thank you for your reply! It is true that I am using both emacs and
aquamacs on my macbook.

      I cannot remember how I set up IPython, as it was many months ago.
But it is currently
at /Library/Frameworks/Python.framework/Versions/2.7/bin/ipython

      For Emacs, I copied and pasted IPython to /usr/bin/, and launch
IPython via C-c C-c after the following lines being added to .emacs:

(when (executable-find "ipython")
  (setq python-shell-interpreter "ipython"))

      Unluckily, TAB completion does not work for IPython shell in Emacs,

      As for Aquamacs, I launched IPython shell from the menu from Python
-- Interpreter -- Other.

      The version of Aquamacs is Aquamacs 3.2 GNU Emacs The
IPython is 2.1.0 with Python 2.7.8.

      The instructions in the Emacs Wiki seems to not work for my IPython...


On Tue, Dec 8, 2015 at 11:51 PM, Win Treese <treese at acm.org> wrote:

> > On Dec 8, 2015, at 2:14 AM, Haitao Cai <hcai at sas.upenn.edu> wrote:
> >       The TAB completion does not work for IPython shell. Actually, TAB
> cannot produce indent, either. I guess it is because TAB is not enabled in
> Aquamacs.
> Hello, Haitao. How are you setting up and running iPython with Emacs,
> and which version of Aquamacs and iPython are you using?
> That always seems to be complicated and changing over time.
> There are some hints about it on the Emacs Wiki at
> http://www.emacswiki.org/emacs/PythonProgrammingInEmacs
> especially the section "Various Python Interpreters” under “IPython”.
> Best,
> Win
> _____________________________________________________________
> MacOSX-Emacs mailing list
> MacOSX-Emacs at email.esm.psu.edu
> https://email.esm.psu.edu/mailman/listinfo/macosx-emacs
> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20151209/f7f550f9/attachment.html>

More information about the MacOSX-Emacs mailing list