[Top][All Lists]

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

Re: Ediff ignore-whitespace?

From: Kevin Rodgers
Subject: Re: Ediff ignore-whitespace?
Date: Tue, 18 Nov 2003 12:08:53 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv: Gecko/20020406 Netscape6/6.2.2

Michael Mercurio wrote:

It seems that "ignore-whitepace" option in Ediff, used
to "skip over regions that differ only in whitespace
and linebreaks", does not consider "lack of
whitespace" between braces and parens in C and C++

As an example, it would be nice to ignore the
difference in whitepace and lack of whitespace between
the parens in the following regions:

  Region A:
    if ( (var1 == true) || (var2 == true) )

  Region B:
    if ((var1 == true) || (var2 == true))

Does anyone know how to make ediff behave this way?

(setq ediff-forward-word-function 'forward-char)


(setq ediff-diff-option "-w")

Kevin Rodgers

reply via email to

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