emacs-devel
[Top][All Lists]
Advanced

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

RE: grep-command: Ignore case if case-fold-search is non-nil


From: Tino Calancha
Subject: RE: grep-command: Ignore case if case-fold-search is non-nil
Date: Mon, 19 Sep 2016 00:14:27 +0900 (JST)
User-agent: Alpine 2.20 (DEB 67 2015-01-07)



On Sun, 18 Sep 2016, Drew Adams 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?

No.

Just because you might want to search the current buffer
case-(in)sensitively, that in no way implies that you want to
search a set of files somewhere the same way.

`grep' is an external command.  It is not about acting (e.g.,
searching) buffers within Emacs.
Ok, let me change my question.

Should `grep' family of commands in Emacs pass '-i' as default,
regardless of the `case-fold-search' value in current buffer,
if the user didn't customize `grep-command'?





reply via email to

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