GNU bug report logs - #26580
25.1; inappropriate case folding while isearch-forward-regexp

Previous Next

Package: emacs;

Reported by: ynyaaa <at> gmail.com

Date: Thu, 20 Apr 2017 17:57:02 UTC

Severity: normal

Found in version 25.1

Full log


View this message in rfc822 format

From: Tino Calancha <tino.calancha <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: ynyaaa <at> gmail.com, juri <at> linkov.net, schwab <at> linux-m68k.org, 26580 <at> debbugs.gnu.org, Tino Calancha <tino.calancha <at> gmail.com>
Subject: bug#26580: 25.1; inappropriate case folding while isearch-forward-regexp
Date: Fri, 21 Apr 2017 23:59:23 +0900 (JST)

On Fri, 21 Apr 2017, Eli Zaretskii wrote:

>> From: Tino Calancha <tino.calancha <at> gmail.com>
>> Date: Fri, 21 Apr 2017 21:16:27 +0900 (JST)
>> Cc: ynyaaa <at> gmail.com, Tino Calancha <tino.calancha <at> gmail.com>,
>> 	26580 <at> debbugs.gnu.org, Juri Linkov <juri <at> linkov.net>
>>
>> C-M-s \T ; matches lower and upper T
>> C-M-s T ; just matches upper T
>>
>> I don't see in the manual this effect on an escaped upper letter.
>
>  (defcustom search-upper-case 'not-yanks
>    "If non-nil, upper case chars disable case fold searching.
>  That is, upper and lower case chars must match exactly.
>  This applies no matter where the chars come from, but does not
>  apply to chars in regexps that are prefixed with `\\'.
>  If this value is `not-yanks', text yanked into the search string
>  in Isearch mode is always downcased."
>    :type '(choice (const :tag "off" nil)
> 		   (const not-yanks)
> 		   (other :tag "on" t)))
>
Great, thanks!
Now it's clear why \A matches both 'a' and 'A'.




This bug report was last modified 8 years and 60 days ago.

Previous Next


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