[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: python-complete-symbol hangs

From: Dave Love
Subject: Re: python-complete-symbol hangs
Date: Sat, 08 Sep 2007 12:52:38 +0100
User-agent: Gnus/5.1008 (Gnus v5.10.8)

"Michael Droettboom" <address@hidden> writes:

> python-complete-symbol works by calling "complete()" in etc/emacs.py.
> If that Python function fails (i.e. raises an exception), emacs will
> hang waiting for a response, with no recourse but to kill the emacs
> process.

Can you supply a test case?  First of all, how does it raise an

If you have to kill it like that, it's surely a basic Emacs bug,
regardless of any python.el bugs.

> The attached patch fixes this by always outputting a response.

That shouldn't be necessary.  I think there were several things broken
or not fixed in the one shipped with Emacs 22, and that one sounds
familiar.  Sorry I don't have a working version since I didn't keep up
with the incompatibilities introduced by Emacs 22.

http://www.loveshack.ukfsn.org/emacs/python-21.el behaves as I expect
-- providing a null completion list -- if emacs.complete raises an

reply via email to

[Prev in Thread] Current Thread [Next in Thread]