Sujet : Re: Case Insensitive File Systems -- Torvalds Hates Them
De : sc (at) *nospam* fiat-linux.fr (Stéphane CARPENTIER)
Groupes : comp.os.linux.miscDate : 02. May 2025, 20:58:37
Autres entêtes
Organisation : Mulots' Killer
Message-ID : <681523ed$0$5192$426a34cc@news.free.fr>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13
User-Agent : slrn/pre1.0.4-9 (Linux)
Le 01-05-2025, rbowman <
bowman@montana.com> a écrit :
On Thu, 1 May 2025 22:07:19 -0000 (UTC), Lawrence D'Oliveiro wrote:
>
I do regexps all the time. I appreciate the fact that the default
setting for searches in Emacs (for both plain strings and regexps) is to
be case- insensitive, unless the pattern/string includes a capital
letter, in which case it becomes case-sensitive.
>
My default in Vim is to ignore case. ':se noic' (set no ignorecase) is
easy enough if I'm looking for a specific camel case item. ':se ic' puts
it back to insensitive. Having it triggered by a capital letter might be
nice but I've got a feeling sooner or later there would be an edge case.
In vim, I have the same smart case sensitivity as him in Emacs. I find
it really easy. Most of the time, I don't need the search to be case
sensitive, so it's easy to type in lowercase. And when the sensitivity
is important, I have almost always have a capital letter to write. Of
course, from time to time, there is an edge case, but is almost never
and it's easy to switch temporarily to sensitive case when needed.
-- Si vous avez du temps à perdre :https://scarpet42.gitlab.io