all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Aidan Gauland <aidalgol@no8wireless.co.nz>
To: help-gnu-emacs@gnu.org
Subject: Re: Using Emacs' help system
Date: Mon, 11 Feb 2013 13:48:10 +1300	[thread overview]
Message-ID: <87d2w765h1.fsf@dimension8.tehua.net> (raw)
In-Reply-To: icsj53668l.fsf@home.home

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. :)


  reply	other threads:[~2013-02-11  0:48 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-10 22:27 Using Emacs' help system deech
2013-02-10 23:02 ` Dan Espen
2013-02-10 23:13 ` Chris F.A. Johnson
2013-02-10 23:48 ` Aidan Gauland
2013-02-11  0:31   ` Dan Espen
2013-02-11  0:48     ` Aidan Gauland [this message]
2013-02-11  1:41   ` Drew Adams
     [not found]   ` <mailman.19549.1360546899.855.help-gnu-emacs@gnu.org>
2013-02-11  3:34     ` Barry Margolin
2013-02-11 15:15       ` Drew Adams
2013-02-11  2:58 ` Jambunathan K
2013-02-11  4:40   ` Drew Adams
2013-02-11  4:50     ` Jambunathan K
2013-02-11  4:59     ` Jambunathan K
2013-02-11  7:09       ` Drew Adams
2013-02-11  9:27         ` Jambunathan K
2013-02-11 15:51           ` Drew Adams
2013-02-16 21:50           ` Oleksandr Gavenko

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=87d2w765h1.fsf@dimension8.tehua.net \
    --to=aidalgol@no8wireless.co.nz \
    --cc=help-gnu-emacs@gnu.org \
    /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.