From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.devel,gmane.emacs.xemacs.design Subject: Re: emacs kpart Date: Mon, 07 Jul 2003 12:38:06 -0600 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <3F09BE0E.8040701@yahoo.com> References: <200307041533.03863.mvc@netcabo.pt> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1057606655 3430 80.91.224.249 (7 Jul 2003 19:37:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 7 Jul 2003 19:37:35 +0000 (UTC) Cc: xemacs-design@xemacs.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Jul 07 21:37:33 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Zbnp-0000t9-00 for ; Mon, 07 Jul 2003 21:37:33 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19Zbxp-00018F-00 for ; Mon, 07 Jul 2003 21:47:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Zbjm-00022D-H2 for emacs-devel@quimby.gnus.org; Mon, 07 Jul 2003 15:33:22 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19ZbaK-0007Sm-K6 for emacs-devel@gnu.org; Mon, 07 Jul 2003 15:23:36 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19ZbFJ-0001qP-GW for emacs-devel@gnu.org; Mon, 07 Jul 2003 15:01:53 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19ZasK-0004JH-8d for emacs-devel@gnu.org; Mon, 07 Jul 2003 14:38:08 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Zard-0004Wx-00 for ; Mon, 07 Jul 2003 20:37:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Zarb-0004WX-00 for ; Mon, 07 Jul 2003 20:37:23 +0200 Original-Lines: 15 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15465 gmane.emacs.xemacs.design:2177 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15465 Marco Correia wrote: > Is there a way to store the contents of the current buffer and then, after > some modification, retrieve only the part that have changed? I know that > there are some functions for retrieving the entire or part of the buffer > (e.g. buffer-string,buffer-substring) but if I don't know which parts have > been modified after some point, my only choice is to retrieve the entire > buffer, which is of course very inneficient. You might want to look at how highlight-changes-mode keeps track of changes to the buffer. -- Kevin Rodgers