help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grep options


From: Kevin Rodgers
Subject: Re: grep options
Date: Fri, 21 Jan 2011 00:03:46 -0700
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7

On 1/16/11 1:32 PM, Kenneth Goldman wrote:
This looks like a lot more work than igrep. I didn't have to select files and
manually
enter the extensions. igrep just knew that, if the file was c-mode, it should
search
*.[ch] *.cpp --- by default.

Try M-x lgrep instead.  It also comes preconfigured via grep-files-aliases, but
you should be able to push ("ALIAS" . "WILDCARD ...") entries on to the front to
customize it.

In combination for "search for the string under point", I could grep with a
single keystroke.

--
Kevin Rodgers
Denver, Colorado, USA




reply via email to

[Prev in Thread] Current Thread [Next in Thread]