X-Loop: help-debbugs@HIDDEN Subject: bug#20560: 24.5; I am not happy with the new Python mode indentation behaviour Resent-From: Fabrice Salvaire <fabrice.salvaire@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 12 May 2015 15:44:02 +0000 Resent-Message-ID: <handler.20560.B.14314453953807 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 20560 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 20560 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.14314453953807 (code B ref -1); Tue, 12 May 2015 15:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 May 2015 15:43:15 +0000 Received: from localhost ([127.0.0.1]:42544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1YsCKw-0000zK-8e for submit <at> debbugs.gnu.org; Tue, 12 May 2015 11:43:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39722) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <fabrice.salvaire@HIDDEN>) id 1Ys7Bg-0007zo-VG for submit <at> debbugs.gnu.org; Tue, 12 May 2015 06:13:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <fabrice.salvaire@HIDDEN>) id 1Ys7Ba-0003Iw-Uo for submit <at> debbugs.gnu.org; Tue, 12 May 2015 06:13:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <fabrice.salvaire@HIDDEN>) id 1Ys7Ba-0003Is-SQ for submit <at> debbugs.gnu.org; Tue, 12 May 2015 06:13:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <fabrice.salvaire@HIDDEN>) id 1Ys7BZ-00024p-Pj for bug-gnu-emacs@HIDDEN; Tue, 12 May 2015 06:13:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <fabrice.salvaire@HIDDEN>) id 1Ys7BW-0003Hm-IP for bug-gnu-emacs@HIDDEN; Tue, 12 May 2015 06:13:13 -0400 Received: from smtp03.smtpout.orange.fr ([80.12.242.125]:58956 helo=smtp.smtpout.orange.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <fabrice.salvaire@HIDDEN>) id 1Ys7BW-0003H4-Ax for bug-gnu-emacs@HIDDEN; Tue, 12 May 2015 06:13:10 -0400 Received: from salus.localdomain ([213.41.136.101]) by mwinf5d50 with ME id SyD71q00F2BSCth03yD8vb; Tue, 12 May 2015 12:13:08 +0200 X-ME-Helo: salus.localdomain X-ME-Auth: ZmFicmljZS5zYWx2YWlyZUB3YW5hZG9vLmZy X-ME-Date: Tue, 12 May 2015 12:13:08 +0200 X-ME-IP: 213.41.136.101 Message-ID: <5551D233.1090202@HIDDEN> Date: Tue, 12 May 2015 12:13:07 +0200 From: Fabrice Salvaire <fabrice.salvaire@HIDDEN> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Mailman-Approved-At: Tue, 12 May 2015 11:43:12 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) Dear Emacs devs, I noticed after an Emacs update the Python mode changed its indentation behaviour. I checked my .emacs and .gnu-emacs-custion for settings that could interfere with the Python mode, but I found anything. First it imposes a newer indentation style, the closing brace/bracket/parenthesis on multi-line constructs line up under the first character of the line that starts the multi-line construct: my_list = [ ____1, 2, 3, ____4, 5, 6, ] while I have thousands lines of codes typed on Emacs where the closing character is indented, e.g.: my_list = [ ____1, 2, 3, ____4, 5, 6, ____] Moreover if you press enter in the following construct at the location marked by * to add an empty line or to add codes after the if: if foo: ____a = 1 *a = 2 then the line is automatically indented: if foo: ____a = 1 ____a = 2 Thus I have to fight continuously with the indentation and it will probably increase the indentation noise in the VCS. I guess Python is not the most easier language to indent automatically, but I would prefer manual indentation than to fight against my editor. Sincerely yours, Fabrice
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Fabrice Salvaire <fabrice.salvaire@HIDDEN> Subject: bug#20560: Acknowledgement (24.5; I am not happy with the new Python mode indentation behaviour) Message-ID: <handler.20560.B.14314453953807.ack <at> debbugs.gnu.org> References: <5551D233.1090202@HIDDEN> X-Gnu-PR-Message: ack 20560 X-Gnu-PR-Package: emacs Reply-To: 20560 <at> debbugs.gnu.org Date: Tue, 12 May 2015 15:44:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 20560 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 20560: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20560 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#20560: 24.5; I am not happy with the new Python mode indentation behaviour Resent-From: Glenn Morris <rgm@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 12 May 2015 16:07:01 +0000 Resent-Message-ID: <handler.20560.B20560.143144680311945 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 20560 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Fabrice Salvaire <fabrice.salvaire@HIDDEN> Cc: 20560 <at> debbugs.gnu.org Received: via spool by 20560-submit <at> debbugs.gnu.org id=B20560.143144680311945 (code B ref 20560); Tue, 12 May 2015 16:07:01 +0000 Received: (at 20560) by debbugs.gnu.org; 12 May 2015 16:06:43 +0000 Received: from localhost ([127.0.0.1]:42561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1YsChe-00036a-8B for submit <at> debbugs.gnu.org; Tue, 12 May 2015 12:06:42 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:57160 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <rgm@HIDDEN>) id 1YsChb-00036R-Gq for 20560 <at> debbugs.gnu.org; Tue, 12 May 2015 12:06:40 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from <rgm@HIDDEN>) id 1YsCha-0002hI-I6; Tue, 12 May 2015 12:06:38 -0400 From: Glenn Morris <rgm@HIDDEN> References: <5551D233.1090202@HIDDEN> X-Spook: UFO HAMASMOIS SP4 Aldergrove Commecen jihad Noriega Putin X-Ran: 6<Jex,P%d^1!!AJ1?W=PkGPa'TV2P`cZ?kOrwXe][%ghh3<O~7WiCw]ugK1g]GgT35t:BB X-Hue: cyan X-Attribution: GM Date: Tue, 12 May 2015 12:06:38 -0400 In-Reply-To: <5551D233.1090202@HIDDEN> (Fabrice Salvaire's message of "Tue, 12 May 2015 12:13:07 +0200") Message-ID: <mnwq0dzsoh.fsf@HIDDEN> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) Fabrice Salvaire wrote: > my_list = [ > ____1, 2, 3, > ____4, 5, 6, > ] When I type that, I get an error, so perhaps it is not intended: Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) =(nil 5) python-syntax-closing-paren-p() (and (python-syntax-closing-paren-p) (progn (forward-char 1) (not (nth 1 (or nil (syntax-ppss)))))) (if (and (python-syntax-closing-paren-p) (progn (forward-char 1) (not (nth 1 (or nil (syntax-ppss)))))) (progn (cons :inside-paren-at-closing-paren start))) (save-excursion (skip-syntax-forward " ") (if (and (python-syntax-closing-paren-p) (progn (forward-char 1) (not (nth 1 (or nil (syntax-ppss)))))) (progn (cons :inside-paren-at-closing-paren start)))) > automatically, but I would prefer manual indentation than to fight > against my editor. Sounds like you want to turn off electric-indent-mode.
Received: (at control) by debbugs.gnu.org; 6 Jul 2015 02:21:23 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 05 22:21:23 2015 Received: from localhost ([127.0.0.1]:41242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ZBw27-0005sy-1v for submit <at> debbugs.gnu.org; Sun, 05 Jul 2015 22:21:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57228) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <fgallina@HIDDEN>) id 1ZBw25-0005si-Ss for control <at> debbugs.gnu.org; Sun, 05 Jul 2015 22:21:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <fgallina@HIDDEN>) id 1ZBw1w-0006JT-TC for control <at> debbugs.gnu.org; Sun, 05 Jul 2015 22:21:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48773) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <fgallina@HIDDEN>) id 1ZBw1w-0006JL-Oe for control <at> debbugs.gnu.org; Sun, 05 Jul 2015 22:21:12 -0400 Received: from [190.246.172.180] (port=50910 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from <fgallina@HIDDEN>) id 1ZBw1w-0003Kx-0Q for control <at> debbugs.gnu.org; Sun, 05 Jul 2015 22:21:12 -0400 From: fgallina@HIDDEN (=?utf-8?Q?Fabi=C3=A1n?= Ezequiel Gallina) To: control <at> debbugs.gnu.org Subject: Date: Sun, 05 Jul 2015 23:20:59 -0300 Message-ID: <873812owl0.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -3.6 (---) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.6 (---) merge 20560 20560
Received: (at control) by debbugs.gnu.org; 6 Jul 2015 02:24:49 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 05 22:24:49 2015 Received: from localhost ([127.0.0.1]:41247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ZBw5Q-0005zZ-Mw for submit <at> debbugs.gnu.org; Sun, 05 Jul 2015 22:24:48 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58321) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <fgallina@HIDDEN>) id 1ZBw5O-0005zC-UU for control <at> debbugs.gnu.org; Sun, 05 Jul 2015 22:24:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <fgallina@HIDDEN>) id 1ZBw5F-0007nN-TT for control <at> debbugs.gnu.org; Sun, 05 Jul 2015 22:24:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <fgallina@HIDDEN>) id 1ZBw5F-0007nB-Pw for control <at> debbugs.gnu.org; Sun, 05 Jul 2015 22:24:37 -0400 Received: from [190.246.172.180] (port=50941 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from <fgallina@HIDDEN>) id 1ZBw5F-0003jP-4Y for control <at> debbugs.gnu.org; Sun, 05 Jul 2015 22:24:37 -0400 From: fgallina@HIDDEN (=?utf-8?Q?Fabi=C3=A1n?= Ezequiel Gallina) To: control <at> debbugs.gnu.org Subject: Date: Sun, 05 Jul 2015 23:24:33 -0300 Message-ID: <87io9ykopq.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -3.6 (---) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.6 (---) merge 20560 19906
Received: (at control) by debbugs.gnu.org; 20 Apr 2019 20:51:33 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 20 16:51:33 2019 Received: from localhost ([127.0.0.1]:46856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hHwxQ-0006Uz-RZ for submit <at> debbugs.gnu.org; Sat, 20 Apr 2019 16:51:33 -0400 Received: from mail-qk1-f173.google.com ([209.85.222.173]:44653) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <npostavs@HIDDEN>) id 1hHwxP-0006Uj-O9; Sat, 20 Apr 2019 16:51:32 -0400 Received: by mail-qk1-f173.google.com with SMTP id y5so4561015qkc.11; Sat, 20 Apr 2019 13:51:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=OWPGKqseuGKI2TrEqkcsmcFLeJiwtP9CCN3CE6/efX0=; b=iRwUlt6BtpAdxbye7fJGRo/QqniHscPQS7oEt4V7InB3Bhd9jE/4xxq5R8chWgY+Z4 YlsofRVl2xFP9SMXV7x28Eq/geDHHO07MY4G5MjowTpJX47adZm4lAghXeVmojg7etNM LB92JXW1Z32fWfEAldzM5lkFV6TaABTouWoRU2+TRcn4Izqhr9niKN1uxIwpPIihyFPa 7S0MoIyXt6hk6VFPCPCc7pB6fb23Jdl3H3O5hne89ql0vW5buNAo8Kiblhp1gY4zHiBI vpGUwiOoBA/wmNCu48z1tY6Ny1zxt2aArq1CjvcQ7Yfi7+S3pSobqu/FFk1KP+npLgmG 7COA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=OWPGKqseuGKI2TrEqkcsmcFLeJiwtP9CCN3CE6/efX0=; b=Zj+4/rXfoYxvnMzzJKB+QiLu6pdTpJIdxnXUKwYBEp9ko2rk0HADWRzATT+hg3ZLzf wVOgw/ASviIs/Jj6eNrVuIY3Q6po1UQJMACzAA2gACIlVsWYiSKkq8ydiJ+SrTmkx793 9hkeIIswns4fR0a/9LiodOQOnJLYJ9cK6V5KbhGccNaTvB8JjTXaJ2+DJyMblc5x4oEN xiIIwYaABfHrNOfNn7uVftfOfPcqI0QsxvVvzzNQByHbCtsBRfgp9mBIrWL9L+C4fQF+ ngzdlkHNTZwxi8JQdcuc+rB41v3WHzhFCAA4x/8St6BbSkpgSjMOb7uDVneKwM8aZ3Qn zP6g== X-Gm-Message-State: APjAAAW20znpyX2e2XAY5RSBoUvFCd+IcAVge7LHu7cOWTyoRK/pKhV7 wEVpiZLwDNUt1DiQS6fLZMBqM2xF X-Google-Smtp-Source: APXvYqw/lNisXOMu82hbCvoNeasYz82/L//ZoVQGqM03ZycIvQjEXG1PaALfuQabtuPZM9gYmqwdeQ== X-Received: by 2002:a37:614e:: with SMTP id v75mr8890422qkb.27.1555793486143; Sat, 20 Apr 2019 13:51:26 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id e4sm4131236qkg.6.2019.04.20.13.51.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 20 Apr 2019 13:51:24 -0700 (PDT) From: Noam Postavsky <npostavs@HIDDEN> To: 20742 <at> debbugs.gnu.org Subject: Re: bug#20742: 24.5; [PATCH] python.el: fix close paren indentation to match pep8 References: <CAEFOACZwFq7T-9yginNyQ3hd72tssYykcE9wh3RXXRQQvsJ=Eg@HIDDEN> <CAEFOACbOfz2oO1sg9MRaFg_O11NFo5MLNt9BAvRDgRt3+jz+2Q@HIDDEN> <87wpc8bdjk.fsf@HIDDEN> Date: Sat, 20 Apr 2019 16:51:23 -0400 In-Reply-To: <87wpc8bdjk.fsf@HIDDEN> (npostavs@HIDDEN's message of "Wed, 01 Mar 2017 21:47:11 -0500") Message-ID: <87sguctn78.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control Cc: Tommi Komulainen <tommi.komulainen@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain tags 20742 + patch quit >> When opening paren is followed by newline the closing paren should follow >> the current indentation. Otherwise the closing paren should be aligned >> with the opening paren. This fixes the latter case. #20742 > > I'm having trouble applying this. > > error: corrupt patch at line 11 > Applying: python.el: fix close paren indentation to match pep8 > Patch failed at 0001 python.el: fix close paren indentation to match pep8 I managed to get this applied; I've replaced the python-test.el modifications, partly because they're written as updates to the existing tests which makes them a bit harder to follow, and partly to make more clear that the patch is below the 15 line copyright limit. I'll push to master in a week or so if there are no further comments. --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=0001-python.el-Fix-close-paren-indentation-to-match-pep8-.patch Content-Description: patch From e0acfb7254f97f623286e65483535c1b6312f4ba Mon Sep 17 00:00:00 2001 From: Tommi Komulainen <tommi.komulainen@HIDDEN> Date: Fri, 19 Jun 2015 18:53:52 +0200 Subject: [PATCH 1/2] python.el: Fix close paren indentation to match pep8 (Bug#20742) * lisp/progmodes/python.el (python-indent--calculate-indentation): When opening paren is followed by newline the closing paren should follow the current indentation. Otherwise the closing paren should be aligned with the opening paren. This fixes the latter case. Copyright-paperwork-exempt: yes --- lisp/progmodes/python.el | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index eb3e31c4b7..188bc973d9 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -1070,12 +1070,18 @@ (defun python-indent--calculate-indentation () (`(,(or :after-line :after-comment :inside-string - :after-backslash - :inside-paren-at-closing-paren - :inside-paren-at-closing-nested-paren) . ,start) + :after-backslash) . ,start) ;; Copy previous indentation. (goto-char start) (current-indentation)) + (`(,(or :inside-paren-at-closing-paren + :inside-paren-at-closing-nested-paren) . ,start) + (goto-char (+ 1 start)) + (if (looking-at "[ \t]*\\(?:#\\|$\\)") + ;; Copy previous indentation. + (current-indentation) + ;; Align with opening paren. + (current-column))) (`(:inside-docstring . ,start) (let* ((line-indentation (current-indentation)) (base-indent (progn -- 2.11.0 --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=0002-Add-test-for-previous-change.patch Content-Description: patch From 8649d874d5158d91b0b6056bc66b9a99f4c1c31a Mon Sep 17 00:00:00 2001 From: Noam Postavsky <npostavs@HIDDEN> Date: Sat, 20 Apr 2019 15:31:51 -0400 Subject: [PATCH 2/2] ; Add test for previous change * test/lisp/progmodes/python-tests.el (python-indent-hanging-close-paren): New test. --- test/lisp/progmodes/python-tests.el | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/test/lisp/progmodes/python-tests.el b/test/lisp/progmodes/python-tests.el index b940f45bb9..a517909717 100644 --- a/test/lisp/progmodes/python-tests.el +++ b/test/lisp/progmodes/python-tests.el @@ -260,6 +260,19 @@ (ert-deftest python-indent-pep8-3 () (should (eq (car (python-indent-context)) :inside-paren-newline-start)) (should (= (python-indent-calculate-indentation) 4)))) +(ert-deftest python-indent-hanging-close-paren () + "Like first pep8 case, but with hanging close paren." ;; See Bug#20742. + (python-tests-with-temp-buffer + "\ +foo = long_function_name(var_one, var_two, + var_three, var_four + ) +" + (should (= (python-indent-calculate-indentation) 0)) + (python-tests-look-at ")") + (should (eq (car (python-indent-context)) :inside-paren-at-closing-paren)) + (should (= (python-indent-calculate-indentation) 25)))) + (ert-deftest python-indent-base-case () "Check base case does not trigger errors." (python-tests-with-temp-buffer -- 2.11.0 --=-=-=--
X-Loop: help-debbugs@HIDDEN Subject: bug#20560: 24.5; I am not happy with the new Python mode indentation behaviour Resent-From: Noam Postavsky <npostavs@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 20 Apr 2019 20:59:01 +0000 Resent-Message-ID: <handler.20560.B20560.155579392725721 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 20560 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Glenn Morris <rgm@HIDDEN> Cc: Fabrice Salvaire <fabrice.salvaire@HIDDEN>, 20560 <at> debbugs.gnu.org Received: via spool by 20560-submit <at> debbugs.gnu.org id=B20560.155579392725721 (code B ref 20560); Sat, 20 Apr 2019 20:59:01 +0000 Received: (at 20560) by debbugs.gnu.org; 20 Apr 2019 20:58:47 +0000 Received: from localhost ([127.0.0.1]:46867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hHx4R-0006gi-Bk for submit <at> debbugs.gnu.org; Sat, 20 Apr 2019 16:58:47 -0400 Received: from mail-qk1-f170.google.com ([209.85.222.170]:46432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <npostavs@HIDDEN>) id 1hHx4O-0006gM-DK; Sat, 20 Apr 2019 16:58:45 -0400 Received: by mail-qk1-f170.google.com with SMTP id w73so2418018qkb.13; Sat, 20 Apr 2019 13:58:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=rOkax71soJsVa/zbc4JmCRuFVirc1U2iiw7j1dk2FF4=; b=mHdtPEeBoNqRU32hSx3xV0xKXIFrbF+4HPRm1Bf31Zrv4y54fl976gpLe7nCUTMuqF 4GKSGuiHq4QVXzy126ty2Rs4SM2ovaMA1DYto+mAi9Ma4IkPv5bodzJQZ9hNg4OWCqiZ fFvmxqoC2AtquKMYgpRVCnV65UXTEI7iQcRuQ3T42WbvyQKqNvQOsedwzNHXESlqhCqY FWtMEED+PcNn9vsCWeUy/KORGiLsKh7rPW+BH0kHCw87OIYJqjsOUy3dOxUkAEuk3/XK /bv7zloID+igVd5GMAqVODiUb3VPf2b73fOoPPsjlTKr2QnQkxgSuCubeomqZl94C7EJ 4eag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=rOkax71soJsVa/zbc4JmCRuFVirc1U2iiw7j1dk2FF4=; b=Jap9lGm38A3nMjhmRshwkW9t7euwo0xPyiiFifxahHw/KkmojW+8ZV5udOQOYlplqx C3wnNIB8mlu9xMviQraQTsDmD7Tr1S7ficWqwswbZEkgwZBsGwWQ2EtkVEKJGcG3r8xu qN5upi4959lnK5GTxYO6Auhkn4DLj/xXxdFyIMflK9OmDt73IRtCpxtwwoe57/vWhDvA M3TWnmmXU+/bx2Qx8i85Hqnqa4gDPT838IagT3lpqR7n5zJwu/neN7fzWug3AdBv6Wlb DlMh+s9ZQanz0qGWZ9LmJ2hew/Lcy6zU8ODxcEk5r0/A0X0m0YxX+4nAZ1oDUKt1CHGO T04Q== X-Gm-Message-State: APjAAAUjmbWoLp8+e+FLoW2YZNhPGXixEbSnSEAj2npIIaEStw4kSdlc y8zmoKATSrJ6BNgre/YAV6j+GTn/ X-Google-Smtp-Source: APXvYqwTZgTTKL/DmvhvK7xNOrfzSj8euKp/XNFk2rjerusp3sfDCqqO5nRt8xN1kEAIIti8vwMl2A== X-Received: by 2002:a05:620a:1438:: with SMTP id k24mr8369372qkj.165.1555793918747; Sat, 20 Apr 2019 13:58:38 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id s30sm4027832qkm.43.2019.04.20.13.58.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 20 Apr 2019 13:58:38 -0700 (PDT) From: Noam Postavsky <npostavs@HIDDEN> References: <5551D233.1090202@HIDDEN> <mnwq0dzsoh.fsf@HIDDEN> Date: Sat, 20 Apr 2019 16:58:37 -0400 In-Reply-To: <mnwq0dzsoh.fsf@HIDDEN> (Glenn Morris's message of "Tue, 12 May 2015 12:06:38 -0400") Message-ID: <87pnpgtmv6.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) # patch for 20742 doesn't help for 20560 unmerge 20560 forcemerge 33979 20560 quit Glenn Morris <rgm@HIDDEN> writes: > Fabrice Salvaire wrote: > >> my_list = [ >> ____1, 2, 3, >> ____4, 5, 6, >> ] > > When I type that, I get an error, so perhaps it is not intended: > > Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) > =(nil 5) > python-syntax-closing-paren-p() > (and (python-syntax-closing-paren-p) (progn (forward-char 1) (not (nth 1 (or nil (syntax-ppss)))))) > (if (and (python-syntax-closing-paren-p) (progn (forward-char 1) (not (nth 1 (or nil (syntax-ppss)))))) (progn (cons :inside-paren-at-closing-paren start))) > (save-excursion (skip-syntax-forward " ") (if (and (python-syntax-closing-paren-p) (progn (forward-char 1) (not (nth 1 (or nil (syntax-ppss)))))) (progn (cons :inside-paren-at-closing-paren start)))) I'm not getting this anymore, perhaps it's been fixed in the meantime (I've tested only in 25.3 and 26.2, I don't have 24.5 building at the moment). At any rate, the OP seems to be the same as 33979 (though different from 20742 which it was previously merged to).
Received: (at control) by debbugs.gnu.org; 20 Apr 2019 20:58:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 20 16:58:47 2019 Received: from localhost ([127.0.0.1]:46865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hHx4Q-0006gf-Dz for submit <at> debbugs.gnu.org; Sat, 20 Apr 2019 16:58:47 -0400 Received: from mail-qk1-f170.google.com ([209.85.222.170]:46432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <npostavs@HIDDEN>) id 1hHx4O-0006gM-DK; Sat, 20 Apr 2019 16:58:45 -0400 Received: by mail-qk1-f170.google.com with SMTP id w73so2418018qkb.13; Sat, 20 Apr 2019 13:58:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=rOkax71soJsVa/zbc4JmCRuFVirc1U2iiw7j1dk2FF4=; b=mHdtPEeBoNqRU32hSx3xV0xKXIFrbF+4HPRm1Bf31Zrv4y54fl976gpLe7nCUTMuqF 4GKSGuiHq4QVXzy126ty2Rs4SM2ovaMA1DYto+mAi9Ma4IkPv5bodzJQZ9hNg4OWCqiZ fFvmxqoC2AtquKMYgpRVCnV65UXTEI7iQcRuQ3T42WbvyQKqNvQOsedwzNHXESlqhCqY FWtMEED+PcNn9vsCWeUy/KORGiLsKh7rPW+BH0kHCw87OIYJqjsOUy3dOxUkAEuk3/XK /bv7zloID+igVd5GMAqVODiUb3VPf2b73fOoPPsjlTKr2QnQkxgSuCubeomqZl94C7EJ 4eag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=rOkax71soJsVa/zbc4JmCRuFVirc1U2iiw7j1dk2FF4=; b=Jap9lGm38A3nMjhmRshwkW9t7euwo0xPyiiFifxahHw/KkmojW+8ZV5udOQOYlplqx C3wnNIB8mlu9xMviQraQTsDmD7Tr1S7ficWqwswbZEkgwZBsGwWQ2EtkVEKJGcG3r8xu qN5upi4959lnK5GTxYO6Auhkn4DLj/xXxdFyIMflK9OmDt73IRtCpxtwwoe57/vWhDvA M3TWnmmXU+/bx2Qx8i85Hqnqa4gDPT838IagT3lpqR7n5zJwu/neN7fzWug3AdBv6Wlb DlMh+s9ZQanz0qGWZ9LmJ2hew/Lcy6zU8ODxcEk5r0/A0X0m0YxX+4nAZ1oDUKt1CHGO T04Q== X-Gm-Message-State: APjAAAUjmbWoLp8+e+FLoW2YZNhPGXixEbSnSEAj2npIIaEStw4kSdlc y8zmoKATSrJ6BNgre/YAV6j+GTn/ X-Google-Smtp-Source: APXvYqwTZgTTKL/DmvhvK7xNOrfzSj8euKp/XNFk2rjerusp3sfDCqqO5nRt8xN1kEAIIti8vwMl2A== X-Received: by 2002:a05:620a:1438:: with SMTP id k24mr8369372qkj.165.1555793918747; Sat, 20 Apr 2019 13:58:38 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id s30sm4027832qkm.43.2019.04.20.13.58.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 20 Apr 2019 13:58:38 -0700 (PDT) From: Noam Postavsky <npostavs@HIDDEN> To: Glenn Morris <rgm@HIDDEN> Subject: Re: bug#20560: 24.5; I am not happy with the new Python mode indentation behaviour References: <5551D233.1090202@HIDDEN> <mnwq0dzsoh.fsf@HIDDEN> Date: Sat, 20 Apr 2019 16:58:37 -0400 In-Reply-To: <mnwq0dzsoh.fsf@HIDDEN> (Glenn Morris's message of "Tue, 12 May 2015 12:06:38 -0400") Message-ID: <87pnpgtmv6.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control Cc: Fabrice Salvaire <fabrice.salvaire@HIDDEN>, 20560 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) # patch for 20742 doesn't help for 20560 unmerge 20560 forcemerge 33979 20560 quit Glenn Morris <rgm@HIDDEN> writes: > Fabrice Salvaire wrote: > >> my_list = [ >> ____1, 2, 3, >> ____4, 5, 6, >> ] > > When I type that, I get an error, so perhaps it is not intended: > > Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) > =(nil 5) > python-syntax-closing-paren-p() > (and (python-syntax-closing-paren-p) (progn (forward-char 1) (not (nth 1 (or nil (syntax-ppss)))))) > (if (and (python-syntax-closing-paren-p) (progn (forward-char 1) (not (nth 1 (or nil (syntax-ppss)))))) (progn (cons :inside-paren-at-closing-paren start))) > (save-excursion (skip-syntax-forward " ") (if (and (python-syntax-closing-paren-p) (progn (forward-char 1) (not (nth 1 (or nil (syntax-ppss)))))) (progn (cons :inside-paren-at-closing-paren start)))) I'm not getting this anymore, perhaps it's been fixed in the meantime (I've tested only in 25.3 and 26.2, I don't have 24.5 building at the moment). At any rate, the OP seems to be the same as 33979 (though different from 20742 which it was previously merged to).
Received: (at control) by debbugs.gnu.org; 20 Apr 2019 20:58:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 20 16:58:47 2019 Received: from localhost ([127.0.0.1]:46865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hHx4Q-0006gf-Dz for submit <at> debbugs.gnu.org; Sat, 20 Apr 2019 16:58:47 -0400 Received: from mail-qk1-f170.google.com ([209.85.222.170]:46432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <npostavs@HIDDEN>) id 1hHx4O-0006gM-DK; Sat, 20 Apr 2019 16:58:45 -0400 Received: by mail-qk1-f170.google.com with SMTP id w73so2418018qkb.13; Sat, 20 Apr 2019 13:58:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=rOkax71soJsVa/zbc4JmCRuFVirc1U2iiw7j1dk2FF4=; b=mHdtPEeBoNqRU32hSx3xV0xKXIFrbF+4HPRm1Bf31Zrv4y54fl976gpLe7nCUTMuqF 4GKSGuiHq4QVXzy126ty2Rs4SM2ovaMA1DYto+mAi9Ma4IkPv5bodzJQZ9hNg4OWCqiZ fFvmxqoC2AtquKMYgpRVCnV65UXTEI7iQcRuQ3T42WbvyQKqNvQOsedwzNHXESlqhCqY FWtMEED+PcNn9vsCWeUy/KORGiLsKh7rPW+BH0kHCw87OIYJqjsOUy3dOxUkAEuk3/XK /bv7zloID+igVd5GMAqVODiUb3VPf2b73fOoPPsjlTKr2QnQkxgSuCubeomqZl94C7EJ 4eag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=rOkax71soJsVa/zbc4JmCRuFVirc1U2iiw7j1dk2FF4=; b=Jap9lGm38A3nMjhmRshwkW9t7euwo0xPyiiFifxahHw/KkmojW+8ZV5udOQOYlplqx C3wnNIB8mlu9xMviQraQTsDmD7Tr1S7ficWqwswbZEkgwZBsGwWQ2EtkVEKJGcG3r8xu qN5upi4959lnK5GTxYO6Auhkn4DLj/xXxdFyIMflK9OmDt73IRtCpxtwwoe57/vWhDvA M3TWnmmXU+/bx2Qx8i85Hqnqa4gDPT838IagT3lpqR7n5zJwu/neN7fzWug3AdBv6Wlb DlMh+s9ZQanz0qGWZ9LmJ2hew/Lcy6zU8ODxcEk5r0/A0X0m0YxX+4nAZ1oDUKt1CHGO T04Q== X-Gm-Message-State: APjAAAUjmbWoLp8+e+FLoW2YZNhPGXixEbSnSEAj2npIIaEStw4kSdlc y8zmoKATSrJ6BNgre/YAV6j+GTn/ X-Google-Smtp-Source: APXvYqwTZgTTKL/DmvhvK7xNOrfzSj8euKp/XNFk2rjerusp3sfDCqqO5nRt8xN1kEAIIti8vwMl2A== X-Received: by 2002:a05:620a:1438:: with SMTP id k24mr8369372qkj.165.1555793918747; Sat, 20 Apr 2019 13:58:38 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id s30sm4027832qkm.43.2019.04.20.13.58.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 20 Apr 2019 13:58:38 -0700 (PDT) From: Noam Postavsky <npostavs@HIDDEN> To: Glenn Morris <rgm@HIDDEN> Subject: Re: bug#20560: 24.5; I am not happy with the new Python mode indentation behaviour References: <5551D233.1090202@HIDDEN> <mnwq0dzsoh.fsf@HIDDEN> Date: Sat, 20 Apr 2019 16:58:37 -0400 In-Reply-To: <mnwq0dzsoh.fsf@HIDDEN> (Glenn Morris's message of "Tue, 12 May 2015 12:06:38 -0400") Message-ID: <87pnpgtmv6.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control Cc: Fabrice Salvaire <fabrice.salvaire@HIDDEN>, 20560 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) # patch for 20742 doesn't help for 20560 unmerge 20560 forcemerge 33979 20560 quit Glenn Morris <rgm@HIDDEN> writes: > Fabrice Salvaire wrote: > >> my_list = [ >> ____1, 2, 3, >> ____4, 5, 6, >> ] > > When I type that, I get an error, so perhaps it is not intended: > > Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) > =(nil 5) > python-syntax-closing-paren-p() > (and (python-syntax-closing-paren-p) (progn (forward-char 1) (not (nth 1 (or nil (syntax-ppss)))))) > (if (and (python-syntax-closing-paren-p) (progn (forward-char 1) (not (nth 1 (or nil (syntax-ppss)))))) (progn (cons :inside-paren-at-closing-paren start))) > (save-excursion (skip-syntax-forward " ") (if (and (python-syntax-closing-paren-p) (progn (forward-char 1) (not (nth 1 (or nil (syntax-ppss)))))) (progn (cons :inside-paren-at-closing-paren start)))) I'm not getting this anymore, perhaps it's been fixed in the meantime (I've tested only in 25.3 and 26.2, I don't have 24.5 building at the moment). At any rate, the OP seems to be the same as 33979 (though different from 20742 which it was previously merged to).
Received: (at control) by debbugs.gnu.org; 20 Apr 2019 21:07:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 20 17:07:05 2019 Received: from localhost ([127.0.0.1]:46881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hHxCS-0000YE-W6 for submit <at> debbugs.gnu.org; Sat, 20 Apr 2019 17:07:05 -0400 Received: from mail-qk1-f179.google.com ([209.85.222.179]:46629) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <npostavs@HIDDEN>) id 1hHxCQ-0000Xk-Rg for control <at> debbugs.gnu.org; Sat, 20 Apr 2019 17:07:03 -0400 Received: by mail-qk1-f179.google.com with SMTP id w73so2424034qkb.13 for <control <at> debbugs.gnu.org>; Sat, 20 Apr 2019 14:07:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=pQHNL4qrRsMl1g4VhvEy88EhHCzSqdFn46cUIDGalgk=; b=OfH7tAVCBmSHr4uywyOgRe4XSGruMEmiXU1RMhxXMqfKpIYoutPkXOf4Flq8vQGwAV egJIwNS2+cMy1nqdQcHtV6T2i1CBHmvAgjysTu3S4hGeb0Vv0+d+lc+rUiqeqm0ZJeVE lSG5Ktp0aHrsLqHxbYAU9I3m26ZRTP2MbD3qiMoxO/K3MBVgHDAYgXfb43OyS6Y5sPYN xnF8beKqABK8Xkg2q/fcjv+L7HFfsmSf2D9h3o+CZCWoQ5ZqjHkLS49vCo/P8jxeXseo ejciwPppRbDS7xKGMi+Ve8idcfg95P9hcTr5F0U7cv5LGc7UbHrSRQ2l+K6ri64dBphF tPBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=pQHNL4qrRsMl1g4VhvEy88EhHCzSqdFn46cUIDGalgk=; b=LTU0tUgk3gBrXZo2U4FuWlBC1jsMWheT+XT/jR86x5tJCSQI/1vmGbYw+XRlPhWpNB PQf0Pm7o3WEU7pYu1vwKjUoGItR8DJXvzfZgB3l39SEIBFtf1NqAW72wI+66jZ4fMg2U g4IYnZJ6pz8I0qLW5Z0PEx61G4IWu1+pSZitY77oMN7QK/Y5Y4WqPXXqo96a7CPkrsOM teoftQ0V1qxC6oWI+THd5E0YjpZfU7caLkosHPM7AskbEz2+66x19JjYSUiDVFvo0l+3 hTlwoN22Cz2CatxnnuvIerZDc+1mhDuWilyl6uGDOFrTFcdjiUsFuFBQx/t/vnCjHqSm cIsg== X-Gm-Message-State: APjAAAVZo59avnL+kVNv2sJUwXotrS6Q3EGAqBN/Jx35vIFR7qE5adAy 2zgSwjUCzpAHwGVI5LdhxRc4bQIc X-Google-Smtp-Source: APXvYqx5DANPQ1YOwuPyf+0odFJt/qFXVeNGfE589s0IqkJhmT1moGHaBWpero5oHWYGyZqZ52yVJg== X-Received: by 2002:ae9:e007:: with SMTP id m7mr8710103qkk.248.1555794417302; Sat, 20 Apr 2019 14:06:57 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id u57sm5558788qta.12.2019.04.20.14.06.56 for <control <at> debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 20 Apr 2019 14:06:56 -0700 (PDT) From: Noam Postavsky <npostavs@HIDDEN> To: control <at> debbugs.gnu.org Subject: control message for bug #33979 Date: Sat, 20 Apr 2019 17:06:55 -0400 Message-ID: <87o950tmhc.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) # I accidentally tagged with patch by merges tags 33979 - patch quit
X-Loop: help-debbugs@HIDDEN Subject: bug#20560: bug#20742: 24.5; [PATCH] python.el: fix close paren indentation to match pep8 Resent-From: Lars Ingebrigtsen <larsi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 17 Sep 2020 19:00:01 +0000 Resent-Message-ID: <handler.20560.B20560.160036915329677 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 20560 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Noam Postavsky <npostavs@HIDDEN> Cc: 20742 <at> debbugs.gnu.org, Tommi Komulainen <tommi.komulainen@HIDDEN>, 20560 <at> debbugs.gnu.org Received: via spool by 20560-submit <at> debbugs.gnu.org id=B20560.160036915329677 (code B ref 20560); Thu, 17 Sep 2020 19:00:01 +0000 Received: (at 20560) by debbugs.gnu.org; 17 Sep 2020 18:59:13 +0000 Received: from localhost ([127.0.0.1]:39061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kIz7g-0007ia-Ru for submit <at> debbugs.gnu.org; Thu, 17 Sep 2020 14:59:13 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1kIz7f-0007iI-M5; Thu, 17 Sep 2020 14:59:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=h8FPsN+yo89SPnKsjBZlPGAFU7bl11PpuQaDmuSoE+4=; b=AzxbqvF5KXLMtNbsApauZVunrA xTGeMeTA6p9pWthIw1pJP//f8rUJzjxHSpN1ZG/woLCuDtlbGA1Mmcu1xHL1JiMrVVU1LrHsryYqk SudGwfRH1TXQ6hop+PsQFwBqQZ3krHVh0SV3lNNL9XmiA+chZyG0sV7lWjHX6Qf1T73Y=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1kIz7W-0003qm-F9; Thu, 17 Sep 2020 20:59:05 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> References: <CAEFOACZwFq7T-9yginNyQ3hd72tssYykcE9wh3RXXRQQvsJ=Eg@HIDDEN> <CAEFOACbOfz2oO1sg9MRaFg_O11NFo5MLNt9BAvRDgRt3+jz+2Q@HIDDEN> <87wpc8bdjk.fsf@HIDDEN> <87sguctn78.fsf@HIDDEN> X-Now-Playing: Neil Young's _Tonight's the Night_: "Mellow My Mind" Date: Thu, 17 Sep 2020 20:59:01 +0200 In-Reply-To: <87sguctn78.fsf@HIDDEN> (Noam Postavsky's message of "Sat, 20 Apr 2019 16:51:23 -0400") Message-ID: <87r1r0kz62.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Noam Postavsky <npostavs@HIDDEN> writes: > I managed to get this applied; I've replaced the python-test.el > modifications, partly because they're written as updates to the existing > tests which makes them a bit harder to follow, and partly [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Noam Postavsky <npostavs@HIDDEN> writes: > I managed to get this applied; I've replaced the python-test.el > modifications, partly because they're written as updates to the existing > tests which makes them a bit harder to follow, and partly to make more > clear that the patch is below the 15 line copyright limit. > > I'll push to master in a week or so if there are no further comments. Looks like this was done, so I'm closing this bug report. commit 3fc1d77a43818666542740fc34167c1faee30d5f Author: Tommi Komulainen <tommi.komulainen@HIDDEN> AuthorDate: Fri Jun 19 18:53:52 2015 +0200 Commit: Noam Postavsky <npostavs@HIDDEN> CommitDate: Sun Apr 28 16:45:13 2019 -0400 python.el: Fix close paren indentation to match pep8 (Bug#20742) * lisp/progmodes/python.el (python-indent--calculate-indentation): When opening paren is followed by newline the closing paren should follow the current indentation. Otherwise the closing paren should be aligned with the opening paren. This fixes the latter case. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
Received: (at control) by debbugs.gnu.org; 17 Sep 2020 18:59:19 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 17 14:59:19 2020 Received: from localhost ([127.0.0.1]:39066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kIz7n-0007j0-BM for submit <at> debbugs.gnu.org; Thu, 17 Sep 2020 14:59:19 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1kIz7l-0007iX-GS for control <at> debbugs.gnu.org; Thu, 17 Sep 2020 14:59:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=BZS05FsPnjnQgQKOfDlhYV/HQ6d1kuTZlMN9KF0EeKs=; b=CPBFE+q0LtNyIxQacYi6sH5Aqy 3KCTneimvAnVoAx14EduGBolAtVOWxRY1uyHeGh+uizqnyIb7HvyNPDKCICLUrfsIEs4zrDTSMRsJ KgHUm4H9L5+PVPfBG/Zm8Kj3o7gOTNeEutFGuL0vNMa1eWE4e5KFT37YqPY7JUw+tFuU=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1kIz7d-0003qv-Nr for control <at> debbugs.gnu.org; Thu, 17 Sep 2020 20:59:11 +0200 Date: Thu, 17 Sep 2020 20:59:08 +0200 Message-Id: <87pn6kkz5v.fsf@HIDDEN> To: control <at> debbugs.gnu.org From: Lars Ingebrigtsen <larsi@HIDDEN> Subject: control message for bug #20560 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 20560 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) close 20560 quit
X-Loop: help-debbugs@HIDDEN Subject: bug#20560: bug#20742: 24.5; [PATCH] python.el: fix close paren indentation to match pep8 Resent-From: Noam Postavsky <npostavs@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 17 Sep 2020 19:23:01 +0000 Resent-Message-ID: <handler.20560.B20560.160037055216035 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 20560 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Lars Ingebrigtsen <larsi@HIDDEN> Cc: 20560 <at> debbugs.gnu.org Received: via spool by 20560-submit <at> debbugs.gnu.org id=B20560.160037055216035 (code B ref 20560); Thu, 17 Sep 2020 19:23:01 +0000 Received: (at 20560) by debbugs.gnu.org; 17 Sep 2020 19:22:32 +0000 Received: from localhost ([127.0.0.1]:39119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kIzUG-0004AY-AW for submit <at> debbugs.gnu.org; Thu, 17 Sep 2020 15:22:32 -0400 Received: from mail-oi1-f181.google.com ([209.85.167.181]:42494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <npostavs@HIDDEN>) id 1kIzUE-0004AL-Ux for 20560 <at> debbugs.gnu.org; Thu, 17 Sep 2020 15:22:31 -0400 Received: by mail-oi1-f181.google.com with SMTP id x14so3765823oic.9 for <20560 <at> debbugs.gnu.org>; Thu, 17 Sep 2020 12:22:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mJkoyD2rDdYCJayyMH8D1GHbRq6ytrxZ1PDqOT2w4X0=; b=oGv0UGgJ1CvJOSHxDhEoDQvG63NpvtfU4ade9FdiC5oRAga5TW/7AMYzetN+4uokzG qWPKHYbl7MIW8yXjRE/ObimzLzUf4/FCTHCLqN1Y+x/XYcfKg1rRYtAf1maxvfnX1BhD O8JOvne20EO4mxP8hjaZNNFx+FZq81saEYS00HDK2COOKN0M5xjFpSzCV9jP8r/mw+jm 5O/8qqUojVy+llHrUtH5PC9oRdSQ8Bn/gaKIeprVi9VK01IubC9ROmP+Kq1qhiwp48iA O9iilQc/qLVL/htsm5ATlpzcLbHEP0CU6jxLhUb3SkujOTL+yzTP0PSnGQNj3JPaCcPB ifJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mJkoyD2rDdYCJayyMH8D1GHbRq6ytrxZ1PDqOT2w4X0=; b=AiUoojpVnnI3dmlC0xHYepbK3TFz0x5j5XWoe07h22fu2rc04F335DYzGpiqDw4Ai9 1mdS0Mbt7s2+8ZFJfLqd+I7sC9BBZwEumkfCTaijvo3Zz9A7X3kMM2DFmyXlB6DrS5uY i0yUS34Vqssz9pPaA/VFD2oipWkvaNb94O3RX4bTv+0NHSk3wOfNzR16sFK+MhUFZhEE DNk9YqgV3S72Guue6nZW26I50DjssQk+wCIFQtVCQXF3TFE426b2a4fmHx+L5qLWh0j+ E8gh2W+BcLGnLMzB3kAYF7jUViYdkoUPLs9Fq/GxTFyu26C+1bENWeTPF3kuA0LXiaTL NFZQ== X-Gm-Message-State: AOAM530IFez38uuys/ce5To8CHQVha4OwM4iwitv5Zz6rlnQXOllyICC xnLKFojfqaFNgrNBDzgMEGPruTwRJA7Y0UJwNy8gKH15 X-Google-Smtp-Source: ABdhPJwibNpF9hQHYYroF4/tmNrNXuHRckTao6RGhgi1twQSW3PVm6d723UeygfsN/ADAtnCpR5q+q6rMvyGiCdfEA4= X-Received: by 2002:a05:6808:a9a:: with SMTP id q26mr6889271oij.87.1600370545292; Thu, 17 Sep 2020 12:22:25 -0700 (PDT) MIME-Version: 1.0 References: <CAEFOACZwFq7T-9yginNyQ3hd72tssYykcE9wh3RXXRQQvsJ=Eg@HIDDEN> <CAEFOACbOfz2oO1sg9MRaFg_O11NFo5MLNt9BAvRDgRt3+jz+2Q@HIDDEN> <87wpc8bdjk.fsf@HIDDEN> <87sguctn78.fsf@HIDDEN> <87r1r0kz62.fsf@HIDDEN> In-Reply-To: <87r1r0kz62.fsf@HIDDEN> From: Noam Postavsky <npostavs@HIDDEN> Date: Thu, 17 Sep 2020 15:22:10 -0400 Message-ID: <CAM-tV-9fQuwbAqHGLmOW_SzSSuFHkWvzFbzmryH45-PfECq1gA@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On Thu, 17 Sep 2020 at 14:59, Lars Ingebrigtsen <larsi@HIDDEN> wrote: > Looks like this was done, so I'm closing this bug report. > python.el: Fix close paren indentation to match pep8 (Bug#20742) > > * lisp/progmodes/python.el (python-indent--calculate-indentation): > When opening paren is followed by newline the closing paren should > follow the current indentation. Otherwise the closing paren should be > aligned with the opening paren. This fixes the latter case. ^^^^^^ You're mixing up bugs, I think. As far as I know, 20560/33979 isn't fixed. I had closed 20742/19906 already when pushing that commit.
X-Loop: help-debbugs@HIDDEN Subject: bug#20560: bug#20742: 24.5; [PATCH] python.el: fix close paren indentation to match pep8 Resent-From: Lars Ingebrigtsen <larsi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 18 Sep 2020 11:12:02 +0000 Resent-Message-ID: <handler.20560.B20560.16004275005522 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 20560 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Noam Postavsky <npostavs@HIDDEN> Cc: 20560 <at> debbugs.gnu.org Received: via spool by 20560-submit <at> debbugs.gnu.org id=B20560.16004275005522 (code B ref 20560); Fri, 18 Sep 2020 11:12:02 +0000 Received: (at 20560) by debbugs.gnu.org; 18 Sep 2020 11:11:40 +0000 Received: from localhost ([127.0.0.1]:41051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kJEIm-0001R0-4b for submit <at> debbugs.gnu.org; Fri, 18 Sep 2020 07:11:40 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1kJEIk-0001Qm-NK for 20560 <at> debbugs.gnu.org; Fri, 18 Sep 2020 07:11:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=gieM/uRg/BsZt+oHmMcFbUvo+juJhzUt9rr4+o8tNAk=; b=d/Ks1pyN3ZPXOVaGhWMxFs+eiJ +iH0+72pukVteR2Hf1Vm9U6IkFWnc0O86YYUt77WEnE3YzKXU4DQnv0cUZn0evBzfN8D/rKOgdy2Y xtmM9LrNBvRuM/w9PrYdA3OGsjlPuTDZQxG+fwUXKJWYIrvq2HAiVJVTbmzbYzlNzM1E=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1kJEIc-00052J-3T; Fri, 18 Sep 2020 13:11:32 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> References: <CAEFOACZwFq7T-9yginNyQ3hd72tssYykcE9wh3RXXRQQvsJ=Eg@HIDDEN> <CAEFOACbOfz2oO1sg9MRaFg_O11NFo5MLNt9BAvRDgRt3+jz+2Q@HIDDEN> <87wpc8bdjk.fsf@HIDDEN> <87sguctn78.fsf@HIDDEN> <87r1r0kz62.fsf@HIDDEN> <CAM-tV-9fQuwbAqHGLmOW_SzSSuFHkWvzFbzmryH45-PfECq1gA@HIDDEN> X-Now-Playing: Stina Nordenstam's _Dynamite_: "CQD" Date: Fri, 18 Sep 2020 13:11:28 +0200 In-Reply-To: <CAM-tV-9fQuwbAqHGLmOW_SzSSuFHkWvzFbzmryH45-PfECq1gA@HIDDEN> (Noam Postavsky's message of "Thu, 17 Sep 2020 15:22:10 -0400") Message-ID: <87ft7fjq5b.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Noam Postavsky <npostavs@HIDDEN> writes: > You're mixing up bugs, I think. As far as I know, 20560/33979 isn't > fixed. I had closed 20742/19906 already when pushing that commit. OK; reopening. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Noam Postavsky <npostavs@HIDDEN> writes: > You're mixing up bugs, I think. As far as I know, 20560/33979 isn't > fixed. I had closed 20742/19906 already when pushing that commit. OK; reopening. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
Received: (at fakecontrol) by fakecontrolmessage; To: internal_control <at> debbugs.gnu.org From: Debbugs Internal Request <help-debbugs@HIDDEN> Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Fri, 18 Sep 2020 11:12:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.