GNU bug report logs - #58177
Return value of perform-replace and its documentation string

Previous Next

Package: emacs;

Reported by: Ruy Exel <ruyexel <at> gmail.com>

Date: Thu, 29 Sep 2022 18:04:01 UTC

Severity: normal

Tags: moreinfo

Fixed in version 29.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Ruy Exel <ruyexel <at> gmail.com>
Cc: 58177 <at> debbugs.gnu.org
Subject: Re: bug#58177: Return value of perform-replace and its
 documentation string
Date: Fri, 30 Sep 2022 15:25:45 +0200
Ruy Exel <ruyexel <at> gmail.com> writes:

> Thus, I would like to add a feature request to this bug report, namely
> that the return value of perform-replace, in case it is canceled by
> the user, be changed from nil to some other value reflecting the
> replacements considered before the cancel request.

Yes, I think that makes sense.  An alternate value would be to return a
list of all considered replacements, but marking all the ones after the
`q' the same way as the `n's are marked.  I.e., `q' as a way of saying
"skip all the rest", which it is, in a way.

Anybody have any opinions here?




This bug report was last modified 2 years and 228 days ago.

Previous Next


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