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

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

Re: Diff on Emacs


From: LEE Sau Dan
Subject: Re: Diff on Emacs
Date: 17 Nov 2003 18:46:26 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

>>>>> "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.



-- 
Lee Sau Dan                     李守敦(Big5)                    ~{@nJX6X~}(HZ) 

E-mail: danlee@informatik.uni-freiburg.de
Home page: http://www.informatik.uni-freiburg.de/~danlee


reply via email to

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