GNU bug report logs -
#24322
25.1.50; Python completion should not strip trailing space
Previous Next
Full log
View this message in rfc822 format
tags 24322 + confirmed
severity 24322 minor
quit
Sorry it took so long for someone to reach this report.
Dan Davison <dandavison7 <at> gmail.com> writes:
>>>> From emacs -Q:
>>>>
>>>> (setq python-shell-interpreter "ipython"
>>>> python-shell-interpreter-args "-i")
Using plain "python" shows the behaviour you describe. I can't really
get ipython working properly unless I add --simple-prompt to
python-shell-interpreter-args, and then it seems that ipython itself
prints the completions without a space.
I'm using ipython 5.1.0, I think I've read in some other bug that the
--simple-prompt started being necessary from version 5.x.
> The patch currently only fixes "native" (readline-based) completion. If it
> is agreed that this is the correct direction I can prepare a similar patch
> for the non-native / legacy completion function
> `python-shell-completion-get-completions', which shows the same behavior.
Yes please!
This bug report was last modified 7 years and 348 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.