From: <adam@hupp.org>
To: bug-gnu-emacs@gnu.org
Subject: run-python hangs for some versions
Date: Sun, 17 Jun 2007 11:15:11 +0100 (BST) [thread overview]
Message-ID: <20070617101511.BF7FD84FD@mail.hupp.org> (raw)
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
next reply other threads:[~2007-06-17 10:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-17 10:15 adam [this message]
2007-06-18 7:25 ` run-python hangs for some versions Richard Stallman
2007-06-18 10:46 ` Adam Hupp
2007-06-19 10:40 ` Richard Stallman
2007-06-21 5:29 ` Adam Hupp
[not found] <mailman.2279.1182076226.32220.bug-gnu-emacs@gnu.org>
2007-06-19 5:52 ` Stefan Monnier
2007-06-19 7:51 ` Adam Hupp
2007-06-19 14:06 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070617101511.BF7FD84FD@mail.hupp.org \
--to=adam@hupp.org \
--cc=bug-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).