From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giacomo M Subject: Count words under subtrees Date: Tue, 27 Sep 2016 11:01:37 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1booI6-0007K0-Kq for emacs-orgmode@gnu.org; Tue, 27 Sep 2016 05:03:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1booI2-00035a-Db for emacs-orgmode@gnu.org; Tue, 27 Sep 2016 05:03:05 -0400 Received: from mail-wm0-f42.google.com ([74.125.82.42]:38703) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1booI2-0002yr-6A for emacs-orgmode@gnu.org; Tue, 27 Sep 2016 05:03:02 -0400 Received: by mail-wm0-f42.google.com with SMTP id l132so882432wmf.1 for ; Tue, 27 Sep 2016 02:02:39 -0700 (PDT) Received: from [127.0.0.1] ([212.189.161.135]) by smtp.gmail.com with ESMTPSA id n131sm15647208wmd.3.2016.09.27.02.01.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Sep 2016 02:01:38 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "emacs-orgmode@gnu.org" 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). Thanks, Giacomo