From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-9?Q?Ye=FEim_Erke=2DMagent?= Newsgroups: gmane.emacs.help Subject: Re: Ediff error -- Permission denied (Win8) Date: Fri, 2 Aug 2013 13:06:56 -0700 (PDT) Message-ID: <1e7974c4-5655-4c49-8330-6dc9363d3b1a@googlegroups.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-9 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1375474225 5899 80.91.229.3 (2 Aug 2013 20:10:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 Aug 2013 20:10:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 02 22:10:27 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V5LgA-0000vM-PB for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Aug 2013 22:10:26 +0200 Original-Received: from localhost ([::1]:34433 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V5LgA-0004hs-8Z for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Aug 2013 16:10:26 -0400 X-Received: by 10.224.137.137 with SMTP id w9mr11431664qat.6.1375474016667; Fri, 02 Aug 2013 13:06:56 -0700 (PDT) X-Received: by 10.49.48.197 with SMTP id o5mr293564qen.31.1375474016641; Fri, 02 Aug 2013 13:06:56 -0700 (PDT) Original-Path: usenet.stanford.edu!fx3no579166qab.0!news-out.google.com!a13ni157qay.0!nntp.google.com!fx3no579158qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=70.15.2.179; posting-account=xLs80goAAAAQIthBWufwTFLZQkT3EulG Original-NNTP-Posting-Host: 70.15.2.179 User-Agent: G2/1.0 Injection-Date: Fri, 02 Aug 2013 20:06:56 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:200408 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92675 Archived-At: On Thursday, August 1, 2013 5:38:13 PM UTC-4, =D3scar Fuentes wrote: > Ye=FEim Erke-Magent writes: >=20 >=20 >=20 > > It has been years I used Emacs so when I needed to compare 2 text >=20 > > files (they are VBA macros, but I saved them with .txt extension. I >=20 > > installed emacs (version 24.3.1) and used "Compare (Ediff)" under >=20 > > "Tools" menu. Then selected "Two files" and I receive >=20 > > >=20 > > "Searching for program: permission denied, diff" >=20 > > >=20 > > I then open the files and tried to compare 2 buffers, but it didn't mak= e any difference. >=20 >=20 >=20 > Do you have `diff' installed? >=20 >=20 >=20 > > I have 64-bit Win8 on my PC and emacs' directory is under Users >=20 > > directory, not Program Files. Could this be a problem? >=20 >=20 >=20 > No. >=20 >=20 >=20 > > BTW, I also installed GNU grep, but couldn't manage to run it through >=20 > > command line. I then tried using grep under Tools of emacs and it >=20 > > didn't work either. >=20 >=20 >=20 > Is `grep' on a directory listed on the PATH environment variable? How do >=20 > you obtained and installed `grep'? Same for `diff'. >=20 >=20 >=20 > Please note that under Windows you either install the executables on a >=20 > directory already listed on PATH or (better) you add to PATH the >=20 > directory where you installed the executable (when you wish to execute >=20 > that executables from other executables.) >=20 >=20 >=20 > You can set PATH from the OS Control Panel or from your .emacs. See the >=20 > documentation for `setenv' function and for `exec-path' variable. >=20 >=20 >=20 > Also, Emacs has variables for finding certain programs on user-specified >=20 > places or with special names. For grep, there is the variable >=20 > `grep-program'. Ediff already came with GNU Emacs (under the Tools menu). Like emacs, I do= wnloaded GNU Grep. Also, I installed cygwin. I added the new directories = in PATH ( I found it through) Control Panel -> System and Security -> System -> Advanced System Settings = (pops up System Properties window) -> Advanced -> Environment Variables After installing cygwin I tried Ediff, I got a new warning cygwin warning: MS-DOS style path detected: d:\Temp\Macro1.txt Preferred POSIX equivalent is: /cygdrive/d/Temp/Macro1.txt CYGWIN environment variable option "nodosfilewarning" turns off this warn= ing. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames I tried to figure out what to do, but I don't know how to set up the enviro= nment variable.