From: npostavs@users.sourceforge.net
To: Dan Davison <dandavison7@gmail.com>
Cc: 24322@debbugs.gnu.org
Subject: bug#24322: [PATCH] Re: 25.1.50; Python completion should not strip trailing space
Date: Mon, 03 Jul 2017 18:02:13 -0400 [thread overview]
Message-ID: <87lgo5i3h6.fsf@users.sourceforge.net> (raw)
In-Reply-To: <CA+QSd74+khgOV+s5FWp5tQzR8WFnF9YAm6LWjVhh5W5Y6uZ6mw@mail.gmail.com> (Dan Davison's message of "Sat, 27 Aug 2016 22:58:25 +0000")
tags 24322 + confirmed
severity 24322 minor
quit
Sorry it took so long for someone to reach this report.
Dan Davison <dandavison7@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!
prev parent reply other threads:[~2017-07-03 22:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-27 21:10 bug#24322: 25.1.50; Python completion should not strip trailing space Dan Davison
2016-08-27 21:21 ` bug#24322: [PATCH] " Dan Davison
2016-08-27 21:47 ` Dan Davison
2016-08-27 22:58 ` Dan Davison
2017-07-03 22:02 ` npostavs [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lgo5i3h6.fsf@users.sourceforge.net \
--to=npostavs@users.sourceforge.net \
--cc=24322@debbugs.gnu.org \
--cc=dandavison7@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).