unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: danielrichardgrayson@gmail.com, 55744@debbugs.gnu.org
Subject: bug#55744: infinite loop
Date: Mon, 06 Jun 2022 18:15:06 -0400	[thread overview]
Message-ID: <E1nyL06-0000RB-AP@fencepost.gnu.org> (raw)
In-Reply-To: <87a6aw4ct3.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed,  01 Jun 2022 17:35:04 +0200)

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > 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?

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)







  parent reply	other threads:[~2022-06-06 22:15 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 [this message]
2022-06-06 22:46                 ` Daniel R. Grayson
2022-06-07  2:28                 ` Eli Zaretskii

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=E1nyL06-0000RB-AP@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=55744@debbugs.gnu.org \
    --cc=danielrichardgrayson@gmail.com \
    --cc=larsi@gnus.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).