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


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

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: Re: bug#65347: 29.1; Underscore in query replace prevents
 case-matching
Date: Fri, 18 Aug 2023 09:04:57 +0300
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: Eli Zaretskii <eliz <at> gnu.org>,  65347 <at> debbugs.gnu.org
> Date: Thu, 17 Aug 2023 22:04:53 -0400
> 
> > Although, a further relevant question: is there some way to make _ not
> > be a word separator, in this specific context?  Without changing the
> > syntax table of the buffer overall?  So that foo_bar is interpreted as
> > one word?
> 
> There's `superword-mode`, but I suspect that query-replace does not
> honor it in this case.  Could be considered as a bug in
> `superword-mode`.

Actually, I think it's a bug in replace-match: it doesn't honor
find-word-boundary-function-table.  I think it should.  Patches
welcome.




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.