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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7375 in the body.
You can then email your comments to 7375 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7375; Package emacs. (Thu, 11 Nov 2010 13:45:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matt Lee <mattl <at> fsf.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 11 Nov 2010 13:45:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Matt Lee <mattl <at> fsf.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1; Emacs does not have a word count feature
Date: Thu, 11 Nov 2010 08:47:30 -0500
Emacs is very good for editing text, but in order to count the number
of words in my article, I have to use the 'wc' command.

I feel like this should be integrated.

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.

---
Matt Lee
Campaigns Manager
Free Software Foundation




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7375; Package emacs. (Thu, 11 Nov 2010 16:17:02 GMT) Full text and rfc822 format available.

Message #8 received at 7375 <at> debbugs.gnu.org (full text, mbox):

From: Bastien <bzg <at> altern.org>
To: Matt Lee <mattl <at> fsf.org>
Cc: 7375 <at> debbugs.gnu.org
Subject: Re: bug#7375: 23.1; Emacs does not have a word count feature
Date: Thu, 11 Nov 2010 17:21:30 +0100
Hi Matt,

Matt Lee <mattl <at> fsf.org> writes:

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

You already can do M-| wc RET, which is even shorter.

-- 
 Bastien




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7375; Package emacs. (Thu, 11 Nov 2010 16:59:01 GMT) Full text and rfc822 format available.

Message #11 received at 7375 <at> debbugs.gnu.org (full text, mbox):

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: Bastien <bzg <at> altern.org>
Cc: Matt Lee <mattl <at> fsf.org>, 7375 <at> debbugs.gnu.org
Subject: Re: bug#7375: 23.1; Emacs does not have a word count feature
Date: Thu, 11 Nov 2010 18:03:26 +0100
On Thu, Nov 11, 2010 at 5:21 PM, Bastien <bzg <at> altern.org> wrote:
>
> [...]
>
> You already can do M-| wc RET, which is even shorter.
>

That solution depends on the platform. So, for example on Windows
doesn't work, because "ws" command doesn't exists.


_______

Dani.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7375; Package emacs. (Thu, 11 Nov 2010 22:26:01 GMT) Full text and rfc822 format available.

Message #14 received at 7375 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Matt Lee <mattl <at> fsf.org>
Cc: 7375 <at> debbugs.gnu.org
Subject: Re: bug#7375: 23.1; Emacs does not have a word count feature
Date: Thu, 11 Nov 2010 17:29:56 -0500
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




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7375; Package emacs. (Thu, 11 Nov 2010 22:42:02 GMT) Full text and rfc822 format available.

Message #17 received at 7375 <at> debbugs.gnu.org (full text, mbox):

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Matt Lee <mattl <at> fsf.org>, 7375 <at> debbugs.gnu.org
Subject: Re: bug#7375: 23.1; Emacs does not have a word count feature
Date: Thu, 11 Nov 2010 23:46:04 +0100
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.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7375; Package emacs. (Thu, 11 Nov 2010 23:53:01 GMT) Full text and rfc822 format available.

Message #20 received at 7375 <at> debbugs.gnu.org (full text, mbox):

From: Bastien <bzg <at> altern.org>
To: Lennart Borgman <lennart.borgman <at> gmail.com>
Cc: Glenn Morris <rgm <at> gnu.org>, Matt Lee <mattl <at> fsf.org>, 7375 <at> debbugs.gnu.org
Subject: Re: bug#7375: 23.1; Emacs does not have a word count feature
Date: Fri, 12 Nov 2010 00:57:25 +0100
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)?

-- 
 Bastien




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7375; Package emacs. (Fri, 12 Nov 2010 00:22:02 GMT) Full text and rfc822 format available.

Message #23 received at 7375 <at> debbugs.gnu.org (full text, mbox):

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




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Sat, 13 Nov 2010 03:44:02 GMT) Full text and rfc822 format available.

Notification sent to Matt Lee <mattl <at> fsf.org>:
bug acknowledged by developer. (Sat, 13 Nov 2010 03:44:02 GMT) Full text and rfc822 format available.

Message #28 received at 7375-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 7375-done <at> debbugs.gnu.org
Subject: Re: bug#7375: 23.1; Emacs does not have a word count feature
Date: Fri, 12 Nov 2010 22:48:44 -0500
Version: 24.1

Added M-x count-words-region.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 11 Dec 2010 12:24:04 GMT) Full text and rfc822 format available.

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.