[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
run-python hangs for some versions
From: |
adam |
Subject: |
run-python hangs for some versions |
Date: |
Sun, 17 Jun 2007 11:15:11 +0100 (BST) |
For some versions of python the run-python (provided by python.el)
command will completely hang emacs. There is no option but to kill
the process. I'm changing the python version this way:
(custom-set-variables
'(python-python-command "/home/adam/python3/bin/python")
)
This works correctly with python 2.4 and 2.5, but hangs with 2.2 and
3.0 (from svn). strace reports that emacs is running the following
syscall over and over again:
select(5, [3 4], NULL, NULL, {4, 999110}) = 0 (Timeout)
This does not happen with the old python-mode in emacs 21.
In GNU Emacs 22.1.1 (i686-pc-linux-gnu)
of 2007-06-17 on hupp
configured using `configure '--prefix=/home/adam/opt/emacs22''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
locale-coding-system: nil
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
global-pair-mode: t
show-paren-mode: t
icomplete-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
ESC x r e p o TAB TAB r t - e m TAB RET
Recent messages:
Loading paren...done
Loading easy-mmode...done
Loading regexp-opt...done
Loading edmacro...done
Loading cl-macs...done
Loading /home/adam/dotfiles/elisp/themes/color-theme-library.el (source)...done
For information about the GNU Project and its goals, type C-h C-p.
Making completion list...
Loading help-mode...done
Loading emacsbug...done
- run-python hangs for some versions,
adam <=