Re: [Python-mode] py-python-command default

2011-09-28 Thread Georg Brandl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 28.09.2011 18:04, schrieb Barry Warsaw: > On Sep 28, 2011, at 01:15 PM, David Miller wrote: > >>> Yes, please. :) ipython is a separate program that doesn't come with >>> stock Python. >>> >> How about conditionally setting it - this is essential

Re: [Python-mode] py-python-command default

2011-09-28 Thread Jeff Bauer
On Wed, Sep 28, 2011 at 12:04:15PM -0400, Barry Warsaw wrote: > On Sep 28, 2011, at 01:15 PM, David Miller wrote: > > >> Yes, please. :) ipython is a separate program that doesn't come with stock > >> Python. > >> > >How about conditionally setting it - this is essentially what Django does > >with

Re: [Python-mode] py-python-command default

2011-09-28 Thread Barry Warsaw
On Sep 28, 2011, at 01:15 PM, David Miller wrote: >> Yes, please. :) ipython is a separate program that doesn't come with stock >> Python. >> >How about conditionally setting it - this is essentially what Django does >with it's shell > >(defcustom py-python-command (if (executable-find "ipython")

Re: [Python-mode] py-python-command default

2011-09-28 Thread Andreas Röhler
Am 28.09.2011 14:15, schrieb David Miller: Yes, please. :) ipython is a separate program that doesn't come with stock Python. How about conditionally setting it - this is essentially what Django does with it's shell (defcustom py-python-command (if (executable-find "ipython") "ipython" "pyth

Re: [Python-mode] py-python-command default

2011-09-28 Thread David Miller
> > Yes, please. :) ipython is a separate program that doesn't come with stock > Python. > How about conditionally setting it - this is essentially what Django does with it's shell (defcustom py-python-command (if (executable-find "ipython") "ipython" "python") >py-execute-region-python3 > >py-e

Re: [Python-mode] py-python-command default

2011-09-28 Thread Barry Warsaw
On Sep 28, 2011, at 12:26 PM, Andreas Röhler wrote: >FYI: when patch by Thomas --thanks again BTW-- was merged, >py-python-command default changed > >164 > >(defcustom py-python-command "python" > >164 >(defcustom py-python-command "ipython" > > >Please tell if you want back the default "python".

[Python-mode] py-python-command default

2011-09-28 Thread Andreas Röhler
Hi Barry, hi all, FYI: when patch by Thomas --thanks again BTW-- was merged, py-python-command default changed 164 (defcustom py-python-command "python" 164 (defcustom py-python-command "ipython" Please tell if you want back the default "python". BTW consider to deliver a couple of commands