all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Problem in python inferior mode in unicode-2 branch
@ 2006-10-20 17:42 aaditya sood | आिदतय सूद
  0 siblings, 0 replies; only message in thread
From: aaditya sood | आिदतय सूद @ 2006-10-20 17:42 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-10-20 17:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-20 17:42 Problem in python inferior mode in unicode-2 branch aaditya sood | आिदतय सूद

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.