|
From: | Andreas Röhler |
Subject: | Re: Best way to get buffer changes in a program? |
Date: | Tue, 18 Mar 2014 07:40:59 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |