From: Juri Linkov <juri@linkov.net>
To: Drew Adams <drew.adams@oracle.com>
Cc: emacs-devel@gnu.org
Subject: Re: `character-fold-search' should be a user option, like `case-fold-search'
Date: Wed, 02 Sep 2015 01:47:42 +0300 [thread overview]
Message-ID: <87egihpxip.fsf@mail.linkov.net> (raw)
In-Reply-To: <3a794017-27a5-43f7-809b-a3ebe894c1de@default> (Drew Adams's message of "Tue, 1 Sep 2015 08:49:02 -0700 (PDT)")
> Subject line says it all. Users should be able to customize
> this variable, to decide for themselves, without fiddling with
> `setq', whether search starts by default with or without
> character folding. They should be able to find this easily,
> as an option in custom group `matching', right alongside
> `case-fold-search'.
>
> No?
>
> I customized `case-fold-search' to nil long ago, and I will
> likely do the same for `char-fold-search': set it to nil.
> By default I want search to distinguish different characters.
>
> Different users have different uses and different preferences.
>
> Fortunately, the behavior can be toggled. But the default
> behavior should also be customizable. Users should not need
> to use `setq' for `char-fold-search' but be able to customize
> `case-fold-search'. This is a (minor) step backward, IMO.
Like with ‘case-fold-search’ and ‘isearch-case-fold-search’ we could
make ‘char-fold-search’ customizable and ‘isearch-char-fold-search’
togglable, i.e. when ‘char-fold-search’ is t:
‘C-s a’ matches [aä]
‘C-s a M-'’ matches [a]
‘C-s ä’ matches [ä]
‘C-s ä M-'’ matches [aä]
when ‘char-fold-search’ is nil:
‘C-s a’ matches [a]
‘C-s ä’ matches [ä]
next prev parent reply other threads:[~2015-09-01 22:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-01 15:49 `character-fold-search' should be a user option, like `case-fold-search' Drew Adams
2015-09-01 22:47 ` Juri Linkov [this message]
2015-09-02 0:35 ` Drew Adams
2015-09-02 9:26 ` Artur Malabarba
2015-09-02 22:50 ` Juri Linkov
2015-09-02 9:19 ` Artur Malabarba
2015-09-02 15:57 ` Drew Adams
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87egihpxip.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.