From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: grep-command: Ignore case if case-fold-search is non-nil Date: Sun, 18 Sep 2016 18:52:27 +0200 Message-ID: <87poo11778.fsf@linux-m68k.org> References: <83intti7wl.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1474217610 2268 195.159.176.226 (18 Sep 2016 16:53:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 18 Sep 2016 16:53:30 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Tino Calancha Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 18 18:53:26 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 1blfL7-0007H7-5p for ged-emacs-devel@m.gmane.org; Sun, 18 Sep 2016 18:53:13 +0200 Original-Received: from localhost ([::1]:50870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blfL5-000748-HG for ged-emacs-devel@m.gmane.org; Sun, 18 Sep 2016 12:53:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blfKX-00073q-Gs for emacs-devel@gnu.org; Sun, 18 Sep 2016 12:52:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1blfKV-0003Sy-Lm for emacs-devel@gnu.org; Sun, 18 Sep 2016 12:52:36 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:40242) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blfKQ-0003QU-Pn; Sun, 18 Sep 2016 12:52:30 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3scZnT3fCvz3hjQX; Sun, 18 Sep 2016 18:52:29 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3scZnT3JWPzvkfH; Sun, 18 Sep 2016 18:52:29 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id C_7S1lYut6r5; Sun, 18 Sep 2016 18:52:27 +0200 (CEST) X-Auth-Info: 5CTY2xnHNL84d5NGHbRz5zYEJwNXfYxH/R5rR+rmom5VgHTU2EUjE8Gv7KvgCAVO Original-Received: from igel.home (ppp-88-217-22-57.dynamic.mnet-online.de [88.217.22.57]) by mail.mnet-online.de (Postfix) with ESMTPA; Sun, 18 Sep 2016 18:52:27 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id 6973A2C3CDF; Sun, 18 Sep 2016 18:52:27 +0200 (CEST) X-Yow: If I am elected, the concrete barriers around the WHITE HOUSE will be replaced by tasteful foam replicas of ANN MARGARET! In-Reply-To: (Tino Calancha's message of "Mon, 19 Sep 2016 00:10:22 +0900 (JST)") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.18.0.9 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:207566 Archived-At: On Sep 19 2016, Tino Calancha wrote: > case-insensitive searches is a great default: it maximize the search > space, no worries to missing a match. It also maximised the false hits. Unlike Emacs, grep doesn't revert back to case sensitive matching if the search term contains upper case letters. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."