xdiff - External graphical file difference
%xdiff-com - Extenal graphical differnce xdiff(1) command line
xdiff "leftVersion" "rightVersion"
X-Windows "xdiff -wb %lf %rf" when using xdiff from http://reality.sgiweb.org/rudy/xdiff/
MS-Windows "bc2.exe %lf %rf /title1=%lt /title2=%rt" when using Beyond Compare.
xdiff is a macro wrapper that invokes an external graphical file difference utility, named after the original X-Windows utility of the same name. The utility will usually display two files side by side and color code the differences, the differences may then be selected to merge the changes into a new output file which may (or may not) overwrite one of the original input files.
xdiff executes the difference utility xdiff(1) command (or equivalent) with the command line set by the %xdiff-com variable and the user supplied files leftVersion and rightVersion. The command line variables are referenced from the %xdiff-com as follows:
The %xdiff-com variable should include the appropriate command to invoke the difference utility and use % place holders for the arguments. MicroEmacs will fill in the % arguments with their correct values on invocation.
set-variable %xdiff-com "xdiff -wb %lf %rf"
The -wb options will ignore while space and trailing blanks.
set-variable %xdiff-com "bc2.exe %lf %rf /title1=%lt /title2=%rt"
In this case the %lt values have been used for the title names for each of the windows in the utility.
xdiff is a macro defined in tools.emf, inspired by the UNIX utility of the same name xdiff(1)
Copyright (c) 1998-2006 JASSPA
Last Modified: 2006/08/20
Generated On: 2006/10/07