From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.help Subject: Re: Diff on Emacs Date: Fri, 14 Nov 2003 18:02:38 +0200 Organization: JURTA Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <873ccr6iqp.fsf@mail.jurta.org> References: <3FB06535.5010302@yy.zz> <3FB07413.701@yy.zz> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1068826974 21377 80.91.224.253 (14 Nov 2003 16:22:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 Nov 2003 16:22:54 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 14 17:22:50 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 1AKgif-0003cv-00 for ; Fri, 14 Nov 2003 17:22:49 +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 1AKhYc-0002qh-Ge for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Nov 2003 12:16:30 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:gemxKOnBju7XwXcnXbgWUDLgUns= Original-NNTP-Posting-Host: 80.235.42.104 Original-X-Trace: news.estpak.ee 1068825797 80.235.42.104 (14 Nov 2003 18:03:17 +0200) Original-Lines: 12 Original-X-Complaints-To: usenet@estpak.ee Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news2.telebyte.nl!humbolt.nl.linux.org!news.nl.linux.org!surfnet.nl!teleglobe.net!news.estpak.ee!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:118244 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:14186 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14186 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? To compare two buffers you can use Emacs function `compare-windows' from compare-w.el which now implements a simple diff algorithm. Instead of line by line output of the 'diff' program, `compare-windows' provides differences character by character which produces more fine-grained results than the 'diff' program. -- http://www.jurta.org/emacs/