From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Vollmar Newsgroups: gmane.emacs.help Subject: rgrep with (some) fixed parameters Date: Fri, 06 Jun 2008 21:26:32 +0200 Message-ID: <0F8F98AB-AC87-4968-8CCE-5EFF06E4B2A2@nf.mpg.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1212784024 28864 80.91.229.12 (6 Jun 2008 20:27:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Jun 2008 20:27:04 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 06 22:27:45 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K4iXI-0003JU-LM for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Jun 2008 22:27:44 +0200 Original-Received: from localhost ([127.0.0.1]:58460 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4iWV-00088W-Nk for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Jun 2008 16:26:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K4iWF-00088H-5o for help-gnu-emacs@gnu.org; Fri, 06 Jun 2008 16:26:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K4iWC-000885-Ru for help-gnu-emacs@gnu.org; Fri, 06 Jun 2008 16:26:37 -0400 Original-Received: from [199.232.76.173] (port=50631 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4iWC-000882-Ls for help-gnu-emacs@gnu.org; Fri, 06 Jun 2008 16:26:36 -0400 Original-Received: from mail.nf.mpg.de ([134.95.44.50]:53216) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K4iWC-00079k-Gh for help-gnu-emacs@gnu.org; Fri, 06 Jun 2008 16:26:36 -0400 Original-Received: from [192.168.178.21] (pD9E61CD7.dip.t-dialin.net [217.230.28.215]) by mail.nf.mpg.de (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) with ESMTPSA id <0K22008B13DRFZ00@mail.nf.mpg.de> for help-gnu-emacs@gnu.org; Fri, 06 Jun 2008 21:27:27 +0200 (MEST) X-Mailer: Apple Mail (2.924) X-detected-kernel: by monty-python.gnu.org: Windows XP/2000 X-Greylist: delayed 3600 seconds by postgrey-1.27 at monty-python; Fri, 06 Jun 2008 16:26:34 EDT X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:54547 Archived-At: Hi, I find the M-rgrep command very useful but need it frequently in the =20 context of a particular project where all parameters remain constant =20 (directory, name pattern of files to search) except the expression to =20= look for. How could I create a command my-rgrep that uses some pre-set =20= parameters and only asks for the search pattern (the project-specific =20= parameters have already been assigned to some variables) ? Many thanks in advance, Stefan --=20 Dr. Stefan Vollmar, Dipl.-Phys. Max-Planck-Institut f=FCr neurologische Forschung Gleuelerstr. 50, 50931 K=F6ln, Germany Tel.: +49-221-4726-213 FAX +49-221-4726-298 Tel.: +49-221-478-5713 Mobile: 0160-93874279 Email: vollmar@nf.mpg.de http://www.nf.mpg.de