|
From: | Dmitry Gutov |
Subject: | Re: grep-command: Ignore case if case-fold-search is non-nil |
Date: | Sun, 18 Sep 2016 12:57:10 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Thunderbird/49.0 |
On 18.09.2016 12:31, Tino Calancha wrote:
Do you think `grep-compute-defaults' should add '-i', i.e., ignore case, in the default `grep-command' when `case-fold-search' is non-nil? Option '-i' is specified by POSIX, do we need to check if `grep-program' support it?
I don't think so. At least not the way your patch is written. grep-options is used in both grep-template and grep-find-template. And they both get "-i" inserted into later, in grep-expand-template.
[Prev in Thread] | Current Thread | [Next in Thread] |