From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: grep-command: Ignore case if case-fold-search is non-nil Date: Sun, 18 Sep 2016 11:03:03 -0700 Organization: UCLA Computer Science Department Message-ID: References: <83intti7wl.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1474221812 19290 195.159.176.226 (18 Sep 2016 18:03:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 18 Sep 2016 18:03:32 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 Cc: emacs-devel@gnu.org To: Eli Zaretskii , Tino Calancha Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 18 20:03:28 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1blgR1-00045B-30 for ged-emacs-devel@m.gmane.org; Sun, 18 Sep 2016 20:03:23 +0200 Original-Received: from localhost ([::1]:51077 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blgQz-0002K7-0j for ged-emacs-devel@m.gmane.org; Sun, 18 Sep 2016 14:03:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blgQs-0002Js-8P for emacs-devel@gnu.org; Sun, 18 Sep 2016 14:03:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1blgQq-0002di-Fn for emacs-devel@gnu.org; Sun, 18 Sep 2016 14:03:13 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:42792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blgQj-0002WB-Qa; Sun, 18 Sep 2016 14:03:05 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 4BC2E1607DC; Sun, 18 Sep 2016 11:03:04 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id snACmXU0weet; Sun, 18 Sep 2016 11:03:03 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 935B0160D51; Sun, 18 Sep 2016 11:03:03 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id M36ytU465dTr; Sun, 18 Sep 2016 11:03:03 -0700 (PDT) Original-Received: from [192.168.1.9] (unknown [47.153.191.53]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 73BB71607DC; Sun, 18 Sep 2016 11:03:03 -0700 (PDT) In-Reply-To: <83intti7wl.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:207574 Archived-At: 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=20 for M-x diff and diff's --ignore-case and --ignore-file-name-case options= , and=20 probably for other stuff. It might be OK to add a new variable, which would have the effect of sett= ing=20 case-fold-search and all the other stuff, for users who want case-folding= to be=20 the default everywhere. But where would it stop? Would the new setting al= so have=20 the effect of setting font-lock-keywords-case-fold-search, say?