emacs-devel
[Top][All Lists]
Advanced

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

address@hidden: Problem in python inferior mode in unicode-2 branch]


From: Richard Stallman
Subject: address@hidden: Problem in python inferior mode in unicode-2 branch]
Date: Sat, 21 Oct 2006 08:04:54 -0400

Can someone please report whether this fails with the trunk?

------- Start of forwarded message -------
Date: Fri, 20 Oct 2006 23:12:17 +0530
From: =?UTF-8?B?YWFkaXR5YSBzb29kIHwg4KSG4KS/4KSm4KSk4KSvIOCkuOClguCkpg==?=
        <address@hidden>
MIME-Version: 1.0
To: address@hidden
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.<Tab>

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
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-devel
------- End of forwarded message -------




reply via email to

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