[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7375: 23.1; Emacs does not have a word count feature
From: |
Lennart Borgman |
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@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.