From: Sam Steingold <sds@gnu.org>
To: 34268@debbugs.gnu.org
Subject: bug#34268: 27.0.50; wrong indentation in python mode
Date: Thu, 31 Jan 2019 16:04:54 -0500 [thread overview]
Message-ID: <t16bg67eekczd5.fsf@gnu.org> (raw)
emacs -Q
C-x b z.py RET
M-x python-mode
insert this code:
--8<---------------cut here---------------start------------->8---
def foo(x):
return [bar(x)
for y in zot(
x)]
--8<---------------cut here---------------end--------------->8---
Note that the last line has 4 extra indentation characters.
It should be
--8<---------------cut here---------------start------------->8---
def foo(x):
return [bar(x)
for y in zot(
x)]
--8<---------------cut here---------------end--------------->8---
In GNU Emacs 27.0.50 (build 2, x86_64-apple-darwin17.7.0, NS appkit-1561.60 Version 10.13.6 (Build 17G5019))
of 2019-01-28 built on C-6111-SSTEINGO
Repository revision: 239386806ec637419786bd1ab21e002bf2d501c1
Repository branch: master
Windowing system distributor 'Apple', version 10.3.1561
System Description: Mac OS X 10.13.6
Configured using:
'configure --with-mailutils --with-ns
PKG_CONFIG_PATH=/usr/local/opt/libxml2/lib/pkgconfig:/usr/local/opt/imagemagick/lib/pkgconfig:/usr/local/opt/gnutls/lib/pkgconfig'
Configured features:
IMAGEMAGICK NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS
THREADS JSON CANNOT_DUMP LCMS2 GMP
Important settings:
value of $LANG: C
locale-coding-system: utf-8-unix
--
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1561
http://childpsy.net http://calmchildstories.com http://steingoldpsychology.com
http://islamexposedonline.com http://americancensorship.org http://memri.org
If a train station is a place where a train stops, what's a workstation?
next reply other threads:[~2019-01-31 21:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-31 21:04 Sam Steingold [this message]
2019-02-19 13:13 ` bug#34268: 27.0.50; wrong indentation in python mode Bhavin Gandhi
2019-02-19 13:53 ` Sam Steingold
2019-06-09 21:24 ` bug#34268: Configuration option to fix the issue Valentin Ignatev
2021-09-22 21:57 ` bug#34268: 27.0.50; wrong indentation in python mode Lars Ingebrigtsen
2021-09-23 12:37 ` Andreas Röhler
2021-09-23 21:08 ` Augusto Stoffel
2021-09-23 22:01 ` Lars Ingebrigtsen
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=t16bg67eekczd5.fsf@gnu.org \
--to=sds@gnu.org \
--cc=34268@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.