GNU bug report logs - #55744
infinite loop

Previous Next

Package: emacs;

Reported by: "Daniel R. Grayson" <danielrichardgrayson <at> gmail.com>

Date: Tue, 31 May 2022 19:51:01 UTC

Severity: normal

Tags: moreinfo, notabug

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #47 received at 55744 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: rms <at> gnu.org
Cc: larsi <at> gnus.org, danielrichardgrayson <at> gmail.com, 55744 <at> debbugs.gnu.org
Subject: Re: bug#55744: infinite loop
Date: Tue, 07 Jun 2022 05:28:08 +0300
> Cc: danielrichardgrayson <at> gmail.com, 55744 <at> debbugs.gnu.org
> From: Richard Stallman <rms <at> gnu.org>
> 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.




This bug report was last modified 2 years and 351 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.