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: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
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 10:52:02 -0400
Stefan Monnier [2023-08-19 10:39:02] wrote:
> 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.

Admittedly, another problem is that I'm usually looking at the buffer
text that's about to be changed, rather than looking at the minibuffer
showing me what the text will change to, so I usually notice only after
the fact that the change was wrong :-(

So maybe what I want is something like:

1. like we do now, highlight the text to be changed and ask y/n whether
   to make the change (I likely won't see the exact question in the
   minibuffer at that point).
2. if I say `y` but the capitalization of the change is the result of
   guesswork, stop right after making the change, highlight it, and ask
   again whether that was good, letting me edit it before continuing.

Similarly when I say `!` it should stop after every change that
encountered a not-yet-seen capitalization.


        Stefan





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.