From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Brian Johansen <__BRJ@brijo.dk> Newsgroups: gmane.emacs.help Subject: Re: META-x grep question Date: Wed, 21 Apr 2004 08:22:47 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <4086133a$0$1116$4d4eb98e@news.dk.uu.net> References: <40850130$0$1123$4d4eb98e@news.dk.uu.net> <108aqvfer3ne6ab@corp.supernews.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1082529150 10086 80.91.224.253 (21 Apr 2004 06:32:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Apr 2004 06:32:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 21 08:32:23 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BGBHS-0008Gn-00 for ; Wed, 21 Apr 2004 08:32:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BGBGK-0005sS-D9 for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Apr 2004 02:31:12 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!t-online.de!newsfeed.wirehub.nl!newsfeed.multikabel.nl!newsfeed.kabelfoon.nl!195.129.110.21.MISMATCH!bnewsfeed00.bru.ops.eu.uu.net!bnewsinpeer01.bru.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!lnewspost00.lnd.ops.eu.uu.net!emea.uu.net!news.dk.uu.net!not-for-mail User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en Original-Newsgroups: gnu.emacs.help In-Reply-To: <108aqvfer3ne6ab@corp.supernews.com> Original-Lines: 39 Original-NNTP-Posting-Host: 195.24.0.34 Original-X-Trace: 1082528570 news.dk.uu.net 1116 195.24.0.34 Original-X-Complaints-To: abuse@dk.uu.net Original-Xref: shelby.stanford.edu gnu.emacs.help:122525 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17812 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17812 Roodwriter@core.com wrote: > Brian Johansen wrote: > > >>Hi ! >> >>Does anyone know how to change the default arguments when using the grep >>command within emacs ?? >>When choosing META-x grep >>It defaults to grep -n -e >>and I want it to: grep -n -e '*.[ch]' >>and possibly set the cursor at ready for input. >> >>Is that possible ?? and how ? >> >>regards >> >>Brian > > > I also changed the default. It's in the customization screens under > "Options." Wish I could remember exactly where. > > --Rod > > __________ > > Author of "Linux for Non-Geeks--Clear-eyed Answers for Practical Consumers" > and "Boring Stories from Uncle Rod." Both are available at > http://www.rodwriterpublishing.com/index.html > > To reply by e-mail, take the extra "o" out of the name. > Thanks ! That works ! Do you know if one could put it in the .emacs file instead ?? BR Brian