From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Mirko" Newsgroups: gmane.emacs.help Subject: Re: Does grep work in Windows Date: 24 Jan 2007 11:12:21 -0800 Organization: http://groups.google.com Message-ID: <1169665941.273735.314820@m58g2000cwm.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1169667712 30739 80.91.229.12 (24 Jan 2007 19:41:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 24 Jan 2007 19:41:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 24 20:41:40 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H9nzR-0008Au-8V for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Jan 2007 20:41:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H9nzQ-0006Wg-Kk for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Jan 2007 14:41:00 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!m58g2000cwm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 84 Original-NNTP-Posting-Host: 208.218.238.20 Original-X-Trace: posting.google.com 1169665959 31908 127.0.0.1 (24 Jan 2007 19:12:39 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 24 Jan 2007 19:12:39 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: m58g2000cwm.googlegroups.com; posting-host=208.218.238.20; posting-account=zJ4b2Q0AAAB5wLprz3WGnkfVsRyuZtK0 Original-Xref: shelby.stanford.edu gnu.emacs.help:144998 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:40605 Archived-At: On Jan 23, 4:36 pm, Chris McMahan wrote: > "Graham Smith" 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