From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#28051: Multiline Statement Indentation Error in Inferior Python Mode Date: Sat, 12 Aug 2017 13:50:29 -0400 Message-ID: <5wshgwfzfe.fsf@fencepost.gnu.org> References: <56pwp6ayq3x.fsf@nn-esharapov-04.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1502560278 30941 195.159.176.226 (12 Aug 2017 17:51:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 12 Aug 2017 17:51:18 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: 28051@debbugs.gnu.org To: Evgeniy Sharapov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 12 19:51:09 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgaZ0-0007Cv-UQ for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Aug 2017 19:51:07 +0200 Original-Received: from localhost ([::1]:44361 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgaZ4-0005kq-CH for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Aug 2017 13:51:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgaYx-0005k6-Gq for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2017 13:51:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgaYw-00076r-LX for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2017 13:51:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48746) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dgaYw-00076c-I4 for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2017 13:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dgaYv-0004M9-JD for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2017 13:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Aug 2017 17:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28051 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28051-submit@debbugs.gnu.org id=B28051.150256024416737 (code B ref 28051); Sat, 12 Aug 2017 17:51:01 +0000 Original-Received: (at 28051) by debbugs.gnu.org; 12 Aug 2017 17:50:44 +0000 Original-Received: from localhost ([127.0.0.1]:57426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgaYc-0004Lt-F1 for submit@debbugs.gnu.org; Sat, 12 Aug 2017 13:50:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37315) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgaYa-0004Ln-Oh for 28051@debbugs.gnu.org; Sat, 12 Aug 2017 13:50:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgaYU-0006ol-K9 for 28051@debbugs.gnu.org; Sat, 12 Aug 2017 13:50:35 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53206) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgaYQ-0006no-AB; Sat, 12 Aug 2017 13:50:30 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1dgaYP-0007dd-Rj; Sat, 12 Aug 2017 13:50:29 -0400 X-Spook: Human to Animal explosion enigma New World Order Exon X-Ran: Z(y'Y`J)q)e0ABpiX>lD+pDI'$}9NQ7yPT4+A~)q.%$s9{#U&DHAk^O`fS6Zj{^rFr[OUK X-Hue: red X-Attribution: GM In-Reply-To: (Evgeniy Sharapov's message of "Fri, 11 Aug 2017 14:19:18 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135699 Archived-At: Evgeniy Sharapov wrote: > 1. Start emacs without any .emacs or .emacs.d/init.el files emacs -Q is better > 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): > ...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 Works fine for me. Python 2.7.13 on Debian, Python 2.7.5 on RHEL 7.