[Top][All Lists]

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

Re: ediff feature request: diffing line by line

From: Michael Kifer
Subject: Re: ediff feature request: diffing line by line
Date: Sat, 16 Mar 2002 12:43:09 -0500

>>>>> "CT" == Carlo Traverso <of Sat, 16 Mar 2002 17:27:23 +0100> writes:

>>>>> "Karl" == Karl Eichwalder <address@hidden> writes:

    Karl> Let me forward this enhancement proposal:

    Karl> This basically means a diff is required that compares line
    Karl> by line and that allows to say "next word" from version A or
    Karl> "rest of line" from version B is wanted.

Ediff is designed to parse the output of diff and then present it in
different ways. What you are proposing is a kind of "incremental diff", if I
understand it correctly. I think it would require a major generalization of
the existing code to do that.

    CT> Another point concerns whitespace: the "ignore whitespace" mode should
    CT> consider equivalent any positive quantity of whitespace (including
    CT> line ends), but should not ignore the difference between existing and
    CT> non-existing whitespace. Currently ediff ignores spaces between word
    CT> and punctuation.

This is because punctuation is considered to be part of the word by
default. Somehow I feel this is more useful in general. However, you can
customize this.


reply via email to

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