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

From: Kim Storm <[email-masked]>
Date: Tue, 02 Jun 2015 23:19:10 +0200

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