From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.bugs Subject: bug#34268: 27.0.50; wrong indentation in python mode Date: Thu, 31 Jan 2019 16:04:54 -0500 Message-ID: Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="169491"; mail-complaints-to="usenet@blaine.gmane.org" To: 34268@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 31 22:08:01 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gpJZ2-000hv2-AR for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 Jan 2019 22:08:00 +0100 Original-Received: from localhost ([127.0.0.1]:60850 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpJZ1-0000O9-5w for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 Jan 2019 16:07:59 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpJXA-0007WK-30 for bug-gnu-emacs@gnu.org; Thu, 31 Jan 2019 16:06:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gpJX9-0006li-24 for bug-gnu-emacs@gnu.org; Thu, 31 Jan 2019 16:06:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54126) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gpJX8-0006ld-Ui for bug-gnu-emacs@gnu.org; Thu, 31 Jan 2019 16:06:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gpJX8-0007vg-KU for bug-gnu-emacs@gnu.org; Thu, 31 Jan 2019 16:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sam Steingold Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Jan 2019 21:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34268 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.154896871730419 (code B ref -1); Thu, 31 Jan 2019 21:06:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 31 Jan 2019 21:05:17 +0000 Original-Received: from localhost ([127.0.0.1]:53407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gpJWK-0007uT-PW for submit@debbugs.gnu.org; Thu, 31 Jan 2019 16:05:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gpJWG-0007u5-1m for submit@debbugs.gnu.org; Thu, 31 Jan 2019 16:05:11 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:48830) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gpJWA-0006FV-VM for submit@debbugs.gnu.org; Thu, 31 Jan 2019 16:05:03 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpJW9-0006mR-R4 for bug-gnu-emacs@gnu.org; Thu, 31 Jan 2019 16:05:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gpJW7-0006EX-TB for bug-gnu-emacs@gnu.org; Thu, 31 Jan 2019 16:05:01 -0500 Original-Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]:43328) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gpJW6-0006DO-9U; Thu, 31 Jan 2019 16:04:58 -0500 Original-Received: by mail-qt1-x834.google.com with SMTP id i7so5080010qtj.10; Thu, 31 Jan 2019 13:04:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:return-receipt-to:reply-to:date:message-id :mime-version; bh=KpoyCibmf7G41Lsk0qKJHiPVu+tZcxrmbabUnHXW7ys=; b=CtamG2tEAxH2McJplivpGc0mlOgY5+iRdrWKdk31CHpl2qpZ8tIKnWFhijrKMmzT/r P0+BryYRAa1NC2TRvdjPM0fyaTRf9Ls/15QsvOjmeTD/GMUglQeWS4CQqBfrJ6H30tc3 9bSYGdnE2zbk7YqL7ruE/UCCdQrm1epriNrB1kMrDK7JIui9TcLpWPnLm276tOFwupP4 6rTm+/fRtBhc+j/lB5nQ6QBtcxgBuyTHpbKdg2boUEUJ4OR/2QB+xKD7qLudUlREbdUH bDRTd9op8vm/s6D07lW9pnS9Zt9qm/Topt2C8wHjGJee7IovFHkC+V7inOZdNf+7Qewt yJmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:return-receipt-to :reply-to:date:message-id:mime-version; bh=KpoyCibmf7G41Lsk0qKJHiPVu+tZcxrmbabUnHXW7ys=; b=qTy2SItQWxX6fDrcbtuAcK77+6AvpnbJAQkA2pklxNGU62pj/m1q0b7JSHl+S74fbj jro+i5+D8zqdmM9waDsg0FF3DKqzCkeYQjdoU5/+KDZX3JlmjNU/59jAPU81S9pwX9xK +qlTedzND3pyE7Di6sZ+QHLu+aiM9rvfaWyMLV9iNX/J1JRLf6q9mLFSwVGOlOPF439P Bd3n5bCYH4zFQSQ+jyR19t0vXZAFTwCM0K9oOPNk9WCu2Fdnly6FaDYznjVW/OrHLLVJ N9JIDbweQ7JTkeerdSM019ShhePWUPC6dNMbiV8W8eBwp1LvwQnoc361sCk9px+ZL7ED YRYg== X-Gm-Message-State: AJcUukf1GVGAmQZ4IU+kG726S1dENTUqbS5qZajheWFKngZMmH3AdMVP Fxqlu0oGdEuYYwi+pYQ0EraT4zA= X-Google-Smtp-Source: ALg8bN7Q7nwsf+AYqZjkqCN8qoTdH76MZgkS+4qeHO13NPCeiME2eskYm6EJpXsqOkqZ1nGxIxQXRQ== X-Received: by 2002:aed:3105:: with SMTP id 5mr36400873qtg.364.1548968696106; Thu, 31 Jan 2019 13:04:56 -0800 (PST) Original-Received: from C-6111-SSTEINGO ([38.101.106.18]) by smtp.gmail.com with ESMTPSA id y12sm7213715qta.13.2019.01.31.13.04.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 Jan 2019 13:04:55 -0800 (PST) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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: 209.51.188.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:154942 Archived-At: 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?