From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: gmane.emacs.help Subject: Re: problem with grep Date: Thu, 19 Apr 2018 17:19:36 +0100 Organization: A noiseless patient Spider Message-ID: <87o9iftbhj.fsf@bsb.me.uk> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1524154709 18893 195.159.176.226 (19 Apr 2018 16:18:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 19 Apr 2018 16:18:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 19 18:18:25 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f9CGO-0004nO-TJ for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Apr 2018 18:18:25 +0200 Original-Received: from localhost ([::1]:58940 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9CIV-0004sw-Eb for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Apr 2018 12:20:35 -0400 Original-Path: usenet.stanford.edu!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-Injection-Info: reader02.eternal-september.org; posting-host="950185883fceaa9a1de7e5e67dcf0574"; logging-data="992"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19VjcPSlpbof84UVBAaDkJQBvyGurUx5tI=" Cancel-Lock: sha1:vFS3yh8EZZPGX6lmB/oAQoS04T0= sha1:R8rPkoM50wJTXGMyLMyZWRaLFPo= X-BSB-Auth: 1.bc9da35ae88304da2cf5.20180419171936BST.87o9iftbhj.fsf@bsb.me.uk Original-Xref: usenet.stanford.edu gnu.emacs.help:222444 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116562 Archived-At: "Stanke, Fred" writes: > I am not a unix guy, but I've come to depend on emacs after using it > for decades. > > I have a problem, grep does not work. How do I fix it? > > -*- mode: grep; default-directory: "c:/Users/fstanke/Documents/" -*- > Grep started at Wed Apr 18 17:14:36 > > grep -n cycles *.txt NUL > 'grep' is not recognized as an internal or external command, > operable program or batch file. > > Grep exited abnormally with code 1 at Wed Apr 18 17:14:38 The obvious question is whether you have grep installed. If you do, it looks like emacs does not know about it. There is a group you can customise that might be worth looking at as well. I can't be more helpful because I use emacs on Linux, so things are rather different. -- Ben.