GNU bug report logs - #35326
26.1; vc-git-grep should pass -i like isearch

Previous Next

Package: emacs;

Reported by: Antoine Beaupré <anarcat <at> orangeseeds.org>

Date: Fri, 19 Apr 2019 18:33:02 UTC

Severity: minor

Tags: fixed

Found in version 26.1

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 35326 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: Antoine Beaupré <anarcat <at> orangeseeds.org>,
 35326 <at> debbugs.gnu.org
Subject: Re: bug#35326: 26.1; vc-git-grep should pass -i like isearch
Date: Sun, 23 Jun 2019 23:46:44 +0200
Juri Linkov <juri <at> linkov.net> writes:

> grep-expand-template adds the option -i on this condition:
>
>   (and case-fold-search (isearch-no-upper-case-p regexp t))
>
> It's very like when isearch turns into case-insensitive search
> when the search string contains no upper-case letters.

Yeah, sure, but no confusion here was why `M-x lgrep' adds the -i and
`M-x grep' does not?  (running from -Q.)  And should the vc-git version
be more like grep or lgrep?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 330 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.