Windows, r1219: Completion in script buffer doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
Medium
|
Unassigned |
Bug Description
System: OS X 10.8.3, Emacs 24.3.1, python-mode 1219, running the Anaconda python distribution (though I used to use EPD, and had very similar results) and using ipython as my default python shell.
The problem: Completion hasn't worked for ages with python-mode. Here's an example Python script file, say complete.py:
a = [1,2,3]
If I press C-c C-c, an Ipython buffer opens quite normally. Now suppose I go back to the script buffer and type (in the next line)
a.
and then, with the cursor right after the dot, go to the menu and select "PyTools" -> "Completion" -> "Complete symbol". No completion buffer pops up. Instead
1) In the script buffer, the cursor moves forward 6 spaces, leaving 6 new blank spaces after the dot.
2) In the Ipython buffer, I see a new input line that looks like this:
In [7]: a.append;
3) In the minibuffer, I see the message "Completion function py-shell-complete uses a deprecated calling convention"
Am I missing something? I've been unable to get completion to work for months now, which is quite a significant problem.
Let me know if I can do anything to help track this down.
Best,
Richard Stanton
Changed in python-mode: | |
milestone: | none → 6.1.2 |
assignee: | nobody → Andreas Roehler (a-roehler) |
importance: | Undecided → Medium |
Changed in python-mode: | |
milestone: | 6.1.2 → 6.2 |
summary: |
- r1219, windows: Completion in script buffer doesn't work + Windows, r1219: Completion in script buffer doesn't work |
Changed in python-mode: | |
status: | Fix Committed → Fix Released |
Followup:
I just tried the same experiment using EPD instead of Anaconda on the same machine. It fails as well, but in a different way. On selecting "Complete Symbol" as above,
1) There's a *long* wait (about 10-15 seconds, on a fast machine with lots of RAM) with Emacs unresponsive to key presses during this period.
2) An *IPython Completions* buffer does eventually pop up, but tells me "There are no possible completions of what you have typed."