* grep and emacs
@ 2003-04-14 20:08 Javier Oviedo
2003-04-14 20:25 ` Barry Margolin
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Javier Oviedo @ 2003-04-14 20:08 UTC (permalink / raw)
Hello all:
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.
I try to use emacs as much as possible, but I always find my self using
another editor for grep/"Finding in files". I like the ability to open the
file by clicking that VC++ and codewright offer.
Thanks in advance!!
Javier
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: grep and emacs
2003-04-14 20:08 grep and emacs Javier Oviedo
@ 2003-04-14 20:25 ` Barry Margolin
2003-04-14 20:26 ` David Kastrup
2003-04-14 20:32 ` Henrik Enberg
2 siblings, 0 replies; 12+ messages in thread
From: Barry Margolin @ 2003-04-14 20:25 UTC (permalink / raw)
In article <b7f4cf$grb$1@tilde.itg.ti.com>,
Javier Oviedo <email_joviedo@yahoo.com> wrote:
>Hello all:
>
>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.
M-x grep
--
Barry Margolin, barry.margolin@level3.com
Genuity Managed Services, a Level(3) Company, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: grep and emacs
2003-04-14 20:08 grep and emacs Javier Oviedo
2003-04-14 20:25 ` Barry Margolin
@ 2003-04-14 20:26 ` David Kastrup
2003-04-15 5:50 ` David Masterson
2003-04-15 19:21 ` kgold
2003-04-14 20:32 ` Henrik Enberg
2 siblings, 2 replies; 12+ messages in thread
From: David Kastrup @ 2003-04-14 20:26 UTC (permalink / raw)
"Javier Oviedo" <email_joviedo@yahoo.com> 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.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: grep and emacs
2003-04-14 20:26 ` David Kastrup
@ 2003-04-15 5:50 ` David Masterson
2003-04-15 18:31 ` Javier Oviedo
2003-04-15 19:21 ` kgold
1 sibling, 1 reply; 12+ messages in thread
From: David Masterson @ 2003-04-15 5:50 UTC (permalink / raw)
>>>>> David Kastrup writes:
> "Javier Oviedo" <email_joviedo@yahoo.com> 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.
Careful -- he might've meant grep-find... ;-)
--
David Masterson David DOT Masterson AT synopsys DOT com
Sr. R&D Engineer Synopsys, Inc.
Software Engineering Sunnyvale, CA
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: grep and emacs
2003-04-15 5:50 ` David Masterson
@ 2003-04-15 18:31 ` Javier Oviedo
2003-04-15 19:11 ` David Masterson
2003-04-15 20:53 ` kgold
0 siblings, 2 replies; 12+ messages in thread
From: Javier Oviedo @ 2003-04-15 18:31 UTC (permalink / raw)
Thanks for the cover. :-) Unfortunately I did mean just grep. I have,
however, tried M-x grep in the past and it didn't/doesn't work. Apparently
it can't find a path to grep.exe. How can this be set? I will read the FAQ
to see if it has anything on this. Thanks.
"David Masterson" <David.Masterson@synopsys.com> wrote in message
news:ubrz8l369.fsf@synopsys.com...
> >>>>> David Kastrup writes:
>
> > "Javier Oviedo" <email_joviedo@yahoo.com> 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.
>
> Careful -- he might've meant grep-find... ;-)
>
> --
> David Masterson David DOT Masterson AT synopsys DOT com
> Sr. R&D Engineer Synopsys, Inc.
> Software Engineering Sunnyvale, CA
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: grep and emacs
2003-04-15 18:31 ` Javier Oviedo
@ 2003-04-15 19:11 ` David Masterson
2003-04-15 19:35 ` Javier Oviedo
2003-04-15 20:53 ` kgold
1 sibling, 1 reply; 12+ messages in thread
From: David Masterson @ 2003-04-15 19:11 UTC (permalink / raw)
>>>>> Javier Oviedo writes:
> Thanks for the cover. :-) Unfortunately I did mean just grep. I
> have, however, tried M-x grep in the past and it didn't/doesn't
> work. Apparently it can't find a path to grep.exe. How can this be
> set? I will read the FAQ to see if it has anything on this. Thanks.
Since you say "grep.exe", I assume you mean on Windows.
Are you using Cygwin? Check http://www.cygwin.com.
--
David Masterson David DOT Masterson AT synopsys DOT com
Sr. R&D Engineer Synopsys, Inc.
Software Engineering Sunnyvale, CA
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: grep and emacs
2003-04-15 19:11 ` David Masterson
@ 2003-04-15 19:35 ` Javier Oviedo
0 siblings, 0 replies; 12+ messages in thread
From: Javier Oviedo @ 2003-04-15 19:35 UTC (permalink / raw)
Yes...I actually have a new post regarding a path problem with grep on win
XP and emacs21.2
The post is: "problem with grep and exec-path"
I would appreciate any thoughts you might have on that.
Thanks.
"David Masterson" <David.Masterson@synopsys.com> wrote in message
news:ullybk23d.fsf@synopsys.com...
> >>>>> Javier Oviedo writes:
>
> > Thanks for the cover. :-) Unfortunately I did mean just grep. I
> > have, however, tried M-x grep in the past and it didn't/doesn't
> > work. Apparently it can't find a path to grep.exe. How can this be
> > set? I will read the FAQ to see if it has anything on this. Thanks.
>
> Since you say "grep.exe", I assume you mean on Windows.
>
> Are you using Cygwin? Check http://www.cygwin.com.
>
> --
> David Masterson David DOT Masterson AT synopsys DOT com
> Sr. R&D Engineer Synopsys, Inc.
> Software Engineering Sunnyvale, CA
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: grep and emacs
2003-04-15 18:31 ` Javier Oviedo
2003-04-15 19:11 ` David Masterson
@ 2003-04-15 20:53 ` kgold
2003-04-16 13:52 ` Javier Oviedo
1 sibling, 1 reply; 12+ messages in thread
From: kgold @ 2003-04-15 20:53 UTC (permalink / raw)
Please clarify. Is the problem that:
- You don't have grep.exe on your system
- You have it, but emacs can't find it
"Javier Oviedo" <email_joviedo@yahoo.com> writes:
> Thanks for the cover. :-) Unfortunately I did mean just grep. I have,
> however, tried M-x grep in the past and it didn't/doesn't work. Apparently
> it can't find a path to grep.exe. How can this be set? I will read the FAQ
> to see if it has anything on this. Thanks.
--
--
Ken Goldman kgold@watson.ibm.com 914-784-7646
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: grep and emacs
2003-04-15 20:53 ` kgold
@ 2003-04-16 13:52 ` Javier Oviedo
0 siblings, 0 replies; 12+ messages in thread
From: Javier Oviedo @ 2003-04-16 13:52 UTC (permalink / raw)
I had to add the path to grep.exe to my system path...I can now see it.
Thanks.
"kgold" <kgold@watson.ibm.com> wrote in message
news:b7hrfu$oga$1@news.btv.ibm.com...
>
> Please clarify. Is the problem that:
>
> - You don't have grep.exe on your system
> - You have it, but emacs can't find it
>
> "Javier Oviedo" <email_joviedo@yahoo.com> writes:
> > Thanks for the cover. :-) Unfortunately I did mean just grep. I have,
> > however, tried M-x grep in the past and it didn't/doesn't work.
Apparently
> > it can't find a path to grep.exe. How can this be set? I will read the
FAQ
> > to see if it has anything on this. Thanks.
>
> --
> --
> Ken Goldman kgold@watson.ibm.com 914-784-7646
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: grep and emacs
2003-04-14 20:26 ` David Kastrup
2003-04-15 5:50 ` David Masterson
@ 2003-04-15 19:21 ` kgold
2003-04-15 20:17 ` Stefan Monnier
1 sibling, 1 reply; 12+ messages in thread
From: kgold @ 2003-04-15 19:21 UTC (permalink / raw)
David Kastrup <dak@gnu.org> writes:
> "Javier Oviedo" <email_joviedo@yahoo.com> 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: grep and emacs
2003-04-14 20:08 grep and emacs Javier Oviedo
2003-04-14 20:25 ` Barry Margolin
2003-04-14 20:26 ` David Kastrup
@ 2003-04-14 20:32 ` Henrik Enberg
2 siblings, 0 replies; 12+ messages in thread
From: Henrik Enberg @ 2003-04-14 20:32 UTC (permalink / raw)
"Javier Oviedo" <email_joviedo@yahoo.com> 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.
M-x grep RET does precisely that.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2003-04-16 13:52 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-14 20:08 grep and emacs Javier Oviedo
2003-04-14 20:25 ` Barry Margolin
2003-04-14 20:26 ` David Kastrup
2003-04-15 5:50 ` David Masterson
2003-04-15 18:31 ` Javier Oviedo
2003-04-15 19:11 ` David Masterson
2003-04-15 19:35 ` Javier Oviedo
2003-04-15 20:53 ` kgold
2003-04-16 13:52 ` Javier Oviedo
2003-04-15 19:21 ` kgold
2003-04-15 20:17 ` Stefan Monnier
2003-04-14 20:32 ` Henrik Enberg
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.