From: Nathan Trapuzzano <nbtrap@nbtrap.com>
To: Friedrich Delgado <friedel@nomaden.org>
Cc: 15812@debbugs.gnu.org
Subject: bug#15812: 24.3.50; docstring starting with "return" confuses python-mode indentation
Date: Wed, 06 Nov 2013 06:51:42 -0500 [thread overview]
Message-ID: <877gclrbn5.fsf@nbtrap.com> (raw)
In-Reply-To: <20131105152130.GA32322@dudelab.org> (Friedrich Delgado's message of "Tue, 5 Nov 2013 16:21:30 +0100")
Friedrich Delgado <friedel@nomaden.org> writes:
> emacs -Q
> M-x python-mode
> M-x erase-buffer<RET>y<RET>y
> def foo():
> "return stuff"
> <TAB>
>
> Expected behaviour: The cursor is placed under the first quotation
> mark (4 spaces indent)
>
> Actual behaviour: The cursor is placed at the beginning of the line.
Ditto for "break", "continue", "pass", "raise", and "return". These are
the words that make up `python-indent-block-enders'.
next prev parent reply other threads:[~2013-11-06 11:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-05 15:21 bug#15812: 24.3.50; docstring starting with "return" confuses python-mode indentation Friedrich Delgado
2013-11-06 7:16 ` Andreas Röhler
2013-11-06 11:51 ` Nathan Trapuzzano [this message]
2013-11-06 14:23 ` Nathan Trapuzzano
2013-11-07 8:36 ` Friedrich Delgado
2013-12-12 3:51 ` bug#15812: Fabián Ezequiel Gallina
2013-12-12 4:21 ` bug#15812: Glenn Morris
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=877gclrbn5.fsf@nbtrap.com \
--to=nbtrap@nbtrap.com \
--cc=15812@debbugs.gnu.org \
--cc=friedel@nomaden.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).