|
From: | Paul Eggert |
Subject: | Re: grep-command: Ignore case if case-fold-search is non-nil |
Date: | Sun, 18 Sep 2016 11:03:03 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
Eli Zaretskii wrote:
case-fold-search defaults to non-nil, so this would make "M-x grep" case-insensitive for many users. I'm not sure they will like it.
Similarly for M-x grep-find and find's -i option, and for M-x vc-git-grep, and for M-x diff and diff's --ignore-case and --ignore-file-name-case options, and probably for other stuff.
It might be OK to add a new variable, which would have the effect of setting case-fold-search and all the other stuff, for users who want case-folding to be the default everywhere. But where would it stop? Would the new setting also have the effect of setting font-lock-keywords-case-fold-search, say?
[Prev in Thread] | Current Thread | [Next in Thread] |