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#55744: infinite loop Date: Tue, 07 Jun 2022 05:28:08 +0300 Message-ID: <83y1y96wcn.fsf@gnu.org> References: <878rqh4g1z.fsf@gnus.org> <874k154fbj.fsf@gnus.org> <87v8tl2k18.fsf@gnus.org> <87a6aw4ct3.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29154"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, danielrichardgrayson@gmail.com, 55744@debbugs.gnu.org To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 07 04:29:10 2022 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 1nyOxy-0007Rp-8h for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Jun 2022 04:29:10 +0200 Original-Received: from localhost ([::1]:48280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyOxw-0002qk-Os for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Jun 2022 22:29:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyOxq-0002qN-IE for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2022 22:29:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43325) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nyOxq-0005kg-9O for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2022 22:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nyOxq-000624-4L for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2022 22:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Jun 2022 02:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55744 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug moreinfo Original-Received: via spool by 55744-submit@debbugs.gnu.org id=B55744.165456890923148 (code B ref 55744); Tue, 07 Jun 2022 02:29:02 +0000 Original-Received: (at 55744) by debbugs.gnu.org; 7 Jun 2022 02:28:29 +0000 Original-Received: from localhost ([127.0.0.1]:37222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyOxI-00061I-MD for submit@debbugs.gnu.org; Mon, 06 Jun 2022 22:28:28 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyOxF-000614-Gg for 55744@debbugs.gnu.org; Mon, 06 Jun 2022 22:28:27 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52640) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyOxA-0005hF-5D; Mon, 06 Jun 2022 22:28:20 -0400 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=V6IHao+QVTkUWwxKOaWHIRhqnZ9IdRL+6jy7AABDO6g=; b=Nr0OJjkvrzXU QbJ/fU/XvVCCq7b/eNW6j1cRHzaZm0UDYR0Bro+5Hcg9SNQnyVOQEWgVyFI7SVNOujllHd1srboHQ g17YFv8BbfRMxuI9rS21NARwMHWru3ikALJhG8mpEHVnT4YOXrrv/fkmmPL0vuirjoBt9HRaYaiem 3VH6/X8fEpWe+44bWoUU8rt8nTDFZNC1gNs/RloanJytp4/kwAWAQqIa1iAseFoSKo4HLacvnF5b3 MbjizV0XoLW1TIUnRNLQmqOnz1HFoNZfTcwthIvhRfwCiAV/NP1CuDbzlshpxari8VpOCguTbllHJ +2owH6o+wFAe+KnO+iUL4g==; Original-Received: from [87.69.77.57] (port=3901 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyOx9-0007tl-7j; Mon, 06 Jun 2022 22:28:19 -0400 In-Reply-To: (message from Richard Stallman on Mon, 06 Jun 2022 18:15: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" Xref: news.gmane.io gmane.emacs.bugs:233831 Archived-At: > Cc: danielrichardgrayson@gmail.com, 55744@debbugs.gnu.org > From: Richard Stallman > Date: Mon, 06 Jun 2022 18:15:06 -0400 > > > That's a regexp with a lot of backtracking, I think (i.e., elements that > > can be matched both by the ?'s as well as the two *'s). So matching > > this will be slow, which results in the hangs you're seeing when Emacs > > is trying to match that to the text in the buffer. > > Would it make sense to say more about this point in the Emacs Lisp Manual > where it describes regexps? I think we already do, see the node "Regexp Problems" there.