GNU bug report logs - #66406
Broken `re-search-forward' (?)

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <pogonyshev <at> gmail.com>

Date: Sun, 8 Oct 2023 10:37:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Pogonyshev <pogonyshev <at> gmail.com>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 66406 <at> debbugs.gnu.org
Subject: Re: bug#66406: Broken `re-search-forward' (?)
Date: Sun, 08 Oct 2023 14:41:38 +0300
> From: Paul Pogonyshev <pogonyshev <at> gmail.com>
> Date: Sun, 8 Oct 2023 12:35:47 +0200
> 
> In a recent Emacs master (as provided in Silex's Docker image):
> 
> $ emacs --batch --eval "(with-temp-buffer (insert \"\n;;;###autoload\n(defun ...)\n\") (goto-char 1) (print
> (re-search-forward \"^[[:space:]]*;;;###autoload[[:space:]]*$\" nil t)))"
> 
> Prints nil.
> 
> With every stable version of Emacs I have this prints 16.

Adding Stefan, who made some changes there recently.




This bug report was last modified 1 year and 223 days ago.

Previous Next


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