From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gabriel Brown Newsgroups: gmane.emacs.bugs Subject: bug#62325: Python quotes/apostrophes can cause hang Date: Tue, 04 Apr 2023 18:23:29 -0500 Message-ID: <5B6MSR.BTBJHTFF416J1@gmail.com> References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-KZVAQagRZpQAivy8Yibu" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16109"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62325@debbugs.gnu.org To: kobarity Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 05 09:32:22 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 1pjxd0-00041r-Hc for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Apr 2023 09:32:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pjxck-0006LE-Fu; Wed, 05 Apr 2023 03:32:06 -0400 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 1pjxci-0006Ij-Rd for bug-gnu-emacs@gnu.org; Wed, 05 Apr 2023 03:32:04 -0400 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 1pjxci-00056E-FS for bug-gnu-emacs@gnu.org; Wed, 05 Apr 2023 03:32:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pjxch-00040X-Af for bug-gnu-emacs@gnu.org; Wed, 05 Apr 2023 03:32:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gabriel Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Apr 2023 07:32:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62325 X-GNU-PR-Package: emacs Original-Received: via spool by 62325-submit@debbugs.gnu.org id=B62325.168067987215308 (code B ref 62325); Wed, 05 Apr 2023 07:32:03 +0000 Original-Received: (at 62325) by debbugs.gnu.org; 5 Apr 2023 07:31:12 +0000 Original-Received: from localhost ([127.0.0.1]:50770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjxbr-0003yl-Ot for submit@debbugs.gnu.org; Wed, 05 Apr 2023 03:31:12 -0400 Original-Received: from mail-oi1-f181.google.com ([209.85.167.181]:34636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjq06-0004CL-9I for 62325@debbugs.gnu.org; Tue, 04 Apr 2023 19:23:43 -0400 Original-Received: by mail-oi1-f181.google.com with SMTP id w133so25474675oib.1 for <62325@debbugs.gnu.org>; Tue, 04 Apr 2023 16:23:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680650616; h=mime-version:references:in-reply-to:message-id:cc:to:subject:from :date:from:to:cc:subject:date:message-id:reply-to; bh=bj9bSp7LsMxDKqS7eMVIVoebxFrcFECvDrTSD1j862U=; b=EvYU2PyZ7FQrmZrxHssgovCNiGMf3iFdWvkF2h4sMbN3J4/x4ZVku0vAEmW3NloO79 W4nsAVuegQbNn/JydtvbPLeB4NEkxXfWTluGDp4O76Y7eCHZnaRnsk04FxTL3833xjat RNofKUB7Y1oqqLk7kopE00l4AnlykBWUKW4LH6A7hs0QlfCTeC6hEoIFG2DgRK2Tqidj xdyNJzrlNyHDQbGx2XmUOLunKr8lw3GqYJRrKB9dJueEVFFzZ0Yv7NT4eCLj6tyN5r7m D6aQ8W0ruBNEonG1H4/it97YZHXtUP5rEIWeVz40nbsMY2N0ZCLeTuQMgV9L2HnvkJP0 uIWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680650616; h=mime-version:references:in-reply-to:message-id:cc:to:subject:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bj9bSp7LsMxDKqS7eMVIVoebxFrcFECvDrTSD1j862U=; b=eGTMQD+/YvXFJBlS1b+Ej4o5dqa+naqAGF4Ppaa4KEKQIn6pMaFwTrADhKjuVYYGQt 01TZWkgDFMGgkNpObPgl0Ak5+8ZVYssPiVlLjd5DiMeorbu1FgksBbLSKtK/hC4BEcqy fA9NtSJTGUpl/njfPd5JY5tFS4JyXtERytEWgWxlUWPABMsKgG/tWw2aNX1c1jWp4ZTQ WLB6ZXTCbwjvNnUk37WdULjXBAQ6il2RFNEzFymKLiTWYmpu15PaVnIJh9KHLdWctlv9 t3T32lpThkx0qKsOPrMo9VjowsQs0VaIn3iwmldNJOXCcwGO61BDs0S4CgrCVSwDi9EZ fYcQ== X-Gm-Message-State: AAQBX9dlDRfh+6YGAE8WJ2Y8CA0crn2m6J2wWK5q6mTt2yFFvARc0hjp 1LUVWttaddW7ck39tHWE+g== X-Google-Smtp-Source: AKy350aDTrffVGeyQ0T0OGlBuleLVSAJEgO897BiSt0roJY+udD63qxlJDR/ERKe3Y/wJblizoDbeQ== X-Received: by 2002:a05:6808:8ef:b0:389:263d:e6be with SMTP id d15-20020a05680808ef00b00389263de6bemr1942974oic.42.1680650616404; Tue, 04 Apr 2023 16:23:36 -0700 (PDT) Original-Received: from [10.145.38.123] (nat-128-62-18-104.public.utexas.edu. [128.62.18.104]) by smtp.gmail.com with ESMTPSA id m24-20020a05680806d800b0037b6f5d6309sm5710176oih.2.2023.04.04.16.23.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 16:23:35 -0700 (PDT) In-Reply-To: X-Mailer: geary/43.0 X-Mailman-Approved-At: Wed, 05 Apr 2023 03:31:06 -0400 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:259251 Archived-At: --=-KZVAQagRZpQAivy8Yibu Content-Type: text/plain; charset=us-ascii; format=flowed Apologies for the delay. I finally came into some time to switch Emacs versions, and using the makepkg branch for Emacs 29 I no longer see the issue I reported. Thanks again! On Tue, Mar 21 2023 at 08:45:28 PM +09:00:00, kobarity wrote: > > Gabriel Brown wrote: >> It seems when there are three or more python docstrings (each >> bordered by two lines of triple quotes """) and each >> containing an apostrophe, then the next time a quote docstring is >> to be inserted Emacs hangs. > > Hi Gabriel, > > From my testing of your example, the problem appears to be fixed with > the #58780 fix. Can you test with the latest Emacs in emacs-29 branch > or master branch? Or you can try the patch attached in #58780. --=-KZVAQagRZpQAivy8Yibu Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: quoted-printable
Apologies for the delay. I finally came= into some time to switch Emacs versions, and using the makepkg branch for = Emacs 29 I no longer see the issue I reported.

Thanks again!


On = Tue, Mar 21 2023 at 08:45:28 PM +09:00:00, kobarity <kobarity@gmail.com&= gt; wrote:
Gabriel Brown wrote:
It seems when there are three or more python docstrings (each = bordered by two lines of triple quotes """) and each containing an apostrophe, then the next time a quote docstring is to be in= serted Emacs hangs.
Hi Gabriel, >From my testing of your example, the problem appears to be fixed with the #58780 fix. Can you test with the latest Emacs in emacs-29 branch or master branch? Or you can try the patch attached in #58780.
--=-KZVAQagRZpQAivy8Yibu--