[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using Emacs' help system
From: |
Aidan Gauland |
Subject: |
Re: Using Emacs' help system |
Date: |
Mon, 11 Feb 2013 13:48:10 +1300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Dan Espen <despen@verizon.net> writes:
> Aidan Gauland <aidalgol@no8wireless.co.nz> writes:
>> I think this is a case of obscure naming. That function doesn't mention
>> in its docstring that it returns a character count as well.
>
> in 24.1.1 I see:
>
> count-words-region is an interactive compiled Lisp function.
>
> It is bound to M-=.
>
> (count-words-region START END)
>
> Count the number of words in the region.
> If called interactively, print a message reporting the number of
> lines, words, and chars in the region.
> If called from Lisp, return the number of words between positions
> START and END.
>
> Seems to mention characters.
Oh, so it does. Guess it was a case of user error. :)