From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?YWFkaXR5YSBzb29kIHwg4KSG4KS/4KSm4KSk4KSvIOCkuOClguCkpg==?= Newsgroups: gmane.emacs.devel Subject: Problem in python inferior mode in unicode-2 branch Date: Fri, 20 Oct 2006 23:12:17 +0530 Message-ID: <45390A79.8010502@sood.net.in> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1161378925 32351 80.91.229.2 (20 Oct 2006 21:15:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Oct 2006 21:15:25 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 20 23:15:22 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 1Gb1hv-0000b1-H4 for ged-emacs-devel@m.gmane.org; Fri, 20 Oct 2006 23:15:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gb1hv-000240-8N for ged-emacs-devel@m.gmane.org; Fri, 20 Oct 2006 17:15:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GayOW-0003XF-Sk for emacs-devel@gnu.org; Fri, 20 Oct 2006 13:42:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GayOU-0003W9-S1 for emacs-devel@gnu.org; Fri, 20 Oct 2006 13:42:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GayOU-0003W4-L6 for emacs-devel@gnu.org; Fri, 20 Oct 2006 13:42:54 -0400 Original-Received: from [64.20.38.170] (helo=fyodor.hcoop.net) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GayOU-0000yS-PW for emacs-devel@gnu.org; Fri, 20 Oct 2006 13:42:54 -0400 Original-Received: from [59.144.39.71] (helo=[192.168.2.124]) by fyodor.hcoop.net with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1GayOS-00036c-Ro for emacs-devel@gnu.org; Fri, 20 Oct 2006 13:42:53 -0400 User-Agent: Thunderbird 1.5.0.7 (X11/20060918) Original-To: emacs-devel@gnu.org X-Mailman-Approved-At: Fri, 20 Oct 2006 16:22:40 -0400 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:60962 Archived-At: 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