bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#34268: 27.0.50; wrong indentation in python mode


From: Sam Steingold
Subject: bug#34268: 27.0.50; wrong indentation in python mode
Date: Thu, 31 Jan 2019 16:04:54 -0500

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?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]