[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rgrep with (some) fixed parameters
From: |
Peter Jones |
Subject: |
Re: rgrep with (some) fixed parameters |
Date: |
Fri, 06 Jun 2008 14:40:58 -0600 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin) |
Stefan Vollmar <vollmar@nf.mpg.de> writes:
> I find the M-rgrep command very useful but need it frequently in the
> context of a particular project where all parameters remain constant
> (directory, name pattern of files to search) except the expression to
> look for. How could I create a command my-rgrep that uses some pre-set
> parameters and only asks for the search pattern (the project-specific
> parameters have already been assigned to some variables) ?
You just need to write a few small lines of lisp. Read the
documentation for rgrep:
C-h f rgrep
--
Peter Jones, pmade inc.
http://pmade.com