From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steven Huwig Newsgroups: gmane.emacs.devel Subject: Re: [aaditya@sood.net.in: Problem in python inferior mode in unicode-2 branch] Date: Sun, 22 Oct 2006 00:11:52 -0400 Message-ID: <5AC7A3BE-E211-4941-8410-E21A47D880E7@acm.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1161490373 26165 80.91.229.2 (22 Oct 2006 04:12:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 22 Oct 2006 04:12:53 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 22 06:12:50 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GbUhc-0006y7-8B for ged-emacs-devel@m.gmane.org; Sun, 22 Oct 2006 06:12:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GbUhb-0004A9-L3 for ged-emacs-devel@m.gmane.org; Sun, 22 Oct 2006 00:12:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GbUhO-000490-AE for emacs-devel@gnu.org; Sun, 22 Oct 2006 00:12:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GbUhM-00044l-Jc for emacs-devel@gnu.org; Sun, 22 Oct 2006 00:12:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GbUhM-00044h-HG for emacs-devel@gnu.org; Sun, 22 Oct 2006 00:12:32 -0400 Original-Received: from [64.233.166.179] (helo=py-out-1112.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GbUhM-0003Ga-88 for emacs-devel@gnu.org; Sun, 22 Oct 2006 00:12:32 -0400 Original-Received: by py-out-1112.google.com with SMTP id b29so14963pya for ; Sat, 21 Oct 2006 21:11:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:subject:date:to:x-mailer:from; b=MwTbe/gbmL59/NB3+zQVHfW13hAdtH0k6PbSLSSf/EqdSTdePIfprMkEGR6qjtkQ2vE9Osj6+4iVJUZm4ABCxchi//s13WngEoX2h+7Z7Polw2Rp+y9/k0Rsyj90C/cUMxCZfWSa3aSHS5tEigSS0Uq7mlcXNOeecySuMmEIylc= Original-Received: by 10.35.21.9 with SMTP id y9mr3943522pyi; Sat, 21 Oct 2006 21:11:56 -0700 (PDT) Original-Received: from ?10.0.1.2? ( [24.95.36.8]) by mx.google.com with ESMTP id 23sm965967nzn.2006.10.21.21.11.55; Sat, 21 Oct 2006 21:11:56 -0700 (PDT) In-Reply-To: Original-To: rms@gnu.org X-Mailer: Apple Mail (2.752.2) 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:60996 Archived-At: On Oct 21, 2006, at 8:04 AM, Richard Stallman wrote: > Can someone please report whether this fails with the trunk? > Assuming I understood what Aaditya Sood reported, this works for me. I created a new buffer using python-mode, called run-python, and python-complete-symbol (bound to M- for me) worked for the code in the example. I remember running into and helping to fix a similar difficulty over a year ago -- how often are the modes merged into the Unicode branch? -- Steve > ------- Start of forwarded message ------- > Date: Fri, 20 Oct 2006 23:12:17 +0530 > From: =?UTF-8?B?YWFkaXR5YSBzb29kIHwg4KSG4KS/ > 4KSm4KSk4KSvIOCkuOClguCkpg==?= > > MIME-Version: 1.0 > To: emacs-devel@gnu.org > Content-Type: text/plain; charset=UTF-8; format=flowed > Subject: Problem in python inferior mode in unicode-2 branch > X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed > version=3.0.4 > > Hi, > > [If this is not the right place to report bugs in cvs versions, I > apologize] > > I'm running the emacs-unicode-2 branch. When I use run-python the tab > completion is broken. > > Example: > > import os > os. > > it just hangs and pressing C-g throws an error: > NameError: 'name nil' is not defined > > After digging around for a while, it seems the problem is in > python-symbol-completions which calls python-send-receive like: > > (python-send-receive > (format "emacs.complete(%S,%s)" symbol python-imports)) > > python-imports is 'nil': > (defvar python-imports nil > > which is supposed to be set by python-find-imports, but which never > seems to run. > > Just doing a (defvar python-imports "None" > > works for me. Don't know if this is the proper way to fix it. > > regards > - -- > /A > > > _______________________________________________ > Emacs-devel mailing list > Emacs-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-devel > ------- End of forwarded message ------- > > > _______________________________________________ > Emacs-devel mailing list > Emacs-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-devel