From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: Newbie question re ediff Date: Fri, 9 Feb 2007 18:13:23 -0600 Organization: UseNetServer.com Message-ID: <2defd$45cd0e3a$49edee1$29516@DIALUPUSA.NET> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1171068038 2236 80.91.229.12 (10 Feb 2007 00:40:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 10 Feb 2007 00:40:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 10 01:40:35 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HFgI6-0004X3-JU for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Feb 2007 01:40:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HFgI6-00032m-5U for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Feb 2007 19:40:34 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!208.49.83.146.MISMATCH!uns-out.usenetserver.com!news.usenetserver.com!pc03.usenetserver.com!DIALUPUSA.NET!not-for-mail Original-Newsgroups: gnu.emacs.help X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-X-Complaints-To: abuse@usenetserver.com Original-Lines: 69 Original-X-Trace: 2defd45cd0e3aa13b7b4429516 Original-Xref: shelby.stanford.edu gnu.emacs.help:145439 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41044 Archived-At: "mkeller" wrote in message news:mailman.4256.1171057558.2155.help-gnu-emacs@gnu.org... > > Hi all, > > This comes from a emacs novice. I've searched the old posts and found > several querries related to mine, but all the answers are over my head... > thus, please answer like you're talking to a "emacs challenged" person when > replying :). > > I use emacs version 21-3 for programming in R (ESS). I'm running on Windows > XP. I would really like to use the "ediff" or "diff" functions but cannot > figure out how to do this. If I simply go to Tools -> Compare I get this: > > "No such file or directory, diff" > > After reading previous querries & responses on this forum, I installed > diffutils-2.8.7-1.exe and placed those utilities in the folder: C:\Program > Files\GnuWin32. > > Now someone on a previous response said you need to change your _emacs file > "appropriately," but I have no idea how to do that. Do I need to change the > _emacs file so that emacs knows where to find the diff program? If so, how > do I do that? If not, what do I need to do to use diff within emacs? > > Appologies for the level of this question, and thanks in advance, > > Matt > -- > View this message in context: http://www.nabble.com/Newbie-question-re-ediff-tf3202866.html#a8893751 > Sent from the Emacs - Help mailing list archive at Nabble.com. > > > It looks to me like you are typing in "diff" as a file or buffer name. In my w32 build (21.3 on msw98) the menu shows Tools > Compare(Ediff) > Two files, two buffers, etc in a drop down list. In two buffers, if I accept the default, it compares *scratch* with itself and generates 2 buffers, A and B, in an Ediff frame, showing no differences. I don't think you needed diffutils. I don't find anything named that under my emacs subdirectory, only under cygwin, which I don't use to run emacs. Ediff is like dired and probably many other parts of emacs: the code for it is loaded when you invoke the command. The .emacs (or _emacs) will be found in your HOME directory. If you don't have one then add set HOME ..\emacs (or wherever; it doesn't have to be with /bin, /lisp, and the rest of the emacs files so it could be anywhere in a non networked machine, even the root directory (the default in w32 if you don't set it up somewhere else). Just C-xC-f .emacs, write something in it like: (+ 1 1) and then write to wherever your home directory is with C-xC-w. Emacs will suggest ~/ if it thinks it knows where your home directory is. To put something more useful into .emacs, save a few Custom settings for future sessions (under Options > Customize Emacs > Specific Option > Customize variable > [Tab]). Ed