From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Graham Smith" Newsgroups: gmane.emacs.help Subject: Re: Does grep work in Windows Date: Tue, 23 Jan 2007 22:28:42 +0000 Message-ID: <2c75873c0701231428u1a077619v4a2e6256e8496dd@mail.gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0831559155==" X-Trace: sea.gmane.org 1169591352 25288 80.91.229.12 (23 Jan 2007 22:29:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Jan 2007 22:29:12 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 23 23:29:06 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 1H9U8V-0006X4-Sx for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Jan 2007 23:29:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H9U8V-0001Ml-DT for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Jan 2007 17:29:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H9U8H-0001Ly-2E for help-gnu-emacs@gnu.org; Tue, 23 Jan 2007 17:28:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H9U8F-0001Lf-J4 for help-gnu-emacs@gnu.org; Tue, 23 Jan 2007 17:28:47 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H9U8F-0001Lc-Bb for help-gnu-emacs@gnu.org; Tue, 23 Jan 2007 17:28:47 -0500 Original-Received: from [64.233.182.187] (helo=nf-out-0910.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H9U8E-0000T3-EB for help-gnu-emacs@gnu.org; Tue, 23 Jan 2007 17:28:46 -0500 Original-Received: by nf-out-0910.google.com with SMTP id h2so412889nfe for ; Tue, 23 Jan 2007 14:28:45 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=lQrtVQbHrdljgcEfdRGzIxGzpEFVMHpu0zTumAk5Fi9ltSohfZLKYaVmBuRbwI/E99DLRvAb570+A9PDB7cprx4JuYMjt7Lg30hO1P3V9ILIdkvx0y48E+MZrn6/uuLOFQcfobJTJFOFuUVRi6nkY7wXGrBWjHX5xq2NGL89T+A= Original-Received: by 10.49.68.6 with SMTP id v6mr1904910nfk.1169591322633; Tue, 23 Jan 2007 14:28:42 -0800 (PST) Original-Received: by 10.49.65.11 with HTTP; Tue, 23 Jan 2007 14:28:42 -0800 (PST) Original-To: help-gnu-emacs@gnu.org In-Reply-To: X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) 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:40571 Archived-At: --===============0831559155== Content-Type: multipart/alternative; boundary="----=_Part_51158_17528173.1169591322581" ------=_Part_51158_17528173.1169591322581 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Chris, Thanks for the reply. I have installed the GNUWin32 version of Grep I assume this should work with Emacs :-( On 23/01/07, 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, > > > > Graham > > Grep 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 > ================================================= > _______________________________________________ > help-gnu-emacs mailing list > help-gnu-emacs@gnu.org > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs > ------=_Part_51158_17528173.1169591322581 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Chris,

Thanks for the  reply.

I have installed the GNUWin32 version of Grep

I assume this should work with Emacs :-(

On 23/01/07, Chris McMahan <first_initiallastname@one.dot.net> wrote:
"Graham Smith" <myotisone@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,
>
> Graham

Grep 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
  =================================================
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

------=_Part_51158_17528173.1169591322581-- --===============0831559155== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============0831559155==--