unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: npostavs@users.sourceforge.net
To: jay malby <qwe12345678910@gmail.com>
Cc: 23678@debbugs.gnu.org
Subject: bug#23678: 24.5; Python auto-completion breaks inferior-python mode
Date: Sun, 16 Jul 2017 21:15:16 -0400	[thread overview]
Message-ID: <87poczc197.fsf@users.sourceforge.net> (raw)
In-Reply-To: <CAFa7G-H-YMwxJHjHntOQQ9EBWXXgDXiCyiwkTQS+qTCz8yUMSw@mail.gmail.com> (jay malby's message of "Wed, 1 Jun 2016 18:31:55 -0400")

tags 23678 fixed
close 23678 25.2
quit

jay malby <qwe12345678910@gmail.com> writes:

> When running a python interpreter in inferior-python mode,
> sometimes calling auto-completion with C-M-i on an indented
> line causes the underlying python interpreter to get confused,
> leading it to produce an unexpected indent error.
>
> Steps to reproduce:
> 1. Start emacs with a blank config
> 2. run-python
> 3. run this code, performing auto-completion (C-M-i) between the "5"
> and ":" on line 2:
> for i in range(10):
>   if  i < 5:
>     print(i)
>
> Python will break after hitting enter on the second line, reporting an
> unexpected indent. The same code without the C-M-i will run fine,
> printing the integers between 0 and 4 (inclusive).

Seems to be fixed with the "native" completion in 25.2.





      reply	other threads:[~2017-07-17  1:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-01 22:31 bug#23678: 24.5; Python auto-completion breaks inferior-python mode jay malby
2017-07-17  1:15 ` 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=87poczc197.fsf@users.sourceforge.net \
    --to=npostavs@users.sourceforge.net \
    --cc=23678@debbugs.gnu.org \
    --cc=qwe12345678910@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).