all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Evgeniy Sharapov <evgeniy.sharapov@gmail.com>
To: 28051@debbugs.gnu.org
Subject: bug#28051: Multiline Statement Indentation Error in Inferior Python Mode
Date: Fri, 11 Aug 2017 14:19:18 -0400	[thread overview]
Message-ID: <CA+MgHoHa1tZnHRSYwsPuv4G4gahmFdT2Q6u06pMCis-Fgaw41A@mail.gmail.com> (raw)
In-Reply-To: <56pwp6ayq3x.fsf@nn-esharapov-04.i-did-not-set--mail-host-address--so-tickle-me>

[-- Attachment #1: Type: text/plain, Size: 685 bytes --]

Reproducing this bug with plain Emacs

1. Start emacs without any .emacs or .emacs.d/init.el files
2. Start Inferior python mode by M-x run-python
3. Enter first line of multi-line statement, press Enter and then start
entering second line

>>> for x in range(10):<RET>
...<TAB>pri

4. Now press C-M-i, it will complete it to `print`, then enter x so the
second line looks like

...     print x

5. Now press Enter

instead of a ... prompt you should get an error


>>> for x in range(10):
...     print x
  File "<stdin>", line 1
    print x
    ^
IndentationError: unexpected indent
>>>



==========================================
  Evgeniy N. Sharapov
  Phone: (630) - 779 - 3208

[-- Attachment #2: Type: text/html, Size: 1182 bytes --]

  reply	other threads:[~2017-08-11 18:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-11 17:24 bug#28051: 25.2; Multiline Statement Indentation Error in Inferior Python Mode evgeniy.sharapov
2017-08-11 18:19 ` Evgeniy Sharapov [this message]
2017-08-12 17:50   ` bug#28051: " Glenn Morris
2017-08-14 23:59     ` npostavs
2017-08-21 12:17       ` npostavs
2017-08-22  1:36         ` npostavs
2017-08-27 16:42           ` Dmitry Gutov
2017-08-27 18:28             ` npostavs
2017-08-19 14:45 ` bug#28051: 25.2; " npostavs
2017-08-25  2:50   ` Evgeniy Sharapov
2017-08-25 12:20     ` npostavs

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+MgHoHa1tZnHRSYwsPuv4G4gahmFdT2Q6u06pMCis-Fgaw41A@mail.gmail.com \
    --to=evgeniy.sharapov@gmail.com \
    --cc=28051@debbugs.gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.