From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#35326: 26.1; vc-git-grep should pass -i like isearch Date: Thu, 27 Jun 2019 23:31:01 +0300 Organization: LINKOV.NET Message-ID: <87mui2rcsa.fsf@mail.linkov.net> References: <87d0lheuhv.fsf@curie.anarc.at> <87wohcyob9.fsf@mail.linkov.net> <87v9wu4sqo.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="11395"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: Antoine =?UTF-8?Q?Beaupr=C3=A9?= , 35326@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 27 23:09:28 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hgbe3-0002o6-V6 for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Jun 2019 23:09:28 +0200 Original-Received: from localhost ([::1]:54612 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hgbe2-0000VK-VI for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Jun 2019 17:09:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48174) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hgb8j-0001Ue-67 for bug-gnu-emacs@gnu.org; Thu, 27 Jun 2019 16:37:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hgb8i-0001RQ-5S for bug-gnu-emacs@gnu.org; Thu, 27 Jun 2019 16:37:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54530) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hgb8h-0001Pr-5q for bug-gnu-emacs@gnu.org; Thu, 27 Jun 2019 16:37:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hgb8h-0006PC-2C for bug-gnu-emacs@gnu.org; Thu, 27 Jun 2019 16:37:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jun 2019 20:37:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35326 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 35326-submit@debbugs.gnu.org id=B35326.156166777824538 (code B ref 35326); Thu, 27 Jun 2019 20:37:03 +0000 Original-Received: (at 35326) by debbugs.gnu.org; 27 Jun 2019 20:36:18 +0000 Original-Received: from localhost ([127.0.0.1]:39839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgb7x-0006Ni-WD for submit@debbugs.gnu.org; Thu, 27 Jun 2019 16:36:18 -0400 Original-Received: from blue.elm.relay.mailchannels.net ([23.83.212.20]:61639) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgb7w-0006Na-5a for 35326@debbugs.gnu.org; Thu, 27 Jun 2019 16:36:16 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 1272A21775; Thu, 27 Jun 2019 20:36:11 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a2.g.dreamhost.com (100-96-4-95.trex.outbound.svc.cluster.local [100.96.4.95]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 34304215AA; Thu, 27 Jun 2019 20:36:10 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a2.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Thu, 27 Jun 2019 20:36:10 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Industry-Well-Made: 4ffbdcee418aa83e_1561667770512_685183331 X-MC-Loop-Signature: 1561667770512:1270704982 X-MC-Ingress-Time: 1561667770511 Original-Received: from pdx1-sub0-mail-a2.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a2.g.dreamhost.com (Postfix) with ESMTP id 9C33383DA7; Thu, 27 Jun 2019 13:36:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=L3t3H+OVYuhSfL1ORSwksq1VjDQ=; b= d0x+wJxMuV0O+D04ZqIq3J2FovjWJuUdJ5RF2K+LNidQXWUOLzOrFFxVuAiEuCo1 +Ojm54q8S6hYJLEyahnHP0tyumPbR+IXjv6KNoGByfWIoSPpSIpDPjvE9YJsCp/j 7p6brjrtZ75s+7YfrpbX/DK/grivYCnSxrI9rfV0wjE= Original-Received: from mail.jurta.org (m91-129-109-60.cust.tele2.ee [91.129.109.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a2.g.dreamhost.com (Postfix) with ESMTPSA id 61A5383DAC; Thu, 27 Jun 2019 13:36:06 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a2 In-Reply-To: (Lars Ingebrigtsen's message of "Tue, 25 Jun 2019 12:59:44 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrudekgdduheefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdelrdeitdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdelrdeitddprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehlrghrshhisehgnhhushdrohhrghenucevlhhushhtvghrufhiiigvpedv X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:161657 Archived-At: >> PS: Regarding -w that I proposed previously, I could create >> a separate request, but here is a preliminary version: > > [...] > >> + (when grep-word-search >> + (push "-w" opts)) > > Hm... I always just say \bfoo\b when I want the word-ish version, so I > don't know whether this really warrants a new command. OK, a new request could be created later on more demand. Meanwhile, I'm using this short snippet in ~/.emacs: (defun wrgrep () "Word-based version of `rgrep'. Modifies the grep-find template to add the option `-w' that matches whole words." (interactive) (let ((grep-host-defaults-alist nil) (grep-find-template (replace-regexp-in-string "" "-w \\&" grep-find-template))) (call-interactively 'rgrep)))