ipython completion

Asked by Tom Bowles

I'm using python-mode 6.0.12 with ipython. When I tab complete in the ipython buffer it destroys my buffer layout by overlaying the completion buffer. I'm quite happy with the way ipython natively does tab-completion in the terminal so can I set a flag to bypass the python-mode completion and just use the native ipython completion as it would be in a standard terminal?

Thanks very much,

Tom

Question information

Language:
English Edit question
Status:
Solved
For:
python-mode.el Edit question
Assignee:
No assignee Edit question
Solved by:
Andreas Roehler
Solved:
Last query:
Last reply:
Revision history for this message
Best Andreas Roehler (a-roehler) said :
#1

Am 30.01.2013 14:51, schrieb Tom Bowles:
> New question #220553 on python-mode.el:
> https://answers.launchpad.net/python-mode/+question/220553
>
> I'm using python-mode 6.0.12 with ipython. When I tab complete in the ipython buffer it destroys my buffer layout by overlaying the completion buffer. I'm quite happy with the way ipython natively does tab-completion in the terminal so can I set a flag to bypass the python-mode completion and just use the native ipython completion as it would be in a standard terminal?
>
> Thanks very much,
>
> Tom
>

Please check out current trunk with bazaar

bzr branch lp:python-mode

and file a bug-report at

https://bugs.launchpad.net/python-mode

should is persist.

As for the flag-question: Emacs and Python are completely different processes resp. environments.
Emacs uses a kind of shuttle to send end receive data from processes, Python or other.
Basically we should be able to ensure that in the right way.

Cheers,

Andreas

Revision history for this message
Tom Bowles (tombowles) said :
#2

Ah, sorry. I hadn't realise 6.0.12 was out of date. In fact, I updated to 6.1.0 and this seemed to solve the issue. Here when I tab complete in ipython it uses a separate persistent window which I can keep to one side. The only slight strangeness is that when I click on a completion option in the completion window, the window disappears and then reappears in a different place on the next completion.

It would be good if the completion window remembered where you wanted it.

Revision history for this message
Tom Bowles (tombowles) said :
#3

Thanks Andreas Roehler, that solved my question.

Revision history for this message
Andreas Roehler (a-roehler) said :
#4

Am 31.01.2013 09:41, schrieb Tom Bowles:
> Question #220553 on python-mode.el changed:
> https://answers.launchpad.net/python-mode/+question/220553
>
> Status: Answered => Solved
>
> Tom Bowles confirmed that the question is solved:
> Ah, sorry. I hadn't realise 6.0.12 was out of date. In fact, I updated
> to 6.1.0 and this seemed to solve the issue. Here when I tab complete
> in ipython it uses a separate persistent window which I can keep to one
> side. The only slight strangeness is that when I click on a completion
> option in the completion window, the window disappears and then
> reappears in a different place on the next completion.
>
> It would be good if the completion window remembered where you wanted
> it.
>

When editing these question you should see below a button "(+) Create bug report".
IMHO it's worth to push it and preserving that feature request.