From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Karl Eichwalder Newsgroups: gmane.emacs.devel Subject: Re: ediff feature request: diffing line by line Date: Sun, 17 Mar 2002 05:04:01 +0100 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200203161743.MAA02813@sbcs.cs.sunysb.edu> <87bsdof724.fsf@gnu.org> Reply-To: Karl Eichwalder NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1016338233 5325 127.0.0.1 (17 Mar 2002 04:10:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 17 Mar 2002 04:10:33 +0000 (UTC) Cc: kifer@cs.sunysb.edu (Michael Kifer), traverso@dm.unipi.it, emacs-devel@gnu.org Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16mS09-0001Nn-00 for ; Sun, 17 Mar 2002 05:10:33 +0100 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16mS3n-0001yw-00 for ; Sun, 17 Mar 2002 05:14:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16mRyp-0002SC-00; Sat, 16 Mar 2002 23:09:11 -0500 Original-Received: from dns.franken.de ([193.175.24.33] helo=elvis.franken.de) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16mRvx-0002Mg-00; Sat, 16 Mar 2002 23:06:13 -0500 Original-Received: from uucp by elvis.franken.de with local-rmail (Exim 3.22 #1) id 16mRvt-0004Zh-00; Sun, 17 Mar 2002 05:06:09 +0100 Original-Received: by tux.gnu.franken.de (Postfix, from userid 270) id 7D580A4453; Sun, 17 Mar 2002 04:04:01 +0000 (UTC) Original-To: Alex Schroeder In-Reply-To: <87bsdof724.fsf@gnu.org> (Alex Schroeder's message of "Sun, 17 Mar 2002 00:04:35 +0100") Original-Lines: 56 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:1973 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1973 Alex Schroeder writes: >> Ediff is designed to parse the output of diff and then present it in >> different ways. Concerning presentation there isn't that much to change >> What you are proposing is a kind of "incremental diff", if I >> understand it correctly. I think it would require a major >> generalization of the existing code to do that. Yes, it is kind of "incremental"; let's consider these variants: ->>Everyone in the world is permitted to copy and distribute verbatim copies ^^^^^^^^^^^^ of this license document, but changing it is not allowed. ^^^^ <<- ->>Everyone is permitted to copy and distribute verbatim copies of the license document, but changing it is not allowed. ~~~ <<- Ediff sees only 1 difference, and the user may ask for a `ediff-switch-to-line-mode' option able to make chunks of the hunks: ->>Everyone in the world is permitted to copy and distribute verbatim copies ^^^^^^^^^^^^ <<-->>of this license document, but changing it is not allowed. ^^^^ <<- ->>Everyone is permitted to copy and distribute verbatim copies <<-->>of the license document, but changing it is not allowed. ~~~ <<- Of course, this option is useful only as long as we have to compare the same number of similar lines. > I'm not sure, as I understand it, all Karl is saying that we would > like to see more commands to act upon the differences -- copy the > replace the first word of chunk A with the first word of chunk B and > show me a new diff output. The diff output -- the underlying calls to > diff and the processing of the output, and the ediff display need not > be changed. Yes, that's the "incremental" aspect of the proposal. Thanks for clarifying! -- ke@suse.de (work) / keichwa@gmx.net (home): | http://www.suse.de/~ke/ | ,__o Free Translation Project: | _-\_<, http://www.iro.umontreal.ca/contrib/po/HTML/ | (*)/'(*) _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel