bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20719: 25.0.50; grep-find-template has no <D> placeholder


From: Kim Storm
Subject: bug#20719: 25.0.50; grep-find-template has no <D> placeholder
Date: Tue, 02 Jun 2015 18:11:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]