emacs-pretest-bug
[Top][All Lists]
Advanced

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

Suggestion for ediff


From: Matthieu Moy
Subject: Suggestion for ediff
Date: Tue, 19 Sep 2006 13:16:25 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Hi,

Just a suggestion for ediff.

It currently does word-granularity, and does it very well. Character
granularity would probably be too much work compared to what it would
provide.

However, there's an intermediate: remove the common characters from
the beginning and end of the word which are common to both versions.
For example,

-some word
+some words

could easity see that just the "s" is different.

On the other hand, on this example:

-1234xxxx1234
+1234yxxy1234

it would still consider xxxx Vs yxxy to be the "different" part of the
word, although the xx in the middle didn't change: start by the
beginning, and stop at the first different character, and similarly
from the end.

It would be very usefull to me at least it two situations: identify at
a glance the trivial typo fixes (plural/singular, ...), and identify
at a glance the changes in number of repeated characters (like
transforming ")))))))" into "))))))))", which would just highlight one
closing parenthesis)


Thanks,

--
Matthieu





reply via email to

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