emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Word-counting in a subtree
@ 2017-08-21 17:21 Jacopo De Simoi
  2017-08-21 18:09 ` Eric S Fraga
  0 siblings, 1 reply; 5+ messages in thread
From: Jacopo De Simoi @ 2017-08-21 17:21 UTC (permalink / raw)
  To: Org Mode List

tl;dr 

Is there a way to create a token on a subtree header that would count words in 
the subtree and [optionally] mark a maximum allowed number of words?

Long question

I am preparing an application and filling out many forms; each section of the 
form (that I rewrote as a subtree-header) has a maximum number of allowed 
words. 
It would be nice to have some kind of token to add to the subtree header which 
would count the number of words in the corresponding paragraph in a semi-
automatic way.  
As a bonus, one could also set a maximum number of words, and the token would 
switch to alert face when the maximum is reached. 

Is there a reasonable way to accomplish this? 

Thanks
 __J

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-08-22  9:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-21 17:21 Word-counting in a subtree Jacopo De Simoi
2017-08-21 18:09 ` Eric S Fraga
2017-08-21 21:34   ` Jacopo De Simoi
2017-08-22  8:31     ` Simon Guest
2017-08-22  9:24     ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).