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: 25 Jan 2007 06:55:03 -0800
User-agent: G2/1.0


On Jan 25, 3:35 am, Kevin Rodgers <kevin.d.rodg...@gmail.com> wrote:
> Mirko wrote:
> > 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:Indeed, 
> > why don't the matched lines mention the line number?  `M-x grep'
> provides the -n option to the grep program by default so that its output
> lines look like:
>
> FILE:LINE NUMBER:TEXT
>
>
>
> > -*- 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--
> Kevin Rodgers
> Denver, Colorado, USA

Thank you Kevin!!!!!

Adding the -n option did the thing.  I guess that in the mists of time,
I defined my grep command (in custom-set-variables) as
"e:/cygwin-root/bin/grep.exe".  I have now added the -n switch to it.

Thanks again,

Mirko



reply via email to

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