[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Context-sensitive word count in org mode (elisp)
|
From: |
Paul Sexton |
|
Subject: |
[Orgmode] Re: Context-sensitive word count in org mode (elisp) |
|
Date: |
Wed, 16 Feb 2011 23:31:23 +0000 (UTC) |
|
User-agent: |
Loom/3.14 (http://gmane.org/) |
That looks really good. My suggestion would be to modify it so that
'wc-count' can be redefined on a per-major-mode or per-buffer basis,
eg via a buffer-local variable 'wc-count-function'.
Then my org-word-count function could be slotted in fairly easily -
I would just have to modify it so that it *returns* the count, rather
than reporting it.
Paul