From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Martin Rubey Newsgroups: gmane.emacs.help Subject: Re: ediff: replace refined differences Date: 17 Mar 2009 07:19:12 +0100 Organization: Linux Private Site Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1237272059 26826 80.91.229.12 (17 Mar 2009 06:40:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Mar 2009 06:40:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 17 07:42:16 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LjT06-0001H2-Ds for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Mar 2009 07:42:10 +0100 Original-Received: from localhost ([127.0.0.1]:39274 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LjSyi-0001J7-01 for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Mar 2009 02:40:44 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!newsfeed00.sul.t-online.de!t-online.de!news-1.dfn.de!newsserver.rrzn.uni-hannover.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: ada0.ifam.uni-hannover.de Original-X-Trace: newsserver.rrzn.uni-hannover.de 1237270752 9438 130.75.17.184 (17 Mar 2009 06:19:12 GMT) Original-X-Complaints-To: usenet@newsserver.rrzn.uni-hannover.de Original-NNTP-Posting-Date: Tue, 17 Mar 2009 06:19:12 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: news.stanford.edu gnu.emacs.help:167701 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62997 Archived-At: Hi Drew, "Drew Adams" 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