[IPython-user] Xemacs-mode: newbie help

Alexander Schmolck a.schmolck at gmx.net
Wed Sep 8 18:12:44 CDT 2004


Fernando Perez <Fernando.Perez at colorado.edu> writes:

try putting:

(setq py-python-command-args '("-p" "numeric"))

into ~/.emacs

'as

> Quoting Angelo Secchi <secchi at sssup.it>:
>
>  >
>  > Hi,
>  > I've just started to use ipython and I was wondering I can I start a
>  > xemacs ipython session with the numeric profile in order to have
>  > available the gnuplot gpc command.
>
> I think you'll need to modify in ipython.el somewhere to add the '-p numeric'
> option.  Unfortunately, I don't really know if the right approach is to modify
> the executable string to read directly 'ipython -p numeric', or if one must
> define an argv list of arguments as ['p','numeric'], but with proper Lisp
> syntax.  Since I know zilch about Lisp, I'm afraid I can't quite provide you
> with the proper answer.
>
> But if you're OK with a quick hack, a simple grep -n finds in ipython.el:
>
>   109:  (setq py-python-command "ipython"))
>
> Perhaps you can try modifying this.
>
> Best,
>
> f
>
>
> _______________________________________________
> IPython-user mailing list
> IPython-user at scipy.net
> http://scipy.net/mailman/listinfo/ipython-user
>
>

-- 
Alexander Schmolck     Postgraduate Research Student
                       Department of Computer Science
                       University of Exeter
                       Harrison Building, North Park Rd, EX4 4QF         
A.Schmolck at gmx.net     http://www.dcs.ex.ac.uk/people/aschmolc/




More information about the IPython-user mailing list