Ediff should consider \r, which is used by DOS (and Mac) to terminate
lines, and \240, which is the Unicode non-breaking space, as whitespace
characters. Doing so greatly improves the visual results. Or, if there is
some reason that they are omitted, that should be indicated in the source
code, so that others don't wonder at the reason for the sub-optimal
results.
-Michael Ernst
[EMAIL PROTECTED]
2006-04-01 Michael Ernst <[EMAIL PROTECTED]>
* ediff-diff.el (ediff-whitespace): Consider carriage return and
non-breaking space to be white space.
--- /afs/csail.mit.edu/u/m/mernst/bin/src/emacs-22/emacs/lisp/ediff-diff.el
2006-03-20 15:58:32.000000000 -0500
+++ - 2006-04-01 13:42:45.998724000 -0500
@@ -1326,7 +1326,7 @@
Used for splitting difference regions into individual words.")
(make-variable-buffer-local 'ediff-forward-word-function)
-(defvar ediff-whitespace " \n\t\f"
+(defvar ediff-whitespace " \n\t\f\r\240"
"*Characters constituting white space.
These characters are ignored when differing regions are split into words.")
(make-variable-buffer-local 'ediff-whitespace)
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug