GNU bug report logs - #46783
Catch mistaken (query-replace "a" "a")

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Thu, 25 Feb 2021 22:28:01 UTC

Severity: wishlist

Tags: notabug

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

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 46783 <at> debbugs.gnu.org,
 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Subject: Re: bug#46783: Catch mistaken (query-replace "a" "a")
Date: Sat, 27 Feb 2021 05:15:19 +0100
Robert Pluim <rpluim <at> gmail.com> writes:

> I find the following quite useful:
>
> (require 'char-fold)
> (setq replace-char-fold t)
> C-x 8 RET e1 RET
> (goto-char (point-min)
> M-x query-replace RET a RET a

Right.  So there are at least two use cases for doing
(query-replace "a" "a"), so having `query-replace' query the user here
seems like it would be annoying.

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 4 years and 84 days ago.

Previous Next


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