GNU bug report logs - #54218
[PATCH] Magic number regexp shouldn't match beyond end-of-line.

Previous Next

Package: emacs;

Reported by: "Andrew L. Moore" <slewsys <at> gmail.com>

Date: Wed, 2 Mar 2022 04:53:01 UTC

Severity: normal

Tags: patch

Fixed in version 29.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Andrew L. Moore" <slewsys <at> gmail.com>
Cc: 54218 <at> debbugs.gnu.org
Subject: Re: bug#54218: [PATCH] Magic number regexp shouldn't match beyond
 end-of-line.
Date: Thu, 03 Mar 2022 15:42:43 +0100
"Andrew L. Moore" <slewsys <at> gmail.com> writes:

> Repeat magic number search to work around match-data loss
> when `save-window-excursion' is called.

I think it would perhaps make more sense to just save the match data
instead of repeating the match, so I've now done so in Emacs 29

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 77 days ago.

Previous Next


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