unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: rms@gnu.org
Cc: larsi@gnus.org, danielrichardgrayson@gmail.com, 55744@debbugs.gnu.org
Subject: bug#55744: infinite loop
Date: Tue, 07 Jun 2022 05:28:08 +0300	[thread overview]
Message-ID: <83y1y96wcn.fsf@gnu.org> (raw)
In-Reply-To: <E1nyL06-0000RB-AP@fencepost.gnu.org> (message from Richard Stallman on Mon, 06 Jun 2022 18:15:06 -0400)

> Cc: danielrichardgrayson@gmail.com, 55744@debbugs.gnu.org
> From: Richard Stallman <rms@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.





      parent reply	other threads:[~2022-06-07  2:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-31 19:49 bug#55744: infinite loop Daniel R. Grayson
2022-05-31 20:12 ` Lars Ingebrigtsen
2022-05-31 20:26   ` Daniel R. Grayson
2022-05-31 20:28     ` Lars Ingebrigtsen
2022-05-31 20:42       ` Daniel R. Grayson
2022-06-01  2:29         ` Lars Ingebrigtsen
2022-06-01 14:27           ` Daniel R. Grayson
2022-06-01 15:35             ` Lars Ingebrigtsen
2022-06-01 15:47               ` Daniel R. Grayson
2022-06-01 15:48                 ` Lars Ingebrigtsen
2022-06-06 22:15               ` Richard Stallman
2022-06-06 22:46                 ` Daniel R. Grayson
2022-06-07  2:28                 ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83y1y96wcn.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=55744@debbugs.gnu.org \
    --cc=danielrichardgrayson@gmail.com \
    --cc=larsi@gnus.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).