* Ediff ignore-whitespace?
@ 2003-11-18 15:02 Michael Mercurio
0 siblings, 0 replies; 5+ messages in thread
From: Michael Mercurio @ 2003-11-18 15:02 UTC (permalink / raw)
Hi,
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++
statements.
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?
Thanks,
m
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <mailman.220.1069171464.399.help-gnu-emacs@gnu.org>]
* Re: Ediff ignore-whitespace?
[not found] <mailman.220.1069171464.399.help-gnu-emacs@gnu.org>
@ 2003-11-18 19:08 ` Kevin Rodgers
2003-11-19 0:54 ` Kevin Rodgers
2003-11-20 16:44 ` kgold
0 siblings, 2 replies; 5+ messages in thread
From: Kevin Rodgers @ 2003-11-18 19:08 UTC (permalink / raw)
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++
> statements.
>
> 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)
or
(setq ediff-diff-option "-w")
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-11-20 19:01 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-18 15:02 Ediff ignore-whitespace? Michael Mercurio
[not found] <mailman.220.1069171464.399.help-gnu-emacs@gnu.org>
2003-11-18 19:08 ` Kevin Rodgers
2003-11-19 0:54 ` Kevin Rodgers
2003-11-20 16:44 ` kgold
2003-11-20 19:01 ` Kevin Rodgers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).