From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lele Gaifax Newsgroups: gmane.emacs.bugs Subject: bug#62031: 29.0.60; python-mode indentation after re.match Date: Thu, 09 Mar 2023 16:44:40 +0100 Message-ID: <874jquudxz.fsf@metapensiero.it> References: <5ea3a37a-4e43-4ede-9f96-7159f54272e8@yandex.ru> <87bkl4y5gw.fsf@metapensiero.it> <87wn3rk7bk.fsf@metapensiero.it> <69793abf-3d2f-2dbe-698b-877ededfc56b@yandex.ru> <875ybb9kry.fsf@metapensiero.it> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19519"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Rob Moss , 62031@debbugs.gnu.org, Dmitry Gutov To: kobarity , Ruijie Yu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 09 16:45:25 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1paISK-0004ts-S0 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Mar 2023 16:45:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paIS0-0006Bv-CW; Thu, 09 Mar 2023 10:45:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paIRy-00065t-Hi for bug-gnu-emacs@gnu.org; Thu, 09 Mar 2023 10:45:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1paIRx-0002aG-V4 for bug-gnu-emacs@gnu.org; Thu, 09 Mar 2023 10:45:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1paIRx-0005U2-RI for bug-gnu-emacs@gnu.org; Thu, 09 Mar 2023 10:45:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lele Gaifax Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Mar 2023 15:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62031 X-GNU-PR-Package: emacs Original-Received: via spool by 62031-submit@debbugs.gnu.org id=B62031.167837669321048 (code B ref 62031); Thu, 09 Mar 2023 15:45:01 +0000 Original-Received: (at 62031) by debbugs.gnu.org; 9 Mar 2023 15:44:53 +0000 Original-Received: from localhost ([127.0.0.1]:52907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paIRo-0005TQ-OA for submit@debbugs.gnu.org; Thu, 09 Mar 2023 10:44:52 -0500 Original-Received: from orphu.arstecnica.it ([178.63.97.204]:53390) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paIRl-0005TE-TT for 62031@debbugs.gnu.org; Thu, 09 Mar 2023 10:44:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=metapensiero.it; s=mail; t=1678376686; bh=Ci88Q2uI4f+pR7C7s/09+CAdrroVgpnyA/MtLdedRDI=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=ZqiPbAY9XzvsRrkHldRpXSCohlwFWlmicJIi4SCxnQmmHSA47GkZsJY11ULmeVXbx bRrVFGM2P4blc7aiELMJwDQUYxLQdjYDornltvRYnTPyFiyMHT3ygeuU9yR1Z5yFD0 tLbf0MLAGHTnMHmh8Wug8SBJftOBE3H2bxYqL+T8= In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:257626 Archived-At: kobarity writes: > Ruijie Yu wrote: >> As I mentioned in the other subthread, there is a variation to this >> issue that remains unfixed. The following test case, a slightly >> modified version of the test case in your commit, has failed (tested on >> 7e1012765c40): > > I think it's better to check the block-start is located at the > beginning of the line. Attached is a patch which can pass the test > case. Yes, that's indeed what I initially tried to do, but in the wrong way (that is, attempting to over-complicate the regexp) :-) Thank you! bye, lele.