[IPython-user] Anyone using ipython.el?
Sat Sep 13 09:00:02 CDT 2008
I use ipython under emacs daily.
My versions are:
python-mode.el: (defconst py-version "$Revision: 4.75 $"
"`python-mode' version number.")
ipython.el: (defconst ipython-version "$Revision: 2927 $"
"VC version number.")
This is the ipython.el at http://ipython.scipy.org/dist/ipython.el
I've been using ipython 0.8.4 and python 2.5.1, but I've just tried
ipython-0.9.rc1 which seems to work without any difficulties.
This is with GNU Emacs 18.104.22.168 (i386-apple-darwin9.4.0, Carbon
Version 1.6.0) of 2008-07-17, but I've used it on other Emacs (but not
XEmacs) versions (including one of the 23 snapshots) under Linux
without any changes.
The relevant bits of my emacs startup are from Alex Schmolck who wrote
(define-key comint-mode-map [(meta p)]
(define-key comint-mode-map [(meta n)]
(define-key comint-mode-map [(control meta n)]
(define-key comint-mode-map [(control meta p)]
(setq comint-completion-autolist t ;list possibilities on partial
comint-completion-recexact nil ;use shortest compl. if
;characters cannot be added
;; how many history items are stored in comint-buffers (e.g. py-
;; use the HISTSIZE environment variable that shells use (if
;; (default is 32)
comint-input-ring-size (string-to-number (or (getenv
(add-to-list 'interpreter-mode-alist '("python" . python-mode))
(setq py-python-command-args '("-pylab" "-colors" "LightBG"))
On 12 Sep 2008, at 15:24, Rohan Nicholls wrote:
> Thanks for this.
> I have looked into python-mode but it seems to require pymacs which
> seems a rather heavy dependency, and not one I am sure I want to
> embrace, especially as a quick glance at aptitude shows that the last
> python in the packaged version it supports is python2.3. How did you
> get it working? Install pymacs yourself?
pymacs isn't needed for python-mode so far as I can tell. They're
distributed together, but that's all.
Hope this is useful.
More information about the IPython-user