GNU bug report logs - #65536
30.0.50; replace-regexp-in-string documentation does not mention it saves match data

Previous Next

Package: emacs;

Reported by: Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>

Date: Fri, 25 Aug 2023 13:18:01 UTC

Severity: normal

Tags: notabug, wontfix

Found in version 30.0.50

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

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: 65536 <at> debbugs.gnu.org, jschmidt4gnu <at> vodafonemail.de
Subject: Re: bug#65536: 30.0.50; replace-regexp-in-string documentation does
 not mention it saves match data
Date: Sat, 26 Aug 2023 12:09:57 +0300
tags 65536 notabug wontfix
close 65536
thanks

> From: Stefan Kangas <stefankangas <at> gmail.com>
> Date: Sat, 26 Aug 2023 10:40:18 +0200
> Cc: Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>, 65536 <at> debbugs.gnu.org
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > I think it's okay to leave things as they are.
> >
> > Stefan, WDYT?
> 
> We do not want to change replace-regexp-in-string's behavior.  This
> goes without saying IMO, and needs no documentation changes.
> 
> I also see nothing highly surprising or unusual about it saving match
> data.  Interested users can easily read the code to see if it does,
> just like Jens did.
> 
> So I also think it's fine not to change anything here, on balance.

Thanks, so I'm closing this bug.




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

Previous Next


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