From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aidan Gauland Newsgroups: gmane.emacs.help Subject: Re: Using Emacs' help system Date: Mon, 11 Feb 2013 13:48:10 +1300 Organization: Gnus News User Services Message-ID: <87d2w765h1.fsf@dimension8.tehua.net> References: <87obfr688e.fsf@dimension8.tehua.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1360546063 18830 80.91.229.3 (11 Feb 2013 01:27:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Feb 2013 01:27:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 11 02:28:05 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U4iBg-0002Nj-MU for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Feb 2013 02:28:04 +0100 Original-Received: from localhost ([::1]:53483 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4iBN-00015U-Ga for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Feb 2013 20:27:45 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uio.no!quimby.gnus.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: 114-134-8-58.rurallink.co.nz Original-X-Trace: quimby.gnus.org 1360543695 5842 114.134.8.58 (11 Feb 2013 00:48:15 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Mon, 11 Feb 2013 00:48:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:uqbiGdq99DyxHO8eelU5AKXP5Qc= Original-Xref: usenet.stanford.edu gnu.emacs.help:196762 X-Mailman-Approved-At: Sun, 10 Feb 2013 20:27:29 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89053 Archived-At: Dan Espen writes: > Aidan Gauland 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. :)