[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: `character-fold-search' should be a user option, like `case-fold-sea

From: Drew Adams
Subject: RE: `character-fold-search' should be a user option, like `case-fold-search'
Date: Tue, 1 Sep 2015 17:35:06 -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 [ä]

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]