From mboxrd@z Thu Jan  1 00:00:00 1970
From: Eric S Fraga <e.fraga@ucl.ac.uk>
Subject: Re: Sub-tree word count v2
Date: Fri, 29 Apr 2011 00:16:39 +0100
Message-ID: <87sjt2q84o.fsf@ucl.ac.uk>
References: <867hal4a6t.wl%simon.guest@tesujimath.org>
	<87iptzoa5x.fsf@ucl.ac.uk> <86zknb9v1y.wl%simon.guest@tesujimath.org>
	<87oc3qg4f8.fsf@ucl.ac.uk> <86y62uxc90.wl%simon.guest@tesujimath.org>
Mime-Version: 1.0
Content-Type: text/plain
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([140.186.70.92]:49654)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <e.fraga@ucl.ac.uk>) id 1QFaRw-0000zq-6I
	for emacs-orgmode@gnu.org; Thu, 28 Apr 2011 19:16:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <e.fraga@ucl.ac.uk>) id 1QFaRu-0002G6-Lo
	for emacs-orgmode@gnu.org; Thu, 28 Apr 2011 19:16:44 -0400
Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:49936)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <e.fraga@ucl.ac.uk>) id 1QFaRu-0002Fs-95
	for emacs-orgmode@gnu.org; Thu, 28 Apr 2011 19:16:42 -0400
In-Reply-To: <86y62uxc90.wl%simon.guest@tesujimath.org> (Simon Guest's message
	of "Fri, 29 Apr 2011 10:05:47 +1200")
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: </archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
To: Simon Guest <simon.guest@tesujimath.org>
Cc: emacs-org list <emacs-orgmode@gnu.org>

Simon Guest <simon.guest@tesujimath.org> writes:

> At Thu, 28 Apr 2011 09:34:35 +0100,
> Eric S Fraga wrote:
>> However, it would be helpful if the modification flag were not changed
>> by asking for the word count.  I don't know enough elisp to suggest what
>
>> to change but you should be able to add the text properties without
>> causing the buffer modification flag to change?  Column view, for
>> instance, doesn't do this.
>
> Hi Eric,
>
> OK, I fixed this.  Now buffer modification state is preserved.  Also
> now handles empty sections properly.
>
> Version 2 attached below.

Excellent.  Works very well indeed.  Thanks!
-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.5 (release_7.5.223.g4a86.dirty)