On Tuesday, 27 Sep 2016 at 09:01, Giacomo M wrote: > Dear all, > > right now I manually =er/expand-region= (from expand-region.el) until I > select a subtree, and then =count-words-region= to get number of words > for the subtree. I was wondering whether anybody already coded some lisp > to programmatically have this count, ideally one count per TOC entry > (and perhaps excluding headline words in the count).
Cannot help you directly although this topic has come up before on this list. However, I can point you to C-c @ (org-mark-subtree) as a quick way to select the whole subtree which at least makes the process a little less painful. -- : Eric S Fraga (0xFFFCF67D), Emacs 25.1.50.1, Org release_8.3.6-1149-g582233