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

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

Re: Does grep work in Windows


From: Mirko
Subject: Re: Does grep work in Windows
Date: 24 Jan 2007 11:12:21 -0800
User-agent: G2/1.0


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



reply via email to

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