emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Implemented word count for subtrees


From: Simon Guest
Subject: Re: [O] Implemented word count for subtrees
Date: Thu, 28 Apr 2011 10:41:13 +1200
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

At Wed, 27 Apr 2011 18:51:06 +0100,
Eric S Fraga wrote:
> This is quite nice.  Thanks!
> 
> I cannot help you with the mark problem; hopefully others can.
> 
> One suggestion, however: I wonder if you could introduce the word count
> in a different way?  I do use my headings and having the dots and the
> actual count inserted is not great (although easy work around:
> org-wc-display and then undo immediately after looking at the
> counts...).  Maybe you could automatically define a tag for each
> heading, something like :wcNNNN:?  Of course, this won't be good for
> anybody that wishes to export documents *with* tags...
> 
> Anyway, I've incorporated your code into my emacs configuration.  Thanks
> again!

Hi Eric,

Thanks for your comments.

The counts are not actually inserted as text in the file.  It's just
an overlay, done with text properties like the clock durations (from
where I stole the code).  They don't get saved in the file, and in
fact as soon as you edit the buffer, they all disappear.  At least,
they do for me.

Does it do something different for you?  If so, it may be something to
do with the file coding system that is letting them get saved.  Is
your Org mode file a simple ASCII file, or something else?

cheers,
Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]