GNU bug report logs - #18017
24.4.50; Isearch case sensitivity broken/confusing

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Mon, 14 Jul 2014 16:04:02 UTC

Severity: minor

Merged with 11378

Found in versions 24.1.50, 24.4.50

Full log


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

From: Juri Linkov <juri <at> jurta.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 18017 <at> debbugs.gnu.org
Subject: Re: bug#18017: 24.4.50; Isearch case sensitivity broken/confusing
Date: Tue, 15 Jul 2014 00:17:45 +0300
> Type this in buffer *scratch*:
>
> Add
> add
> ADD
>
> M-x set-variable case-fold-search nil
>
> C-s add C-s
>
> C-s M-c C-s
>
> The M-c says that search is now case-insensitive, but the second and
> subsequent C-s's do not find occurrences Add and ADD.
>
> C-s add C-s
>
> That finds all three (case-insensitive).

Did you mean `C-s M-c add C-s' in the last key sequence
(that finds all case-insensitive)?  You have to use M-c to toggle
case-sensitivity for case-fold-search that you set to nil.
And `C-s C-s' naturally restores case-sensitivity of the
previous search string, but it's possible to configure this
using `isearch-keep-mode-variables' from bug#11378.




This bug report was last modified 3 years and 335 days ago.

Previous Next


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