From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74738: 31.0.50; Freezes in Python-mode on some Python file when searching or scrolling Date: Sat, 21 Dec 2024 11:50:58 +0200 Message-ID: <864j2x8iv1.fsf@gnu.org> References: <868qsqf54x.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31608"; mail-complaints-to="usenet@ciao.gmane.io" Cc: kobarity@gmail.com, rehan.malak@gmail.com, 74738@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 21 10:52:20 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 1tOw9k-00084o-0A for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Dec 2024 10:52:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOw9T-0002s2-NY; Sat, 21 Dec 2024 04:52:03 -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 1tOw9S-0002rt-J8 for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 04:52:02 -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 1tOw9S-0001sk-AK for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 04:52:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=o2VL6BWyMtnOGF5eRJTTsznw9m3H63MDzdNuKyeZtmA=; b=L8qKFGteDnM5I3OH88faIjJOG15hCMXoKCMEw/+dG+SdKRruUg3dVc3olkMrDJAM/WlSBPFAScbTnhsa2jbFmbopL9REo4OfP+8UdrtOjeQQBtvqyiFkZUcCpvXSK3HFLHfkuLDu5mdVmNLAD5wehc1pPjYpp9QWTSGSpwm0eSBPOI48yjtj2FZEYKqSjMioSO1OyIyNqIuMqNQjVgZy+5QoZ7C5VQpBYCb49kQxkBGHaYQKckDx6QDZZDp8xnN5J3jMUyFrMd39zpIXQo0M3zvnpNCOlZ6lMg4YQSVVvWXUuOeo4rzxAyfygHwUwnzNfk33fVaJdUdRQR8VHpv9Wg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tOw9S-0008OZ-4u for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 04:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Dec 2024 09:52: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.173477467032195 (code B ref 74738); Sat, 21 Dec 2024 09:52:02 +0000 Original-Received: (at 74738) by debbugs.gnu.org; 21 Dec 2024 09:51:10 +0000 Original-Received: from localhost ([127.0.0.1]:45331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOw8c-0008N9-CP for submit@debbugs.gnu.org; Sat, 21 Dec 2024 04:51:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:32912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOw8Z-0008Mn-Ql for 74738@debbugs.gnu.org; Sat, 21 Dec 2024 04:51:08 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tOw8T-0001Uc-Sb; Sat, 21 Dec 2024 04:51:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=o2VL6BWyMtnOGF5eRJTTsznw9m3H63MDzdNuKyeZtmA=; b=dRIFh5pTv9ck 4BgMDOAIP7G7xjQzVMKqo4EkI5lW9lDqnbPfR+7fXlF5V55HtqRwodnQQLvsk54vy+O8tAv0eByHV PTv2Rhvc8zD0P0ON8XVYJ06iKq5QFiNQcl2Aw16OqbHAUPNfl7hqjEuje9azeB1vixZyE8RCI7n34 mIVZfe8zXpN3kchNL6aMs40iRvWz1WIxXOoVE9k6Nr0oRaZOHYF95WTGKQZZDaTaTGduqoh76ZPce lzj69FIrx0F7LONipDoS2kXUmmlf9K/XRjx2Nb3UrPsf4jo+fHhJE3FsibaPoORq+yWuabJHp7VQJ zCD9W+B1862t+bOfdrhKQw==; In-Reply-To: (message from Stefan Monnier on Sun, 15 Dec 2024 10:03:33 -0500) 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:297510 Archived-At: > From: Stefan Monnier > Cc: rehan malak , Eli Zaretskii , > 74738@debbugs.gnu.org > Date: Sun, 15 Dec 2024 10:03:33 -0500 > > >> > 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! Thanks, should we now close this bug?