From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: LEE Sau Dan Newsgroups: gmane.emacs.help Subject: Re: Diff on Emacs Date: 17 Nov 2003 18:46:26 +0100 Organization: Rechenzentrum der Universitaet Freiburg, Germany 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> <873ccr6iqp.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-7 X-Trace: sea.gmane.org 1069106786 21034 80.91.224.253 (17 Nov 2003 22:06:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Nov 2003 22:06:26 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 17 23:06:21 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 1ALrVk-0005aE-00 for ; Mon, 17 Nov 2003 23:06:20 +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 1ALsNP-0004TT-9F for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Nov 2003 18:01:47 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!news.uni-freiburg.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: savona.informatik.uni-freiburg.de User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:118391 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:14333 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14333 >>>>> "Juri" == Juri Linkov writes: Juri> Jasen writes: >> There are many diff*.el and ediff*.el files in ../lisp/ >> directory so isn't diff a standard built-in function for emacs? Juri> To compare two buffers you can use Emacs function Juri> `compare-windows' from compare-w.el which now implements a Juri> simple diff algorithm. Instead of line by line output of Juri> the 'diff' program, `compare-windows' provides differences Juri> character by character which produces more fine-grained Juri> results than the 'diff' program. M-x ediff-buffers gives you a diff output that can be refined to character-based diff. -- Lee Sau Dan +Z05biGVm-(Big5) ~{@nJX6X~}(HZ) E-mail: danlee@informatik.uni-freiburg.de Home page: http://www.informatik.uni-freiburg.de/~danlee