GNU bug report logs - #7375
23.1; Emacs does not have a word count feature

Previous Next

Package: emacs;

Reported by: Matt Lee <mattl <at> fsf.org>

Date: Thu, 11 Nov 2010 13:45:02 UTC

Severity: wishlist

Found in version 23.1

Fixed in version 24.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Bastien <bzg <at> altern.org>
Cc: Glenn Morris <rgm <at> gnu.org>, Matt Lee <mattl <at> fsf.org>, 7375 <at> 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
On Fri, Nov 12, 2010 at 12:57 AM, Bastien <bzg <at> altern.org> wrote:
> Lennart Borgman <lennart.borgman <at> gmail.com> writes:
>
>> On Thu, Nov 11, 2010 at 11:29 PM, Glenn Morris <rgm <at> 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.




This bug report was last modified 14 years and 199 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.