GNU bug report logs - #10118
C-w folds case too eagerly

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Wed, 23 Nov 2011 14:32:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Juri Linkov <juri <at> jurta.org>
Cc: 10118 <at> debbugs.gnu.org
Subject: bug#10118: C-w folds case too eagerly
Date: Thu, 01 Dec 2011 14:45:17 -0500
>> % emacs -Q
>> TOTORO TOTO M-b
>> C-r C-w RO
>> 
>> this fails to find "TOTORO" because we end up looking for "totoRO"
>> (without ignoring case) rather than "TOTORO".

> Sorry, I don't know how to solve this puzzle.  The value `not-yanks'
> of `search-upper-case' explicitly tells Isearch to downcase the word
> pulled from the buffer.

I know, but I think it's wrong.  I think that rather than downcase it,
it should only cause the case to stay ignored.  The behavior I'd expect
is something like:

- C-r C-w leads to "I-search: toto", which hides the uppercase nature of
  the yanked string, but doesn't actually throw it away.
- then typing "RO" leads to "I-search: TOTORO", where TOTO's uppercase
  nature is made explicit.


        Stefan




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

Previous Next


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