From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [phromo@gmail.com: Re: bugfix: python.el: completion in inferior python] Date: Fri, 18 Jan 2008 13:19:40 -0500 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1200680469 20621 80.91.229.12 (18 Jan 2008 18:21:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Jan 2008 18:21:09 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 18 19:21:28 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JFvpl-0008UN-Bn for ged-emacs-devel@m.gmane.org; Fri, 18 Jan 2008 19:20:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JFvpM-0007Ze-6n for ged-emacs-devel@m.gmane.org; Fri, 18 Jan 2008 13:20:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JFvod-0006ev-KC for emacs-devel@gnu.org; Fri, 18 Jan 2008 13:19:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JFvob-0006by-P2 for emacs-devel@gnu.org; Fri, 18 Jan 2008 13:19:43 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JFvob-0006bZ-GV for emacs-devel@gnu.org; Fri, 18 Jan 2008 13:19:41 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JFvob-000778-Db for emacs-devel@gnu.org; Fri, 18 Jan 2008 13:19:41 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JFvoa-0000GI-Vm; Fri, 18 Jan 2008 13:19:41 -0500 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:87058 Archived-At: ------- Start of forwarded message ------- Message-ID: <479064A1.3030809@gmail.com> Date: Fri, 18 Jan 2008 09:34:41 +0100 From: Martin Svenson MIME-Version: 1.0 To: rms@gnu.org Subject: Re: bugfix: python.el: completion in inferior python In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Hi, Thanks for replying! Sorry for not including that, my patch is derived from python.el in GNU Emacs 22.0.990.1, but I also verified that the python.el in http://savannah.gnu.org/cgi-bin/viewcvs/emacs/ had the same problem. It is due to python-imports being nil, making the pyfn emacs.complete(symbol,python-imports) cast an "1 arg sent, expecting 2" leading to infinite wait for _emacs_out. In python-find-imports(), it correctly returns 'None' as the nil-value if none are found. However, python-find-imports are only run for buffers in python-mode (which the interactive python is not). I guess this is more a feature than a bug, since python-complete-symbol is not bound to any key per default in the interactive-python mode. // Martin Richard Stallman skrev: > Thanks for sending a patch, but which Emacs version is your patch for? > > (We do not call Emacs an "open-source project"; see > http://www.gnu.org/philosophy/open-source-misses-the-point.html.) > ------- End of forwarded message -------