From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: grep-command: Ignore case if case-fold-search is non-nil Date: Sun, 18 Sep 2016 14:55:16 +0300 Message-ID: <4185b9c5-0440-3a05-1ba1-436752b3b93e@yandex.ru> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1474199832 16495 195.159.176.226 (18 Sep 2016 11:57:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 18 Sep 2016 11:57:12 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Thunderbird/49.0 Cc: Emacs developers To: Tino Calancha , Richard Copley Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 18 13:57:08 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 1blaiX-0003Nc-2T for ged-emacs-devel@m.gmane.org; Sun, 18 Sep 2016 13:57:05 +0200 Original-Received: from localhost ([::1]:49663 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blaiV-0000lo-DU for ged-emacs-devel@m.gmane.org; Sun, 18 Sep 2016 07:57:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38685) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blahr-0000kU-U9 for emacs-devel@gnu.org; Sun, 18 Sep 2016 07:56:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1blaho-0001ii-RM for emacs-devel@gnu.org; Sun, 18 Sep 2016 07:56:23 -0400 Original-Received: from mail-wm0-f67.google.com ([74.125.82.67]:36024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blaho-0001iB-Kg for emacs-devel@gnu.org; Sun, 18 Sep 2016 07:56:20 -0400 Original-Received: by mail-wm0-f67.google.com with SMTP id b184so10620145wma.3 for ; Sun, 18 Sep 2016 04:56:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=oobToi5DXkELFC9Qx+xXZ1c7wC0W/9+JKOs8u1FmoTo=; b=NBq2ZSZpsLcF0vgz3/wPNZ/aUv4I6t+/2EhzgYyjVZkn0P/Lj/gmGvBchzEwtiiGft YgrgnyLf/BoSpC1SDZQfJ7RerTtXrXFonWUHsp90kXowGq+4swuGZ4A5DBloHvavs/qT 8jdcBHDk/Y12hBNfSz7tN9zXj/S1peHHvN1EDKiUyeTttn9CcGUbOlJn9QqPiV0BW5zi akcJVStmEBGZFGiAMA5OSXAT3gQSWS3Lj/Bv/5eHhYcHC2JkaixwhNNhTDZLSiUNOwkO N2tIOv4oaUrQ/BHdBpr6zEEFfu9hreq+yhYEFrLaED3J9/yjw3wd8mgm7MDks0qsRFfx u4OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=oobToi5DXkELFC9Qx+xXZ1c7wC0W/9+JKOs8u1FmoTo=; b=jh6iaAu73wv6KDYE43/6KJmLHeGYhDYPK/eMIr3FioBAEvcwHhxP4kZOZ7uv1AdntB xMWYqTJdkXAKUqePekVlq2Du4MtZUPqdkR3enP4R+dcO2qJ0g/z1mT537cI5WdE2qVr5 Z0e+QCH/QDu9xaB5nmWdSDb6n1rfrPs/CqYT8/sFwk/zADBuyAptU7zuGAmqTJFRTuKZ mFJnbA6fJo6we4Fs6upreZjRJLQTybJ5XJw6nM88LdV4Sg0BgVOo/NQ2s2aafot/HByT msMlfQHhGOjUVmI3S84jVmFpRGlDi4FY8nH0PpB2tRFcS+RbErnfYf4KlfCxM3zFtD86 wEbA== X-Gm-Message-State: AE9vXwNluZdZVQCazgfhelc3K/8rCgrDx/s1hd86n/s3NhjA4uJAB9hj4OAcBHO8Dp1Erg== X-Received: by 10.28.166.149 with SMTP id p143mr5060000wme.21.1474199719770; Sun, 18 Sep 2016 04:55:19 -0700 (PDT) Original-Received: from [192.168.1.3] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id r8sm17618941wjs.22.2016.09.18.04.55.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Sep 2016 04:55:19 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 74.125.82.67 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:207540 Archived-At: On 18.09.2016 14:09, Tino Calancha wrote: > AFICT, if the user changes case-fold-search, `rgrep' and `lgrep' will > follow that change, but `grep-find' seems keep unchanged. > I guess the behaviour of `grep-find' should be similar as the other > 2 commands. Agreed. Maybe ideally, we get rid of both grep-command and grep-find-command, and generate both dynamically when required. > Then, if a user want to keep his/her `grep-command' constant, > s?he just need to customize it. That would also be fine, but I don't know when or why would the users want that.