From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.bugs Subject: run-python hangs for some versions Date: Sun, 17 Jun 2007 11:15:11 +0100 (BST) Message-ID: <20070617101511.BF7FD84FD@mail.hupp.org> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1182076238 3666 80.91.229.12 (17 Jun 2007 10:30:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 17 Jun 2007 10:30:38 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 17 12:30:37 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hzs1k-0000Ve-OR for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Jun 2007 12:30:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hzs1k-0006xm-5E for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Jun 2007 06:30:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hzrmm-00074U-4N for bug-gnu-emacs@gnu.org; Sun, 17 Jun 2007 06:15:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hzrmj-00072l-SU for bug-gnu-emacs@gnu.org; Sun, 17 Jun 2007 06:15:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hzrmj-00072g-OY for bug-gnu-emacs@gnu.org; Sun, 17 Jun 2007 06:15:05 -0400 Original-Received: from [65.98.21.152] (helo=mail.hupp.org) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hzrmj-0008G3-E1 for bug-gnu-emacs@gnu.org; Sun, 17 Jun 2007 06:15:05 -0400 Original-Received: by mail.hupp.org (Postfix, from userid 1001) id BF7FD84FD; Sun, 17 Jun 2007 11:15:11 +0100 (BST) X-detected-kernel: Linux 2.4-2.6 X-Mailman-Approved-At: Sun, 17 Jun 2007 06:30:14 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15922 Archived-At: 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