unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 18017@debbugs.gnu.org
Subject: bug#18017: 24.4.50; Isearch case sensitivity broken/confusing
Date: Tue, 15 Jul 2014 00:17:45 +0300	[thread overview]
Message-ID: <87wqbftzb9.fsf@mail.jurta.org> (raw)
In-Reply-To: <fec26778-9951-4a11-a3ba-4605ae7d3ad0@default> (Drew Adams's message of "Mon, 14 Jul 2014 09:02:56 -0700 (PDT)")

> 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.





  reply	other threads:[~2014-07-14 21:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-14 16:02 bug#18017: 24.4.50; Isearch case sensitivity broken/confusing Drew Adams
2014-07-14 21:17 ` Juri Linkov [this message]
2014-07-14 22:39   ` Drew Adams
2021-07-14  9:14   ` Lars Ingebrigtsen
2021-07-14 23:39     ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wqbftzb9.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=18017@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).