GNU bug report logs - #71879
30.0.60; Docstring error in NOERROR argument part of re-search-forward

Previous Next

Package: emacs;

Reported by: Gerard Vermeulen <gerard.vermeulen <at> posteo.net>

Date: Mon, 1 Jul 2024 16:14:01 UTC

Severity: normal

Found in version 30.0.60

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

Bug is archived. No further changes may be made.

Full log


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

From: Gerard Vermeulen <gerard.vermeulen <at> posteo.net>
To: Bug gnu emacs <bug-gnu-emacs <at> gnu.org>
Subject: 30.0.60; Docstring error in NOERROR argument part of re-search-forward
Date: Mon, 01 Jul 2024 16:13:38 +0000
Hello,

The last "if" clause in the NOERROR part of the re-search-forward 
docstring
is wrong.

It reads "if it is neither nil nor t, move to the limit of search and 
return nil."

but if NOERROR equals neither nil nor t re-search-forward returns the 
start
position of the match (when found) or nil (when no match found).

See for instance: (info "(Eintr) the-the")

By the way: using the-the finds a duplication "is is" in the NEWS file 
but I
am unsure whether this merits a bug report.

Regards -- Gerard








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

Previous Next


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