From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Michael Droettboom" Newsgroups: gmane.emacs.bugs Subject: Re: python-complete-symbol hangs Date: Sat, 8 Sep 2007 06:05:17 -0400 Message-ID: <7b2578730709080305j74a12731hccf896c55d7812cb@mail.gmail.com> References: <7b2578730709071055s6a9a13a0y956c40de548e0dc8@mail.gmail.com> <7b2578730709071101u6e114085gd9daec9bd64b5670@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1189246293 25688 80.91.229.12 (8 Sep 2007 10:11:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 8 Sep 2007 10:11:33 +0000 (UTC) Cc: fx@gnu.org To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 08 12:11:32 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 1ITxHo-0002Mi-8C for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Sep 2007 12:11:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITxHl-0000Kx-6C for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Sep 2007 06:11:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ITxBr-0006h7-GW for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2007 06:05:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ITxBo-0006fs-3v for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2007 06:05:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITxBn-0006fe-Nb for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2007 06:05:20 -0400 Original-Received: from rv-out-0910.google.com ([209.85.198.189]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ITxBm-0002hz-W0 for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2007 06:05:19 -0400 Original-Received: by rv-out-0910.google.com with SMTP id c27so577784rvf for ; Sat, 08 Sep 2007 03:05:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=56kclSHKPn3WYvlFJMLnh5p5Rz4GtSERvV4ebZm6XTA=; b=ml2eOWVXQa2I5pgGjmg/mnt4DpNtaSzK3Fm79dqZco25JuypFjIgK1vdDNbE+PMfdDE1VtxArFK5Qc1ZbMDrER7oYifyGMPXtFz6tfN3G5ohbaXhxfvWL2BYH6YOwqQf5m/sgbSokCbewZnuFvinIiFT9RsOG11JN6ZJuZewQfA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=gbA4bIXjoqorMOjWJAVylmw6ilBdT4fVyO4rVZccHYzTfhG7i7ByE6MFjHTD0J/CLBQFR1Q7oyWMkDiBwA+eIaChM17QAYB82tKtxIGDLlFALFPByTEVoC/j7SwQsH+lnSvocMrY33dQLlK3T9rLjJoDgS6Qcpu8QKctBFJboUc= Original-Received: by 10.141.28.12 with SMTP id f12mr1080458rvj.1189245917555; Sat, 08 Sep 2007 03:05:17 -0700 (PDT) Original-Received: by 10.141.84.18 with HTTP; Sat, 8 Sep 2007 03:05:17 -0700 (PDT) In-Reply-To: <7b2578730709071101u6e114085gd9daec9bd64b5670@mail.gmail.com> Content-Disposition: inline X-Google-Sender-Auth: 24f13f00544f7145 X-Detected-Kernel: Linux 2.6 (newer, 2) 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:16505 Archived-At: The emacs version is 22.5.1 On 9/7/07, Michael Droettboom wrote: > I'm sorry. The patch in the last e-mail was backwards. > > On 9/7/07, Michael Droettboom wrote: > > 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. > > > > The attached patch fixes this by always outputting a response. > > > > -- > > Michael Droettboom > > http://www.droettboom.com/ > > > > > > > -- > Michael Droettboom > http://www.droettboom.com/ > > -- Michael Droettboom http://www.droettboom.com/