help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: ediff: replace refined differences


From: Martin Rubey
Subject: Re: ediff: replace refined differences
Date: 17 Mar 2009 07:19:12 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Hi Drew,

"Drew Adams" <drew.adams@oracle.com> writes:

> > I love ediff.  I'd love it even better, if there was a way to
> > copy refined differences selectively:
> > 
> > currently, ediff lets me copy a difference region from one buffer
> > to the other by pressing a or b.
> > 
> > Frequently, I do not want to have the whole difference region
> > copied, but only parts of it.  Is there a nice way to do that?
> 
> AFAIK, there is no way to, say, incrementally or selectively copy
> parts of a single diff from, say, A to B.
> 
> You can, however, quit ediff, narrow the buffers to the parts
> you're interested in, and then use ediff again. Just a workaround,
> but it can sometimes be useful, especially if ediff doesn't quite
> see things the way you do. ;-)

well, the problem is really that I do not want to quit and restart
ediff, find the difference region, etc...

I guess the best thing for me would be a command
"split-difference-region", that makes every (refined) difference a
single difference region.  Maybe a step into this direction would be
to make every line in the current region a region on it's own.  This
would already be quite helpful, I guess.

How are the difference regions computed?

Martin


reply via email to

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