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: Does grep work in Windows Date: Tue, 23 Jan 2007 21:23:52 +0000 Message-ID: <2c75873c0701231323r38c7c6bbgbe36dcb8c6d2f0c9@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0920255730==" X-Trace: sea.gmane.org 1169587460 10929 80.91.229.12 (23 Jan 2007 21:24:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Jan 2007 21:24:20 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 23 22:24:13 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 1H9T7h-0006hN-7k for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Jan 2007 22:24:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H9T7g-00073O-JM for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Jan 2007 16:24:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H9T7V-000739-76 for help-gnu-emacs@gnu.org; Tue, 23 Jan 2007 16:23:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H9T7S-00072u-Ut for help-gnu-emacs@gnu.org; Tue, 23 Jan 2007 16:23:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H9T7S-00072p-RE for help-gnu-emacs@gnu.org; Tue, 23 Jan 2007 16:23:54 -0500 Original-Received: from [64.233.182.184] (helo=nf-out-0910.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H9T7S-000203-Dh for help-gnu-emacs@gnu.org; Tue, 23 Jan 2007 16:23:54 -0500 Original-Received: by nf-out-0910.google.com with SMTP id h2so397312nfe for ; Tue, 23 Jan 2007 13:23:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=hnv3qR3l8SJHKB7v35TMEZuxvdiXrABNKiAdqJ1fNMJ4bB4t2P7XxZS/Xf4fr6QJ68SgsGtvGvdCTsPRKiwSTRyd0gv/QSlk1FaNV7Jj9oGd/s+nr842IieiccPPMGnskxbI8HM+0+IrdMMUrxazSoIsbx6RDDcy0LFI14NMrAI= Original-Received: by 10.49.29.3 with SMTP id g3mr1825368nfj.1169587432415; Tue, 23 Jan 2007 13:23:52 -0800 (PST) Original-Received: by 10.49.65.11 with HTTP; Tue, 23 Jan 2007 13:23:52 -0800 (PST) Original-To: help-gnu-emacs@gnu.org 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:40564 Archived-At: --===============0920255730== Content-Type: multipart/alternative; boundary="----=_Part_50455_31066845.1169587432327" ------=_Part_50455_31066845.1169587432327 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_50455_31066845.1169587432327 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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
------=_Part_50455_31066845.1169587432327-- --===============0920255730== 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 --===============0920255730==--