unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: 18432@debbugs.gnu.org
Subject: bug#18432: 24.4.50; python-mode, elif line indentation
Date: Tue, 09 Sep 2014 18:00:23 +0200	[thread overview]
Message-ID: <540F2417.80007@easy-emacs.de> (raw)
In-Reply-To: <540EE4E4.2080608@gmail.com>

On 09.09.2014 13:30, Sho Takemori wrote:
> Dear developers,
>
> In a Python buffer, I have the following code.
> Here _ indicates the position of the cursor.
>
> if (a == 1 or
>      a == 2):
>      pass
> elif (a == 3 or_a == 4):
>
> When I press C-m, then this code becomes as follows:
>
> if (a == 1 or
>      a == 2):
>      pass
> elif (a == 3 or
> a == 4):
>
> I expected the following:
>
> if (a == 1 or
>      a == 2):
>      pass
> elif (a == 3 or
>        a == 4):
>
> Also I cannot change the indent level at the final line by TAB.
>
> This may not be a bug.
> But the 4th line and 5th line lack the compatibility with
> the 1st line and the 2nd line.
>

IMO it is a bug.

May confirm that with

GNU Emacs 24.3.93.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2014-08-15

Andreas







  reply	other threads:[~2014-09-09 16:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-09 11:30 bug#18432: 24.4.50; python-mode, elif line indentation Sho Takemori
2014-09-09 16:00 ` Andreas Röhler [this message]
2014-10-30 19:18 ` bug#18432: Carlos Pita
2014-11-15 22:04 ` bug#18432: 24.4.50; python-mode, elif line indentation Fabián Ezequiel Gallina

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=540F2417.80007@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=18432@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 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).