From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?Aleksandar_Simi=C4=87?= Newsgroups: gmane.emacs.help Subject: Re: grep Date: Thu, 9 Mar 2017 07:59:40 +0000 Message-ID: <51819B1A-D571-4536-93DD-20A610195347@gmail.com> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1489046840 27255 195.159.176.226 (9 Mar 2017 08:07:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 9 Mar 2017 08:07:20 +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 Mar 09 09:07:16 2017 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 1clt6P-0006Ry-2d for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Mar 2017 09:07:13 +0100 Original-Received: from localhost ([::1]:60907 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clt6V-0002si-4A for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Mar 2017 03:07:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38563) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clt5a-0002aC-EE for help-gnu-emacs@gnu.org; Thu, 09 Mar 2017 03:06:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1clt5X-00009V-9g for help-gnu-emacs@gnu.org; Thu, 09 Mar 2017 03:06:22 -0500 Original-Received: from mail-wr0-x22d.google.com ([2a00:1450:400c:c0c::22d]:33592) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1clt5X-000095-1h for help-gnu-emacs@gnu.org; Thu, 09 Mar 2017 03:06:19 -0500 Original-Received: by mail-wr0-x22d.google.com with SMTP id u48so39394894wrc.0 for ; Thu, 09 Mar 2017 00:06:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:date:subject:message-id :references:in-reply-to:to; bh=rolA9SH8BMmVrC460IF3G1/epSJSxxLMthHMunrEvZ4=; b=cp9r11ZI3rE5stty5gZcANXFeRn27sUllwZAM2k/qpu8WTgi6ahhQd9AVFk7VUmn5M fPuHUbPryh/I5a6+GSN8aMaoIy98idn6O0uywFPdz3CdYtoNIRuC7MgJDegTcFwZkXjM z2ndNedWv40QfAvBqUAMS5QL3QKODUcGuRkAukD0OuU9s8ZKykkc1zAGQSbWhLvRqN7J QiX/zLkLRIg+1UK8vJmtB8Yu8ppYvw8bL3Yyy8PDbP5L3Pj3dOOMV/zCE1TMGj/qk0BN yF/OUS5JH1CppQBx2p9ipUkE5oEsS4lZ2XjVzyn9jCyTGXJ5e0SjlKFTd838VRE+KrOM zREw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version:date :subject:message-id:references:in-reply-to:to; bh=rolA9SH8BMmVrC460IF3G1/epSJSxxLMthHMunrEvZ4=; b=e3xENWFU5ndBZF9Hj5rsr4QlGvsukec2GpTp9OgbHqVFxkXM+rvjoEtF6GSbuFYpzX 66ipQlgrq9Rc/kZ5uZtk8/J5c32HZ6p9jbTK5dUESj3nYPsse4Xu5UViz9MNodiC3UYD a7B+aUDGdiuNJ484GZuxo+CyRLnnrYzRZWXUE427dmLHEwRmp1gqiUqweSPpzZAHVWUg cEcN2a5ujxrvmXyLJK9iKoJFifaqUbd3EokGBkZeGaBzRYYxfSlRouw+CDPxGsKzynJ5 BjRX4YDRtOdWqkoJt9uWSpYjoCXzz/z0Bt0ztct5MRktrZAyCTQHOQqgBy6PM5Jn/Gt8 +Jtw== X-Gm-Message-State: AMke39mi28CHpHfXzKPFz3tjsFpG0F3EtIGnod9h8GQ0ZrVMyhgygEGHHf0hvUkcSxlPbw== X-Received: by 10.223.153.17 with SMTP id x17mr9236675wrb.55.1489046776323; Thu, 09 Mar 2017 00:06:16 -0800 (PST) Original-Received: from [10.41.246.236] (188.29.164.82.threembb.co.uk. [188.29.164.82]) by smtp.gmail.com with ESMTPSA id w30sm7238166wrb.5.2017.03.09.00.06.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Mar 2017 00:06:15 -0800 (PST) In-Reply-To: X-Mailer: iPhone Mail (14D27) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22d 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:112472 Archived-At: > On 9 Mar 2017, at 03:49, Fred Stanke wrote: >=20 > I have emacs installed at > C:\Applications\Emacs\bin\runemacs.exe > It uses, *I believe* > c:/Users/Fred/AppData/Roaming/.emacs.d/init.el To reassure yourself, run:=20 C-x C-f ~/.emacs.d/init.el If it opens your config file, you're good. If not, you should move your conf= ig into that location. > when I try to do a grep, I get this error: >=20 > -*- mode: grep; default-directory: "c:/Users/Fred/" -*- > Grep started at Wed Mar 8 19:46:54 >=20 > grep -n the *.txt NUL > 'grep' is not recognized as an internal or external command, > operable program or batch file. >=20 > Grep exited abnormally with code 1 at Wed Mar 8 19:46:54 >=20 > What do I need to do to get grep to work. > (FYI: I have deleted at least one Cygwin installation I had tried.) It looks like the command grep is not in your path.=20 To ensure that it is, open the terminal where you usually run grep from and t= ype:=20 which grep=20 Note the path (if grep is installed). Then in Emacs:=20 M-x eshell RET which grep RET echo $PATH RET Check if grep is found in Eshell's path. If it isn't, you should add it. Hope it helps=20 Aleksandar=