help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Diff on Emacs


From: Juri Linkov
Subject: Re: Diff on Emacs
Date: Tue, 18 Nov 2003 11:52:38 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

LEE Sau Dan <danlee@informatik.uni-freiburg.de> writes:
>>>>>> "Juri" == Juri Linkov <juri@jurta.org> writes:
>     Juri> Jasen <xx@yy.zz> 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.

This is not completely true.  Ediff refinements are word-based.
Although this is a big improvement over line-based diff output,
this is not the same thing as character-based `compare-windows'.

-- 
http://www.jurta.org/emacs/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]