From: Brian Johansen <__BRJ@brijo.dk>
Subject: Re: META-x grep question
Date: Wed, 21 Apr 2004 08:22:47 +0200 [thread overview]
Message-ID: <4086133a$0$1116$4d4eb98e@news.dk.uu.net> (raw)
In-Reply-To: <108aqvfer3ne6ab@corp.supernews.com>
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 <search text> '*.[ch]'
>>and possibly set the cursor at <search text> 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
next parent reply other threads:[~2004-04-21 6:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <40850130$0$1123$4d4eb98e@news.dk.uu.net>
[not found] ` <108aqvfer3ne6ab@corp.supernews.com>
2004-04-21 6:22 ` Brian Johansen [this message]
2004-04-21 14:20 ` META-x grep question FCC
2004-04-21 21:53 ` Michael Slass
2004-04-22 6:49 ` Brian Johansen
2004-04-27 13:35 ` John Russell
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='4086133a$0$1116$4d4eb98e@news.dk.uu.net' \
--to=__brj@brijo.dk \
/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.