--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#20719: 25.0.50; grep-find-template has no <D> placeholder |
Date: |
Wed, 3 Jun 2015 05:47:10 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 |
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.
--- End Message ---