* Ediff: toggle whitespace when ediff-diff-options has -w
@ 2012-01-11 18:34 Saurabh T
2012-01-11 18:56 ` Drew Adams
0 siblings, 1 reply; 3+ messages in thread
From: Saurabh T @ 2012-01-11 18:34 UTC (permalink / raw)
To: Emacs
I have ediff-diff-options set to -w. But this removes the toggle behaviour of "##" in the ediff window. Is there any automatic way to have the initial diff set to ignore whitespaces, but preserve the toggle behaviour?
saurabh
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Ediff: toggle whitespace when ediff-diff-options has -w
2012-01-11 18:34 Ediff: toggle whitespace when ediff-diff-options has -w Saurabh T
@ 2012-01-11 18:56 ` Drew Adams
2012-01-11 19:01 ` Saurabh T
0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2012-01-11 18:56 UTC (permalink / raw)
To: 'Saurabh T', 'Emacs'
> I have ediff-diff-options set to -w. But this removes the
> toggle behaviour of "##" in the ediff window. Is there any
> automatic way to have the initial diff set to ignore
> whitespaces, but preserve the toggle behaviour?
Try (untested):
(setq-default ediff-ignore-similar-regions t)
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Ediff: toggle whitespace when ediff-diff-options has -w
2012-01-11 18:56 ` Drew Adams
@ 2012-01-11 19:01 ` Saurabh T
0 siblings, 0 replies; 3+ messages in thread
From: Saurabh T @ 2012-01-11 19:01 UTC (permalink / raw)
To: drew.adams, Emacs
> From: drew.adams@oracle.com
> To: saurabh@hotmail.com; help-gnu-emacs@gnu.org
> Subject: RE: Ediff: toggle whitespace when ediff-diff-options has -w
> Date: Wed, 11 Jan 2012 10:56:28 -0800
>
> > I have ediff-diff-options set to -w. But this removes the
> > toggle behaviour of "##" in the ediff window. Is there any
> > automatic way to have the initial diff set to ignore
> > whitespaces, but preserve the toggle behaviour?
>
> Try (untested):
>
> (setq-default ediff-ignore-similar-regions t)
>
That worked, thank you!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-01-11 19:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-11 18:34 Ediff: toggle whitespace when ediff-diff-options has -w Saurabh T
2012-01-11 18:56 ` Drew Adams
2012-01-11 19:01 ` Saurabh T
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).