From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Re: Ediff error -- Permission denied (Win8) Date: Thu, 01 Aug 2013 23:38:13 +0200 Message-ID: <871u6drt16.fsf@wanadoo.es> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1375393136 1206 80.91.229.3 (1 Aug 2013 21:38:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Aug 2013 21:38:56 +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 Aug 01 23:38:58 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 1V50aH-0000km-J9 for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Aug 2013 23:38:57 +0200 Original-Received: from localhost ([::1]:36569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V50aH-0005Uy-5x for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Aug 2013 17:38:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V50Zu-0005LC-JV for help-gnu-emacs@gnu.org; Thu, 01 Aug 2013 17:38:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V50Zn-000109-0Q for help-gnu-emacs@gnu.org; Thu, 01 Aug 2013 17:38:34 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:34501) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V50Zm-000102-QB for help-gnu-emacs@gnu.org; Thu, 01 Aug 2013 17:38:26 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V50Zl-0007qS-Jx for help-gnu-emacs@gnu.org; Thu, 01 Aug 2013 23:38:25 +0200 Original-Received: from 137.red-83-61-144.dynamicip.rima-tde.net ([83.61.144.137]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Aug 2013 23:38:25 +0200 Original-Received: from ofv by 137.red-83-61-144.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Aug 2013 23:38:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 137.red-83-61-144.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:uVy1vFRMld39TRc/1Vo9z2NRTl8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:92645 Archived-At: Yeşim Erke-Magent writes: > It has been years I used Emacs so when I needed to compare 2 text > files (they are VBA macros, but I saved them with .txt extension. I > installed emacs (version 24.3.1) and used "Compare (Ediff)" under > "Tools" menu. Then selected "Two files" and I receive > > "Searching for program: permission denied, diff" > > I then open the files and tried to compare 2 buffers, but it didn't make any difference. Do you have `diff' installed? > I have 64-bit Win8 on my PC and emacs' directory is under Users > directory, not Program Files. Could this be a problem? No. > BTW, I also installed GNU grep, but couldn't manage to run it through > command line. I then tried using grep under Tools of emacs and it > didn't work either. Is `grep' on a directory listed on the PATH environment variable? How do you obtained and installed `grep'? Same for `diff'. Please note that under Windows you either install the executables on a directory already listed on PATH or (better) you add to PATH the directory where you installed the executable (when you wish to execute that executables from other executables.) You can set PATH from the OS Control Panel or from your .emacs. See the documentation for `setenv' function and for `exec-path' variable. Also, Emacs has variables for finding certain programs on user-specified places or with special names. For grep, there is the variable `grep-program'.