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




This bug report was last modified 10 years and 47 days ago.

Previous Next


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