GNU bug report logs - #32549
Allow passing custom options to vc-git-grep

Previous Next

Package: emacs;

Reported by: Federico Tedin <federicotedin <at> gmail.com>

Date: Mon, 27 Aug 2018 23:04:01 UTC

Severity: wishlist

Tags: fixed

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> gmail.com>
To: Federico Tedin <federicotedin <at> gmail.com>
Cc: 32549 <at> debbugs.gnu.org
Subject: bug#32549: Allow passing custom options to vc-git-grep
Date: Mon, 27 Aug 2018 23:52:41 -0400
Federico Tedin <federicotedin <at> gmail.com> writes:

> I'm wondering how I would set my custom arguments when the vc-git-grep
> function is called from another function. For example, the projectile
> package defines projectile-grep, which eventually calls rgrep or
> vc-git-grep [1] (depending on the user's choice).

It looks like you'd have to do

    (let ((current-prefix-arg '(4)))
      (vc-git-grep ...))




This bug report was last modified 6 years and 344 days ago.

Previous Next


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