<div dir="ltr">Hi Win,<div><br></div><div>      Thank you for your reply! It is true that I am using both emacs and aquamacs on my macbook.</div><div><br></div><div>      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</div><div><br></div><div>      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:</div><div><br></div><div><div>(when (executable-find "ipython")</div><div>  (setq python-shell-interpreter "ipython"))</div></div><div><br></div><div>      Unluckily, TAB completion does not work for IPython shell in Emacs, either.</div><div><br></div><div>      As for Aquamacs, I launched IPython shell from the menu from Python -- Interpreter -- Other.</div><div><br></div><div>      The version of Aquamacs is Aquamacs 3.2 GNU Emacs 24.4.51.2. The IPython is 2.1.0 with Python 2.7.8.</div><div><br></div><div>      The instructions in the Emacs Wiki seems to not work for my IPython...</div><div><br></div><div>Best,</div><div>Haitao</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 8, 2015 at 11:51 PM, Win Treese <span dir="ltr"><<a href="mailto:treese@acm.org" target="_blank">treese@acm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> On Dec 8, 2015, at 2:14 AM, Haitao Cai <<a href="mailto:hcai@sas.upenn.edu">hcai@sas.upenn.edu</a>> wrote:<br>
>       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.<br>
<br>
</span>Hello, Haitao. How are you setting up and running iPython with Emacs,<br>
and which version of Aquamacs and iPython are you using?<br>
That always seems to be complicated and changing over time.<br>
<br>
There are some hints about it on the Emacs Wiki at<br>
<a href="http://www.emacswiki.org/emacs/PythonProgrammingInEmacs" rel="noreferrer" target="_blank">http://www.emacswiki.org/emacs/PythonProgrammingInEmacs</a><br>
especially the section "Various Python Interpreters” under “IPython”.<br>
<br>
Best,<br>
Win<br>
<br>
<br>
<br>
<br>
_____________________________________________________________<br>
MacOSX-Emacs mailing list<br>
<a href="mailto:MacOSX-Emacs@email.esm.psu.edu">MacOSX-Emacs@email.esm.psu.edu</a><br>
<a href="https://email.esm.psu.edu/mailman/listinfo/macosx-emacs" rel="noreferrer" target="_blank">https://email.esm.psu.edu/mailman/listinfo/macosx-emacs</a><br>
List Archives: <a href="http://dir.gmane.org/gmane.emacs.macintosh.osx" rel="noreferrer" target="_blank">http://dir.gmane.org/gmane.emacs.macintosh.osx</a><br>
</blockquote></div><br></div>