GNU bug report logs - #20719
25.0.50; grep-find-template has no <D> placeholder

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Tue, 2 Jun 2015 14:13:01 UTC

Severity: normal

Found in version 25.0.50

Fixed in version 25.1

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Kim Storm <storm <at> cua.dk>
To: Dmitry Gutov <dgutov <at> yandex.ru>, 20719 <at> debbugs.gnu.org
Subject: bug#20719: 25.0.50; grep-find-template has no <D> placeholder
Date: Tue, 02 Jun 2015 18:11:36 +0200
On 2015-06-02 16:28, Dmitry Gutov wrote:
> Originally, it was present in the computed value of grep-tree-template.
>
> But in the same commit that renamed it to grep-find-template 
> (2006-04-28, 0acfb7ce), "<D>" was replaced with ".".
>
> Kim, do you remember why? The commit message doesn't seem to provide 
> an adequate explanation.
>

I suppose it was because "rgrep" changes the default directory to the 
specified "dir" before
running the find command - so "." seems to be TRT (and makes the command 
shorter):

      (let ((default-directory dir))
        (compilation-start command 'grep-mode))

Kim




This bug report was last modified 9 years and 356 days ago.

Previous Next


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