all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Bastien <bzg@altern.org>
Cc: Matt Lee <mattl@fsf.org>, 7375@debbugs.gnu.org
Subject: bug#7375: 23.1; Emacs does not have a word count feature
Date: Fri, 12 Nov 2010 01:26:00 +0100	[thread overview]
Message-ID: <AANLkTikSgRn+AXKeSrFZsKKFQT2nDH+OMxxr_JD+F911@mail.gmail.com> (raw)
In-Reply-To: <87oc9v76sa.fsf@altern.org>

On Fri, Nov 12, 2010 at 12:57 AM, Bastien <bzg@altern.org> wrote:
> Lennart Borgman <lennart.borgman@gmail.com> writes:
>
>> On Thu, Nov 11, 2010 at 11:29 PM, Glenn Morris <rgm@gnu.org> wrote:
>>> Matt Lee wrote:
>>>
>>>> I would expect to be able to do M-x word-count-region and have it return
>>>> the number of words in the buffer or selection.
>>>
>>> Perhaps we could install this version
>>>
>>> http://lists.gnu.org/archive/html/emacs-devel/2006-09/msg01029.html
>>
>> The buffer function forgots to widen.
>
> No need to widen a region narrowed to (point-min) and (point-max)?

Those return the min/max of the narrowed buffer.

Another option than widening is just changing the doc string of
count-words-buffer.





  reply	other threads:[~2010-11-12  0:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-11 13:47 bug#7375: 23.1; Emacs does not have a word count feature Matt Lee
2010-11-11 16:21 ` Bastien
2010-11-11 17:03   ` Dani Moncayo
2010-11-11 22:29 ` Glenn Morris
2010-11-11 22:46   ` Lennart Borgman
2010-11-11 23:57     ` Bastien
2010-11-12  0:26       ` Lennart Borgman [this message]
2010-11-13  3:48   ` Glenn Morris

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=AANLkTikSgRn+AXKeSrFZsKKFQT2nDH+OMxxr_JD+F911@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=7375@debbugs.gnu.org \
    --cc=bzg@altern.org \
    --cc=mattl@fsf.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.