From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: Best way to get buffer changes in a program? Date: Tue, 18 Mar 2014 07:40:59 +0100 Message-ID: <5327EA7B.1010004@easy-emacs.de> References: <87wqfs8jbh.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1395124602 13583 80.91.229.3 (18 Mar 2014 06:36:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Mar 2014 06:36:42 +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 18 07:36:52 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WPndo-0001fW-H1 for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Mar 2014 07:36:48 +0100 Original-Received: from localhost ([::1]:33553 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPndo-0004b6-1y for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Mar 2014 02:36:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPndX-0004Pa-59 for help-gnu-emacs@gnu.org; Tue, 18 Mar 2014 02:36:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPndR-0002FY-0f for help-gnu-emacs@gnu.org; Tue, 18 Mar 2014 02:36:31 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.131]:58922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPndQ-0002FJ-Nk for help-gnu-emacs@gnu.org; Tue, 18 Mar 2014 02:36:24 -0400 Original-Received: from purzel.sitgens (brln-4d0c1ea8.pool.mediaWays.net [77.12.30.168]) by mrelayeu.kundenserver.de (node=mreue003) with ESMTP (Nemesis) id 0Lxrpw-1XAsTK20fM-015J2M; Tue, 18 Mar 2014 07:36:22 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <87wqfs8jbh.fsf@gmail.com> X-Provags-ID: V02:K0:lV/Y/4mTZTcm0W9RnP5s0QEqXe7jg3W1emZlSHSg/jQ qsohaMfOJr9qU0qfYKjFTmi721MBoG8SOVLUUoXZNGZknxhebt kPqK07AbFhHlI4HUKngBPqdry8GuFqex23DxYeqN0dFW81EOv5 X9qa4xMcg5ASOdWjV2nE0sDFAzSAnBy3FPh61I2mV2DCz3ReZq 33bkxAYelySPSCcYKnsXQM8tcZ9X+A9Un2UoCSjKoEZcIqOg0c RPsRMQry1BCmVUjC7KNhxHvcwz8zoY1EIC0UdToZXWa2lkzjsG wpKXjiEzOchKmksXGDKWvXFYed5cr0GE4rrORXai1de575chLX ZvB1kG5+uByqhOoVU+5I+Tox85MTBZjUviJjBoJg2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.126.131 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96574 Archived-At: Am 18.03.2014 01:02, schrieb Thorsten Jolitz: > > Hi List, > > there are many ways to track and visualize changes in Emacs (see > e.g. http://www.emacswiki.org/emacs/TrackChanges). > > However, I would like to get non-interactively a list of lines (or > positions) in the buffer that changed after the last command - how to I > do that? Is is somehow possible to determine in a program that calls > other functions that insert text which new lines have been inserted (when > a buffer increased in size after a command was executed)? > > Thanks in advance for any hints. > You could start from ediff-regions-... running at alist of functions - all that against a list of original buffers.