[IPython-user] Emacs support: three problems
John J Lee
jjl at pobox.com
Mon Dec 13 13:08:01 CST 2004
On Mon, 13 Dec 2004, Justin Walker wrote:
> On Dec 13, 2004, at 9:33, John J Lee wrote:
>
> > On Mon, 13 Dec 2004, Alexander Schmolck wrote:
> [snip]
> > Anybody have a fairly minimal .emacs that has been verified to work?
>
> I don't know that this will help, but if my .emacs contains only
>
> (require 'ipython)
>
> I can open a .py file, and then get an ipython shell with 'c-c!'.
> Depending on what system you are using, you can verify that the
> appropriate ".el" files are being accessed during startup by looking at
> the "last access" date (e.g., "ls -lu" on a Unix system).
[...]
OK, good tip. I wiped all my site-lisp .elc files, made a .emacs that
contains just (require 'ipython), restarted emacs, and opened a Python
source file. It opened in fundamental mode, and the 'python-mode'
command wasn't loaded. ipython-complete and ipython-to-doctest were the
only completions I got when I typed M-x ipy <TAB>.
C:\Program Files\emacs-21.1\site-lisp>ls -lu
total 660
...
-rw-rw-rw- 1 user group 35848 Dec 12 19:40 doctest-mode.el
...
-rw-rw-rw- 1 user group 13329 Dec 13 18:59 ipython.el
...
-rw-rw-rw- 1 user group 1011 Dec 12 19:40 pycomplete.el
-rw-rw-rw- 1 user group 2824 Dec 12 19:40 pycomplete.py
-rw-rw-rw- 1 user group 153780 Dec 12 19:40 python-mode.el
...
As you can see, ipython.el was accessed, but that's all.
Do these clues enlighten anybody?
John
More information about the IPython-user
mailing list