From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: faq.texi Date: Thu, 16 Feb 2006 08:10:31 +0900 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1140054851 31307 80.91.229.2 (16 Feb 2006 01:54:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Feb 2006 01:54:11 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 16 02:54:09 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F9YLI-0007Sm-LV for ged-emacs-devel@m.gmane.org; Thu, 16 Feb 2006 02:54:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F9YJg-0006pO-C1 for ged-emacs-devel@m.gmane.org; Wed, 15 Feb 2006 20:52:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F9VpU-0000WY-1h for emacs-devel@gnu.org; Wed, 15 Feb 2006 18:13:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F9Vnd-0005nL-I6 for emacs-devel@gnu.org; Wed, 15 Feb 2006 18:11:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F9Vn7-00050p-8j for emacs-devel@gnu.org; Wed, 15 Feb 2006 18:10:33 -0500 Original-Received: from [64.233.182.197] (helo=nproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F9Vs7-0007Dp-4G for emacs-devel@gnu.org; Wed, 15 Feb 2006 18:15:43 -0500 Original-Received: by nproxy.gmail.com with SMTP id x37so18771nfc for ; Wed, 15 Feb 2006 15:10:31 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MHhPzhVgreGJKWBOD86i1MmYjItvAEUCKQvUReefJp4ysOR0xqqLX8uJcdyp0zIYf5Ghp1wjh0y/Z9wUYxLb94wBmW+2sqVIjrHrADpk3gid/I6R+9cqmEUYNegbm+1PHEKPDhNRfuv599rDVSqlVdOgSARP5wePW8963y3Fh3U= Original-Received: by 10.49.29.9 with SMTP id g9mr39565nfj; Wed, 15 Feb 2006 15:10:31 -0800 (PST) Original-Received: by 10.48.237.13 with HTTP; Wed, 15 Feb 2006 15:10:31 -0800 (PST) Original-To: Drew Adams In-Reply-To: Content-Disposition: inline X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:50592 Archived-At: On 2/16/06, Drew Adams wrote: > I assume you didn't literally > mean "region" here, but just "section" of text, no? Yes > For comparing text sections in two different buffers, I usually select th= em, > `C-x n n', and use ediff on them. For sections in the same buffer, I > sometimes paste one section into a new buffer and do the same. ediff is the "obvious" method, but it's far too heavyweight, clunky, and awkward for many cases (to tell the truth, I think ediff is too clunky and awkward even for comparing files most of the time). It would be great to have a simple function that compared two sections of a buffer and maybe added overlays highlighting the equal/different bits; perhaps such a function could share some ediff code. -Miles -- Do not taunt Happy Fun Ball.