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 12:02:03 -0400
>> Similarly when I say `!` it should stop after every change that
>> encountered a not-yet-seen capitalization.
>
> Define "not yet seen capitalization".

I'm replacing "foo" with "bar", so at the start we know for sure:

- "foo" should be replaced by "bar"
- that's it, anything else is guesswork

We find "Foo", it's a not-yet-seen capitalization.
We propose "Bar" (which the user may accept of modify).
At that point we know:

- "foo" should be replaced by "bar"
- "Foo" should be replaced by "Bar" (or whichever alternative the user
  provided instead).
- that's it, anything else is guesswork

When we find "fOo", it's a not-yet-seen capitalization, so we have to
ask the user again, ...


        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.