From: Peter Jones <mlists@pmade.com>
To: Stefan Vollmar <vollmar@nf.mpg.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: rgrep with (some) fixed parameters
Date: Fri, 06 Jun 2008 14:40:58 -0600 [thread overview]
Message-ID: <m2y75ithyd.fsf@pmade.com> (raw)
In-Reply-To: <0F8F98AB-AC87-4968-8CCE-5EFF06E4B2A2@nf.mpg.de> (Stefan Vollmar's message of "Fri\, 06 Jun 2008 21\:26\:32 +0200")
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
next prev parent reply other threads:[~2008-06-06 20:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-06 19:26 rgrep with (some) fixed parameters Stefan Vollmar
2008-06-06 20:40 ` Peter Jones [this message]
2008-06-06 21:43 ` Stefan Vollmar
2008-06-07 14:23 ` Kevin Rodgers
2008-06-07 16:37 ` Stefan Vollmar
2008-06-06 20:54 ` Thierry Volpiatto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2y75ithyd.fsf@pmade.com \
--to=mlists@pmade.com \
--cc=help-gnu-emacs@gnu.org \
--cc=vollmar@nf.mpg.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.