unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Mirko" <mvukovic@nycap.rr.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Does grep work in Windows
Date: 24 Jan 2007 11:12:21 -0800	[thread overview]
Message-ID: <1169665941.273735.314820@m58g2000cwm.googlegroups.com> (raw)
In-Reply-To: <uodopv31g.fsf@one.dot.net>



On Jan 23, 4:36 pm, Chris McMahan <first_initiallastn...@one.dot.net>
wrote:
> "Graham Smith" <myotis...@gmail.com> writes:
> > In emacs 22 on windows should grep work?
> > I am typing m-x grep which opens a line in the mini buffer that says
> > Run grep (like this): grep -n
> > and a message saying:  Grep started at Tue Jan 23 21:19:22
> > I then add, as shown in the grepmode wiki the following to the mini buffer
> > -e setq ~/.emacs
> > giving me a full line in the minibuffer of
> > Run grep (like this): grep -n -e setq ~/.emacs
> > hit return and get a message that says
> > 'grep' is not recognized as an internal or external command,
> > operable program or batch file.
> > Can anyone point out what I am doing wrong.
> > Many thanks,
>
> > GrahamGrep is not a native program with windows.
>
> I installed the cygwin unix environment on my xp machine, and have
> been successfully using the grep command from there for some time.
>
> www.cygwin.com
>
> - Chris McMahan
>
> --
>      (.   .)
>   =ooO=(_)=Ooo=====================================
>   Chris McMahan | firstinitiallastname@onedotnet
>   =================================================

On a related note, (I also use cygwin's grep + emacs), when I use grep,
I cannot follow the grep hits to the files.

In the *grep* window, I try pressing C-` or Ret on the line containing
the grep hit, but I get the message "No grep hit here".  The mode line
reads Grep:exit [matched]

Although the buffer is in grep mode it seems that none of the
keybindings are active (Ret, Tab, etc.)

Just in case that it may help, here is a sample output from grep:
-*- mode: grep; default-directory:
"d:/my-software-add-ons/my-IDL/Numerics/Calculus-like/" -*-
Grep started at Wed Jan 24 14:05:26

e:/cygwin-root/bin/grep.exe function *.pro NUL
DerivTabulated.pro:function
DerivTabulated,X,Y,UseAsinh=UseAsinh,_extra=_extra
DerivTabulated.pro:; functions calculates the derivative of the
tabulated data using
IntTab1DTrapzd.pro:function IntTab1DTrapzd,vx=vx,vy,vdx=vdx
IntTab1DTrapzd.pro:; provided a tabulated function y as function of x
(dimensions N), an
RunningIntegral.pro:function RunningIntegral,x,y,_extra=_extra
SplineDeriv.pro:function
SplineDerivScalar,vxtab,vytab,vy2a,xinterp,iBefore=iBefore
SplineDeriv.pro:function SplineDerivAtTabPoints,vxtab,vytab,vy2a
SplineDeriv.pro:function
SplineDeriv,vxtab,vytab,vy2a,xinterp,aiBefore=aiBefore, $
SplineDeriv.pro:; given the values of the tabulated function by vxtab
and vytab, and
SplineDeriv.pro:; the second derivatives calculated by spl_init, the
function returns
SplineDeriv.pro:; the derivative of the function at vxinterp
inttab2dtrapzd.pro:function
IntTab2DTrapzd,vx=vx,vy=vy,vdx=vdx,vdy=vdy,mz
inttab2dtrapzd.pro:; provided a tabulated function y as function of x
(dimensions N), an
splineintegral.pro:function
SplineIntegral,x,y,y2a,AtTabulatedPoints=AtTabulatedPoints, _extra =
rXtraKwds
splineintegral.pro:; is set, it returns the cumulative integral of the
function at the

Grep finished (matches found) at Wed Jan 24 14:05:28

Thanks,

Mirko

  parent reply	other threads:[~2007-01-24 19:12 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3486.1169587439.2155.help-gnu-emacs@gnu.org>
2007-01-23 21:34 ` Does grep work in Windows Ralf Angeli
2007-01-23 22:27   ` Graham Smith
2007-01-24  4:12     ` Eli Zaretskii
2007-01-24  8:20       ` Graham Smith
2007-01-24  9:48         ` Matthew Flaschen
2007-01-24 19:22         ` Eli Zaretskii
2007-01-24 19:28           ` Graham Smith
     [not found]       ` <mailman.3506.1169626843.2155.help-gnu-emacs@gnu.org>
2007-01-24 11:59         ` Robert Thorpe
2007-01-24 13:02           ` Graham Smith
     [not found]           ` <mailman.3515.1169643764.2155.help-gnu-emacs@gnu.org>
2007-01-24 14:25             ` Robert Thorpe
2007-01-24 15:01               ` Graham Smith
2007-01-24 19:30               ` Eli Zaretskii
     [not found]               ` <mailman.3533.1169667044.2155.help-gnu-emacs@gnu.org>
2007-01-24 20:51                 ` HS
2007-01-25  4:27                   ` Eli Zaretskii
2007-01-25  8:50                     ` Lennart Borgman (gmail)
     [not found]                     ` <mailman.3561.1169715031.2155.help-gnu-emacs@gnu.org>
2007-01-25 12:55                       ` Robert Thorpe
2007-01-26  8:16                         ` Mathias Dahl
     [not found]                   ` <mailman.3553.1169699271.2155.help-gnu-emacs@gnu.org>
2007-01-25  7:50                     ` Mathias Dahl
2007-01-23 21:36 ` Chris McMahan
2007-01-23 22:28   ` Graham Smith
2007-01-24 19:12   ` Mirko [this message]
2007-01-25  8:35     ` Kevin Rodgers
     [not found]     ` <mailman.3559.1169714158.2155.help-gnu-emacs@gnu.org>
2007-01-25 14:55       ` Mirko
2007-01-23 21:23 Graham Smith
2007-01-23 22:38 ` Lennart Borgman (gmail)

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1169665941.273735.314820@m58g2000cwm.googlegroups.com \
    --to=mvukovic@nycap.rr.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).