From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacopo De Simoi Subject: Re: Word-counting in a subtree Date: Mon, 21 Aug 2017 17:34:39 -0400 Message-ID: <4070576.EzaRnAn6cA@bl4ckspoons> References: <1709997.Ids7SHHmVx@bl4ckspoons> <87valgu71m.fsf@t3610> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djuMp-0004fr-3f for emacs-orgmode@gnu.org; Mon, 21 Aug 2017 17:36:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1djuMo-000881-G5 for emacs-orgmode@gnu.org; Mon, 21 Aug 2017 17:36:15 -0400 Received: from mail-it0-x242.google.com ([2607:f8b0:4001:c0b::242]:35980) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1djuMo-00086z-Ae for emacs-orgmode@gnu.org; Mon, 21 Aug 2017 17:36:14 -0400 Received: by mail-it0-x242.google.com with SMTP id 190so2283428itx.3 for ; Mon, 21 Aug 2017 14:36:14 -0700 (PDT) Received: from bl4ckspoons.localnet ([2607:fea8:69f:fefb::3]) by smtp.gmail.com with ESMTPSA id w207sm4358710itc.34.2017.08.21.14.36.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Aug 2017 14:36:12 -0700 (PDT) In-Reply-To: <87valgu71m.fsf@t3610> 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: Org Mode List On Monday, August 21, 2017 2:09:25 PM EDT Eric S Fraga wrote: > On Monday, 21 Aug 2017 at 13:21, Jacopo De Simoi wrote: > > tl;dr > >=20 > > 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? > I cannot help you directly but what I do is: narrow the region to the > sub-tree while writing and then simply execute M-x count-words RET every > now and again. this has the drawback that it also counts words in the header line; except= =20 this, could work as a temporary solution, but I'd still like to cook up som= e=20 tag integrated with org >=20 > There is a wc-mode which displays the number of words/chars in the > modeline but my modeline is already too busy for this... Indeed modelines are crowded these days=E2=80=A6