GNU bug report logs - #65347
29.1; Underscore in query replace prevents case-matching

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> janestreet.com>

Date: Wed, 16 Aug 2023 21:28:02 UTC

Severity: normal

Found in version 29.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: sbaugh <at> janestreet.com, 65347 <at> debbugs.gnu.org
Subject: bug#65347: 29.1; Underscore in query replace prevents case-matching
Date: Sat, 19 Aug 2023 17:50:32 +0300
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: sbaugh <at> janestreet.com,  65347 <at> debbugs.gnu.org
> Date: Sat, 19 Aug 2023 10:39:02 -0400
> 
> >> Personally (as a user) the functionality I'd prefer is the following:
> >> When the matched string does not have the same capitalization as the search
> >> pattern, I'd like Emacs to guess what should be the capitalization of
> >> the replacement and ask me to confirm its guess.
> > This already happens?  M-% shows you the replacement in the exact
> > capitalization it will insert, _after_ the guesswork.  And you are
> > already requested to confirm each replacement.  So what is missing?
> 
> When the guesswork is wrong I find it cumbersome to fix it.
> I'd like to be able to edit it right there and that the result
> is remembered for the next time the same capitalization is found.

If C-r is inconvenient, then I guess we need some minor variation of
the existing commands e and E?

And what do you mean by "remembered for the next time", when the only
difference is in letter-case?




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

Previous Next


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