Josh <
ribonu...@gmail.com> writes:
> Looking at Thierry's helm init file<
https://github.com/thierryvolpiatto/emacs-tv-config/blob/master/init-helm-thierry.el>I saw the following:
>
>
> helm-grep-default-command "ack-grep -Hn --smart-case --no-group --no-color %e %p %f"
> helm-grep-default-recurse-command "ack-grep -H --smart-case --no-group --no-color %e %p %f"
>
> On my machine, I can run the following:
>
>
> ack-grep -Hn --smart-case --no-group --no-color <pattern>
>
>
> line *on the shell* with no problem.
>
>
> But if I try using Thierry's definitions for helm-grep-default-command
> and helm-grep-default-recurse-command for helm-do-grep, I don't get
> anything on the output buffer (even though if I try the same pattern
> on the shell with the command above, it works.
What pattern and against what ?
Try on helm directory with pattern "defun" for example.
>
> With this, my questions are:
>
>
> 1) What are %e %p and %f in the helm definitions?
See documentation of `helm-grep-default-command'. (`C-h v' or M-x helm-apropos)
> 2) Why can I run ack-grep on the shell perfectly well, but I don't see any results when using helm-do-grep with Thierry's definitions?
No ideas yet, try to start from ./emacs-helm.sh and:
(setq helm-grep-default-command "ack-grep -Hn --smart-case --no-group --no-color %e %p %f"
helm-grep-default-recurse-command "ack-grep -H --smart-case --no-group --no-color %e %p %f")
in scratch buffer. It is working perfectly here.
Describe exactly what you are doing step by step with all details.
Also what emacs version are you using ?
--
Thierry
Get my Gnupg key:
gpg --keyserver
pgp.mit.edu --recv-keys 59F29997