unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Juri Linkov <juri@linkov.net>
Cc: emacs-devel@gnu.org
Subject: RE: `character-fold-search' should be a user option, like `case-fold-search'
Date: Tue, 1 Sep 2015 17:35:06 -0700 (PDT)	[thread overview]
Message-ID: <8738ba01-8829-4f32-aedf-99bad30031c5@default> (raw)
In-Reply-To: <87egihpxip.fsf@mail.linkov.net>

> > 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 [ä]

Read this quick, but I think you are saying the same thing
you said in your earlier post - with which I agree.



  reply	other threads:[~2015-09-02  0:35 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
2015-09-02  0:35   ` Drew Adams [this message]
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

  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=8738ba01-8829-4f32-aedf-99bad30031c5@default \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@linkov.net \
    /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).