[Python-modules-team] Bug#469932: Bug#469932: It dose not work..
Stephan Peijnik
debian at sp.or.at
Sun Jan 11 14:48:34 UTC 2009
# bts control
reopen 469932
block 469932 by 473232
found ipython/0.9.1-1
thanks
Unfortunately my testing clashed with a locally installed
python-mode.el.
In short this means that I was wrong and am sorry I closed the bug
report early. This problem won't be fixed until python-mode works for
emacs 22 again...
Doing a quick check on a slightly modified python-mode (ie. making it
not depend on emacs21 but rather on emacsen as suggested at [0]) gave me
the result that everything seems to be working fine.
I have reopened this bug and marked it as blocked by [0]. I will try
getting into touch with the maintainer of python-mode to have this
problem finally resolved.
-- Stephan
[0] http://bugs.debian.org/473232
On Sun, 2009-01-11 at 21:48 +0800, luckyrand wrote:
> I'm sorry to say that it seems do not work for me.
> I installed
> aptitude -t experimental ipython
> and add
> (require 'ipython)
> to .emacs file. Then, emacs complained that:
> File error: Cannot open load file, python-mode
> However, the package python-mode is not installed.
>
> I find these code in the file /usr/share/emacs/site-lisp/ipython.el:
>
> (if (not (executable-find ipython-command))
> (message (format "Can't find executable %s - ipython.el *NOT*
> activated!!!"
> ipython-command))
> ;; XXX load python-mode, so that we can screw around with its
> variables
> ;; this has the disadvantage that python-mode is loaded even if no
> ;; python-file is ever edited etc. but it means that `py-shell'
> works
> ;; without loading a python-file first. Obviously screwing around
> with
> ;; python-mode's variables like this is a mess, but well.
> (require 'python-mode)
> ;; turn on ansi colors for ipython and activate completion
> (defun ipython-shell-hook ()
>
> =====Some info=====
>
> emacs:
> GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
> of 2008-11-10 on raven, modified by Debian
>
> package info:
> emacs Version: 22.2+2-5
> ipython Version: 0.9.1-1
> python Version: 2.5.2-3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20090111/8788a72a/attachment.pgp
More information about the Python-modules-team
mailing list