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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#20719: closed (25.0.50; grep-find-template has no <D>
 placeholder)
Date: Wed, 03 Jun 2015 02:48:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 3 Jun 2015 05:47:10 +0300
with message-id <556E6AAE.3070200 <at> yandex.ru>
and subject line Re: bug#20719: 25.0.50; grep-find-template has no <D> placeholder
has caused the debbugs.gnu.org bug report #20719,
regarding 25.0.50; grep-find-template has no <D> placeholder
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
20719: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20719
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Dmitry Gutov <dgutov <at> yandex.ru>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50; grep-find-template has no <D> placeholder
Date: Tue, 02 Jun 2015 17:12:17 +0300
Which goes counter to its docstring.

Instead, it just starts with 'find . ', and grep-expand-template, when
used with it, always ignores its DIR argument.

Why don't we replace all occurrences of ' . ' in grep-compute-defaults
with ' <D> '?

In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2)
 of 2015-06-02 on axl
Windowing system distributor `The X.Org Foundation', version 11.0.11601901
System Description:	Ubuntu 14.10


[Message part 3 (message/rfc822, inline)]
From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Kim Storm <storm <at> cua.dk>, 20719-done <at> debbugs.gnu.org
Subject: Re: bug#20719: 25.0.50; grep-find-template has no <D> placeholder
Date: Wed, 3 Jun 2015 05:47:10 +0300
Version: 25.1

On 06/03/2015 12:19 AM, Kim Storm wrote:

>> `rgrep' can pass "." in just as well.
>>
> Yes, that seems like a better way.

Done.

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

Sounds ok to me. Even though it makes the last argument to 
rgrep-default-command look superfluous.


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.