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: Juri Linkov <juri <at> jurta.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 10118 <at> debbugs.gnu.org, Dani Moncayo <dmoncayo <at> gmail.com>
Subject: bug#10118: Fwd: GNU bugs information: logs for bug#10118
Date: Tue, 05 Mar 2024 18:32:11 +0200
>> I've been thinking a bit about this, and I'd like to propose this
>> solution:
>>
>> 1. Never downcase the text yanked into the search ring, because we
>> must remember the original text supplied by the user.  This implies
>> that the variable `search-upper-case' will not care about the value
>> `not-yanks' anymore.
>>
>> 2. When `search-upper-case' is non-nil, upper case chars will make the
>> search case-sensitive, but only when typed right from the keyboard,
>> i.e., not when grabbing text from another place (kill ring, buffer or
>> whatever).  This way, the search will be case-insensitive by default
>> (quite reasonable), and will only switch to case-sensitive under
>> explicit request from the user (either by _typing_ an upper case char
>> or "M-c").
>>
>> WDYT?
>
> Sounds good to me!

Then UI won't be WYSIWYG.  There will be upper-case characters
in the isearch message, but the search will ignore them.




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.