emacs-devel
[Top][All Lists]
Advanced

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

RE: lax matching is not a great default behavior


From: Drew Adams
Subject: RE: lax matching is not a great default behavior
Date: Sat, 28 Nov 2015 06:50:25 -0800 (PST)

> > I realize that this would change the longstanding practice
> > of having letter-case folding be default.  I think that
> > choice made sense back when most programming languages and
> > OS's did not have a letter-case difference.  But I don't
> > think it is the best choice for the default behavior now.
> 
> Case folding makes a lot of sense when searching in plain text,
> as is the case in this sentence when searching for "case".

Case folding can make a lot of sense in some contexts, yes.

By "plain text" I'm guessing that you might really mean text
written in a natural language (sentences & such)?  In that
case (!), I think you are right.

And that is the behavior we provide, to start with, for Info,
for instance, regardless of a user's customized value of
`case-fold-search'.  And that's TRT.

Maybe that is the main use case (!) we should consider, for
the general default behavior.  Dunno.  Still, the simplicity
of literal search (no guesswork) argues in its favor.



reply via email to

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