From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kgold@watson.ibm.com (kgold) Newsgroups: gmane.emacs.help Subject: Re: grep and emacs Date: 15 Apr 2003 19:21:25 GMT Organization: IBM T.J. Watson Research Center Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1050435465 14634 80.91.224.249 (15 Apr 2003 19:37:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 15 Apr 2003 19:37:45 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 15 21:37:43 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 195WFE-0003n6-00 for ; Tue, 15 Apr 2003 21:37:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195WDX-00049v-01 for gnu-help-gnu-emacs@m.gmane.org; Tue, 15 Apr 2003 15:35:43 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.cs.utexas.edu!geraldo.cc.utexas.edu!an02.austin.ibm.com!ausnews.austin.ibm.com!newsfeed.btv.ibm.com!news.btv.ibm.com!kgold Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: alpha.watson.ibm.com Original-X-Trace: news.btv.ibm.com 1050434485 16960 9.2.16.245 (15 Apr 2003 19:21:25 GMT) Original-X-Complaints-To: news@btv.ibm.com Original-NNTP-Posting-Date: 15 Apr 2003 19:21:25 GMT X-Newsreader: xrn 9.01 Originator: kgold@watson.ibm.com Original-Xref: shelby.stanford.edu gnu.emacs.help:112016 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8516 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8516 David Kastrup writes: > "Javier Oviedo" writes: > > > Is there a grep utility that I can use within emacs that will do a > > grep similar to how VisualC++ and codewright do it? I'd like to > > search a dir(gui is optional) and have all results display in a > > second window. By clicking on the file I'd like to open it in the > > original window. > > You are lacking imagination. > > M-x grep RET > > will do the trick. Middle click on any of the indicated lines. I also like the igrep package, which automatically inserts the text at the cursor as the search text. -- -- Ken Goldman kgold@watson.ibm.com 914-784-7646