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 23:19:10 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 2015-06-02 20:34, Dmitry Gutov wrote:
On 06/02/2015 07:11 PM, Kim Storm wrote:

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):

So there's no particular reason for that change?
The reason is because it was TRT - but obviously not the best way to do it...

`rgrep' can pass "." in just as well.

Yes, that seems like a better way.

But I think the <D> entry in grep-expand-keywords should be changed to:

    ("<D>" . (or dir "."))

as a <D> entry should always insert a directory even if passed a nil arg for DIR.

Kim





reply via email to

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