From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.help Subject: Re: Diff on Emacs Date: Tue, 11 Nov 2003 09:50:03 +0000 Organization: muc.de e.V. -- private internet access Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <3FB06535.5010302@yy.zz> <3FB07413.701@yy.zz> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1068549394 16118 80.91.224.253 (11 Nov 2003 11:16:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Nov 2003 11:16:34 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 11 12:16:31 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AJWVb-0001EY-00 for ; Tue, 11 Nov 2003 12:16:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AJXIK-0006DY-AZ for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Nov 2003 07:06:52 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.space.net!news.muc.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 37 Original-NNTP-Posting-Host: acm.muc.de Original-X-Trace: marvin.muc.de 1068547229 59501 193.149.49.134 (11 Nov 2003 10:40:29 GMT) Original-X-Complaints-To: news-admin@muc.de Original-NNTP-Posting-Date: 11 Nov 2003 10:40:29 GMT User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686)) Original-Xref: shelby.stanford.edu gnu.emacs.help:118105 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:14045 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14045 Jasen wrote on Mon, 10 Nov 2003 21:30:59 -0800: > Jesper Harder wrote: >> Jasen writes: >>>>How do I enable diff on Emacs? Doesn't diff a standard built-in >>>>function in Emacs? Wheh I try to diff two buffers, i got "no such >>>>file or directory" error that doesn't sound right, what did I miss >>>>here? >>>Sorry, forgot to tell you that I'm using Emacs 21.2.1 on Windows XP. >> Ah, then you need to install the 'diff' program from somewhere. One >> possibility is to get it from the Cygwin tools. > There are many diff*.el and ediff*.el files in ../lisp/ directory so > isn't diff a standard built-in function for emacs? Let me clarify Jesper's post: All these elisp files eventually call a separate executable program "diff.exe". There is no such program included in Microsoft operating systems (guess why we all prefer GNU/linux? :-), and that is what your error message ("no such file...") is about. So you're going to have to install diff.exe yourself. A good place to download it from would be (If I remember the URL correctly - if not, do a Web search for "cygwin"). > Jasen -- Alan Mackenzie (Munich, Germany) Email: aacm@muuc.dee; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, "a").