<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
<div style="font-family: Tahoma; font-size: 10pt; ">Just to follow up on this issue:</div><div style="font-family: Tahoma; font-size: 10pt; ">It is not Aquamacs. It seems to be an incompatibility between python-mode >= 6.0 and the ipython.el available at:</div><div><font class="Apple-style-span" face="Tahoma" size="2">http://ipython.scipy.org/dist/ipython.el.</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="Apple-style-span" face="Tahoma" size="2">Trying the ipython.el available on the ipython git repository didn't help either.</font></div><div><font class="Apple-style-span" face="Tahoma" size="2">So my solution was to maintain Aquamacs 2.3 and revert to python-mode 5.2.0 which is the latest version I seem to be able to get to work with ipython.el.</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="Apple-style-span" face="Tahoma" size="2">Graham</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"><br></font></div><div style="font-family: Tahoma; font-size: 10pt; "><br>> Date: Tue, 9 Aug 2011 01:03:12 -0400<br>> From: Graham Taylor <essex_green@hotmail.com><br>> Subject: [OS X Emacs] Aquamacs 2.3 ignoring customized<br>>       py-python-command       through ipython<br>> To: <macosx-emacs@email.esm.psu.edu><br>> Message-ID: <COL105-W2D24008B3FE06F2605E2493200@phx.gbl><br>> Content-Type: text/plain; charset="iso-8859-1"<br>> <br>> <br>> Hello,In Aquamacs 2.1 I was able to customize my python shell in python-mode by setting the following in my Preferences.el:<br>> (setq ipython-command "ipython-2.7")(require 'ipython)(setq py-python-command-args '("-pylab" "-colors" "Linux"))<br>> Once upgrading to Aquamacs 2.3 (which also updates to python-mode 6.0) -without any changes to Preferences.el- invoking the shell gets me the standard python shell:<br>> Proc   Status     Buffer   Tty          Command----   ------      ------   ---          -------Python run *Python* /dev/ttys009 python -i -colors LightBG<br>> I can see that "python" rather than "ipython" is running (by viewing the process output above).Also I get an error where python cannot parse the "-colors" command-line option (whereas ipython could).<br>> Traceback (most recent call last):  File "<string>", line 1, in <module>NameError: name 'olors' is not defined>>> <br>> So it appears that the new Aquamacs is simply ignoring py-python-command.If I M-x describe-variable on py-python-command, I see that it's set:<br>> py-python-command is a variable defined in `python-mode.el'.Its value is "ipython-2.7"<br>>   This variable is potentially risky when used as a file local variable.<br>> Documentation:*Shell command used to start Python interpreter.<br>> But it's just getting ignored (i.e. python, rather than ipython, is the shell). Anyone have any clue what's going on? I've tried a minimal Preferences.el but I get the same behaviour. Reverting back to Aquamacs 2.1 gives me the desired behaviour (i.e. ipython is the shell).<br>> Graham<br><br></div>                                         </div></body>
</html>