all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Ediff ignore-whitespace?
Date: Tue, 18 Nov 2003 12:08:53 -0700	[thread overview]
Message-ID: <3FBA6E45.9090309@yahoo.com> (raw)
In-Reply-To: mailman.220.1069171464.399.help-gnu-emacs@gnu.org

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

       reply	other threads:[~2003-11-18 19:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.220.1069171464.399.help-gnu-emacs@gnu.org>
2003-11-18 19:08 ` Kevin Rodgers [this message]
2003-11-19  0:54   ` Ediff ignore-whitespace? Kevin Rodgers
2003-11-20 16:44   ` kgold
2003-11-20 19:01     ` Kevin Rodgers
2003-11-18 15:02 Michael Mercurio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FBA6E45.9090309@yahoo.com \
    --to=ihs_4664@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.