From: Simon Guest <sjg@cantab.net>
To: Jacopo De Simoi <wilderkde@gmail.com>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: Word-counting in a subtree
Date: Tue, 22 Aug 2017 20:31:23 +1200 [thread overview]
Message-ID: <CAFhGSbuOSuiG-2U4gV8w-h+cOqmtr8udRJr-bFXN58md1bZpJQ@mail.gmail.com> (raw)
In-Reply-To: <4070576.EzaRnAn6cA@bl4ckspoons>
[-- Attachment #1: Type: text/plain, Size: 1226 bytes --]
[copy to list]
A few years ago I wrote org-wc.el, which is on MELPA. It uses overlays to
display a word count against each heading.
Just install the package, and run org-wc-display.
https://github.com/tesujimath/org-wc
Hope that helps.
cheers,
Simon
On 22 August 2017 at 09:34, Jacopo De Simoi <wilderkde@gmail.com> wrote:
> 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
> > >
> > > 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
> this, could work as a temporary solution, but I'd still like to cook up
> some
> tag integrated with org
>
> >
> > 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…
>
>
>
[-- Attachment #2: Type: text/html, Size: 2026 bytes --]
next prev parent reply other threads:[~2017-08-22 8:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2017-08-22 9:24 ` Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFhGSbuOSuiG-2U4gV8w-h+cOqmtr8udRJr-bFXN58md1bZpJQ@mail.gmail.com \
--to=sjg@cantab.net \
--cc=emacs-orgmode@gnu.org \
--cc=wilderkde@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.