GNU bug report logs - #734
23.0.60; Interactively use a list argument to replace-string + missing documentation

Previous Next

Package: emacs;

Reported by: Nikos Apostolakis <nikos.ap <at> gmail.com>

Date: Sat, 16 Aug 2008 23:45:04 UTC

Severity: wishlist

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Nikos Apostolakis <nikos.ap <at> gmail.com>
Cc: rfrancoise <at> debian.org, 734 <at> debbugs.gnu.org
Subject: bug#734: 23.0.60; Interactively use a list argument to replace-string + missing documentation
Date: Mon, 30 Sep 2019 08:06:51 +0200
Nikos Apostolakis <nikos.ap <at> gmail.com> writes:

> I learned from a post in gnu.emacs.help that the second argument to
> replace-string can be a list of strings.  In this case the elements of
> the list are used in cyclic order.  It appears that this feature can't 
> be used when the function is used interactively.  I think this can be 
> a very useful feature and should probably be accessible interactively. 
>
> Also this behavior is not documented in the doc string or the info page 
> of replace-string -- although it is documented in the info page for
> perform-replace function.

The underlying function supports a complex list of replacements, but
`replace-match' does not: It's an interactive-only function, and
entering a list of strings interactively doesn't make much sense.

So I'm closing this bug report.

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




This bug report was last modified 5 years and 315 days ago.

Previous Next


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