* ediff: replace refined differences @ 2009-03-16 14:55 Martin Rubey 2009-03-17 6:01 ` Drew Adams ` (2 more replies) 0 siblings, 3 replies; 6+ messages in thread From: Martin Rubey @ 2009-03-16 14:55 UTC (permalink / raw) To: help-gnu-emacs Hello! 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? Thanks, Martin ^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: ediff: replace refined differences 2009-03-16 14:55 ediff: replace refined differences Martin Rubey @ 2009-03-17 6:01 ` Drew Adams [not found] ` <mailman.3380.1237269674.31690.help-gnu-emacs@gnu.org> 2009-03-17 7:06 ` Martin 2 siblings, 0 replies; 6+ messages in thread From: Drew Adams @ 2009-03-17 6:01 UTC (permalink / raw) To: 'Martin Rubey', help-gnu-emacs > 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. ;-) Perhaps someone else has another suggestion. ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <mailman.3380.1237269674.31690.help-gnu-emacs@gnu.org>]
* Re: ediff: replace refined differences [not found] ` <mailman.3380.1237269674.31690.help-gnu-emacs@gnu.org> @ 2009-03-17 6:19 ` Martin Rubey 2009-03-17 6:43 ` Samuel Wales 0 siblings, 1 reply; 6+ messages in thread From: Martin Rubey @ 2009-03-17 6:19 UTC (permalink / raw) To: help-gnu-emacs 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ediff: replace refined differences 2009-03-17 6:19 ` Martin Rubey @ 2009-03-17 6:43 ` Samuel Wales 0 siblings, 0 replies; 6+ messages in thread From: Samuel Wales @ 2009-03-17 6:43 UTC (permalink / raw) To: Martin Rubey; +Cc: help-gnu-emacs Perhaps if ediff has some kind of preprocessing hook, you can somehow refine. Not helpful, I know, but such a hook would have other uses. -- Myalgic encephalomyelitis denialism is causing death (decades early; Jason et al. 2006) and severe suffering (worse than nearly all other diseases studied; e.g. Schweitzer et al. 1995) and *grossly* corrupting science. http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ediff: replace refined differences 2009-03-16 14:55 ediff: replace refined differences Martin Rubey 2009-03-17 6:01 ` Drew Adams [not found] ` <mailman.3380.1237269674.31690.help-gnu-emacs@gnu.org> @ 2009-03-17 7:06 ` Martin 2009-03-17 8:16 ` Martin Rubey 2 siblings, 1 reply; 6+ messages in thread From: Martin @ 2009-03-17 7:06 UTC (permalink / raw) To: help-gnu-emacs Martin Rubey <axiomize@yahoo.de> writes: > Hello! > > 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? > > Thanks, > > Martin Hi, did you look at ediff-regions-wordwise <menu-bar> <tools> <compare> <ediff-regions-wordwise> Run Ediff on a pair of regions in specified buffers. ediff-windows-wordwise <menu-bar> <tools> <compare> <ediff-windows-wordwise> Compare WIND-A and WIND-B, which are selected by clicking, wordwise. already ? Martin -- parozusa at web de ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ediff: replace refined differences 2009-03-17 7:06 ` Martin @ 2009-03-17 8:16 ` Martin Rubey 0 siblings, 0 replies; 6+ messages in thread From: Martin Rubey @ 2009-03-17 8:16 UTC (permalink / raw) To: help-gnu-emacs Martin <nospam@nospam.net> writes: > > 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? > ediff-regions-wordwise <menu-bar> <tools> <compare> <ediff-regions-wordwise> > Run Ediff on a pair of regions in specified buffers. > ediff-windows-wordwise <menu-bar> <tools> <compare> <ediff-windows-wordwise> > Compare WIND-A and WIND-B, which are selected by clicking, wordwise. Wow, that's just perfect! Thank you so much! And now indeed I love ediff even better. How can one live without it! Martin ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-03-17 8:16 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-03-16 14:55 ediff: replace refined differences Martin Rubey 2009-03-17 6:01 ` Drew Adams [not found] ` <mailman.3380.1237269674.31690.help-gnu-emacs@gnu.org> 2009-03-17 6:19 ` Martin Rubey 2009-03-17 6:43 ` Samuel Wales 2009-03-17 7:06 ` Martin 2009-03-17 8:16 ` Martin Rubey
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).