From: "Daniel R. Grayson" <danielrichardgrayson@gmail.com>
To: rms@gnu.org
Cc: Lars Ingebrigtsen <larsi@gnus.org>, 55744@debbugs.gnu.org
Subject: bug#55744: infinite loop
Date: Mon, 6 Jun 2022 15:46:02 -0700 [thread overview]
Message-ID: <CABWu70EjPu37RwVJHtkkwZF50usJFZJJ3evq_6jXXhFksUw2jQ@mail.gmail.com> (raw)
In-Reply-To: <E1nyL06-0000RB-AP@fencepost.gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1015 bytes --]
Conceivably, although I wasn't referring to the manual, even after I
isolated the offending
regexp.
On Mon, Jun 6, 2022 at 3:15 PM Richard Stallman <rms@gnu.org> wrote:
> [[[ 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)
>
>
>
[-- Attachment #2: Type: text/html, Size: 1677 bytes --]
next prev parent reply other threads:[~2022-06-06 22:46 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 [this message]
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=CABWu70EjPu37RwVJHtkkwZF50usJFZJJ3evq_6jXXhFksUw2jQ@mail.gmail.com \
--to=danielrichardgrayson@gmail.com \
--cc=55744@debbugs.gnu.org \
--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).