[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rethinking count-words-region
From: |
Jambunathan K |
Subject: |
Re: Rethinking count-words-region |
Date: |
Fri, 07 Oct 2011 22:16:46 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) |
> But going beyond this, instead of introducing a separate
> `count-words-region' command, why not fold this functionality into
> `count-lines-region'? After all, `count-lines-region' already reports
> the number of characters, and there's space for it to report the number
> of words too. And it has a convenient binding in M-=, whereas
> `count-words-region' has no default binding.
FWIW, what constitutes a word is also mode dependent. Here is a link
from the Orgmode mailing list.
http://thread.gmane.org/gmane.emacs.orgmode/37762/focus=38014
> Maybe we could rename the combined function something like `count-text'
> (better suggestions welcome).
Let the function name have `statistics' or `stats' in it (for eg
`region-stats'). This way it will be future compatible.
FWIW, LibreOffice reports following stats on a document:
1. No. of Pages
2. No. of Tables
3. No. of Graphics
4. No. of Paragraphs
5. No. of Words
6. No. of Characters
7. No. of Characters excluding spaces
8. No. of lines
--
- Rethinking count-words-region, Chong Yidong, 2011/10/07
- Re: Rethinking count-words-region,
Jambunathan K <=
- Re: Rethinking count-words-region, Eli Zaretskii, 2011/10/07
- Re: Rethinking count-words-region, Chong Yidong, 2011/10/07
- Re: Rethinking count-words-region, Chong Yidong, 2011/10/07
- Re: Rethinking count-words-region, Andreas Röhler, 2011/10/08
- RE: Rethinking count-words-region, Drew Adams, 2011/10/08
- Re: Rethinking count-words-region, Chong Yidong, 2011/10/08
- RE: Rethinking count-words-region, Drew Adams, 2011/10/08
- Re: Rethinking count-words-region, Alan Mackenzie, 2011/10/08