From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74738: 31.0.50; Freezes in Python-mode on some Python file when searching or scrolling Date: Sun, 15 Dec 2024 10:03:33 -0500 Message-ID: References: <868qsqf54x.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6660"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: rehan malak , Eli Zaretskii , 74738@debbugs.gnu.org To: kobarity Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 15 16:04:50 2024 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 1tMqAo-0001NQ-SK for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Dec 2024 16:04:47 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMqAO-0005Ie-KM; Sun, 15 Dec 2024 10:04:24 -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 1tMqA7-0005Du-AV for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2024 10:04:05 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tMqA7-0002uN-1W for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2024 10:04:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=lTOnfGj2k4307iN+7ddLA77R3UIjX9Bfc2WUmIaZOzw=; b=PfsLIi/o8C62BxKGdkgggYUtmUlMNDp+QFPVrapog0qFufopTXkHIZ3nLKLawtWDwjUc7I00ug0MIc06eBo+HAQV2WO2GCVkhdsSn3LF2GZplSJx4RbMIt+cDTSaJCT9gEniHTRcR5+dgX+ssEzdRu92RfpM106TSTngcE0mEfibDxEwpOglKp28Ld4eTxYzCTeDQcTY/O5AddXQP4TNUSHzltI1zeGCTbTSeQ5Pti80B+z6wK9xinmt3nM8m5RFzJ7pa0bRFeJY+QoKS7OMXbQhnVqFCHB+M0tM/8zVwfXblkCarcLfuebEKJyMiVB9t5iD8dpv9taJCUSjz0+Z4g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tMqA6-0002Th-Nu for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2024 10:04:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Dec 2024 15:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74738 X-GNU-PR-Package: emacs Original-Received: via spool by 74738-submit@debbugs.gnu.org id=B74738.17342750309496 (code B ref 74738); Sun, 15 Dec 2024 15:04:02 +0000 Original-Received: (at 74738) by debbugs.gnu.org; 15 Dec 2024 15:03:50 +0000 Original-Received: from localhost ([127.0.0.1]:51586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMq9t-0002T6-In for submit@debbugs.gnu.org; Sun, 15 Dec 2024 10:03:49 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:44655) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMq9q-0002Sn-5D for 74738@debbugs.gnu.org; Sun, 15 Dec 2024 10:03:46 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id BE38580030; Sun, 15 Dec 2024 10:03:39 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1734275014; bh=EgYrKVZAeugh2PqQInDCZjwuL7w645F/GUakz2Jli9s=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=L5jbyuvOMGxh7iI8CTVLZQ08sBwnW0z9I3ccWQuRIyOi7N6OO+4fMD5HMgwgkyymT N6Xx089fVOGs5uTA9JXSXYA5WawQAK1DQj7foLxG6iqydq+SLfWyvNjiWkyOfm1fmz b/S0ffZQd/s/fdbS8FEzxHgiwBlAF3qsalicNIRW9Soxa4cfgOb1PXZdrPCcXdwkqq DtZR2Zk8q+vmB3no2ecX991vN2Z6AsDIGTXdtozKMubfBH1wtvik8OyZsXe2WsK2Bi hsMD8iAzmd8jO2tbQpHP26PC4uEEsbVMMV8WX6uPuFUhxAtOXY8v0to9mzntciR+I0 y+a7mPKLEwebg== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id CE18380152; Sun, 15 Dec 2024 10:03:34 -0500 (EST) Original-Received: from pastel (104-195-225-43.cpe.teksavvy.com [104.195.225.43]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 95FDF12055E; Sun, 15 Dec 2024 10:03:34 -0500 (EST) In-Reply-To: (kobarity@gmail.com's message of "Sun, 15 Dec 2024 23:26:05 +0900") 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:297110 Archived-At: >> > Hangs on gef.py can also be avoided with this patch, but it assumes >> > that the braces are properly closed. If you remove the closing braces >> > of expressions containing "#", it will eventually hang. >> >> Hmm... > > Narrowing might improve it, but what about binding > `forward-sexp-function' to nil as well, as in the attached patch? Oh, of course, yes! Thanks, pushed! Stefan