unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* run-python hangs for some versions
@ 2007-06-17 10:15 adam
  2007-06-18  7:25 ` Richard Stallman
  0 siblings, 1 reply; 8+ messages in thread
From: adam @ 2007-06-17 10:15 UTC (permalink / raw)
  To: bug-gnu-emacs

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-06-21  5:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.2279.1182076226.32220.bug-gnu-emacs@gnu.org>
2007-06-19  5:52 ` run-python hangs for some versions Stefan Monnier
2007-06-19  7:51   ` Adam Hupp
2007-06-19 14:06     ` Stefan Monnier
2007-06-17 10:15 adam
2007-06-18  7:25 ` Richard Stallman
2007-06-18 10:46   ` Adam Hupp
2007-06-19 10:40     ` Richard Stallman
2007-06-21  5:29       ` Adam Hupp

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).