GNU bug report logs - #8504
add more query-replace choice keys

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Fri, 15 Apr 2011 01:45:02 UTC

Severity: wishlist

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 #13 received at 8504 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 8504 <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: Re: bug#8504: add more query-replace choice keys
Date: Wed, 11 May 2022 10:13:37 +0300
>> There should be a key to say "yes, replace this occurrence, but
>> keep the case exact"!
>>
>> That way one wouldn't have to fiddle with any other variables and also
>> have the flexibility of two types of case policy, all within the same
>> query-replace session!
>
> I think that sounds like a good idea -- I've often been frustrated by
> this.  I.e., if you have
>
> East
>
> and (query-replace "east" "west") and then hit `E' to edit to weST,
> it'll replace that with EaST.
>
> So a precise-edit command would be nice, where it would replace that
> with weST.

In Isearch the key `M-c' toggles case-fold searching.
Maybe the same key could toggle case-fold replacement in query-replace?




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

Previous Next


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