unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* word count
@ 2012-07-24 18:55 Enda
  2012-07-24 19:02 ` Jai Dayal
  2012-07-24 20:43 ` rfcoder89
  0 siblings, 2 replies; 3+ messages in thread
From: Enda @ 2012-07-24 18:55 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

[-- Attachment #1: Type: text/plain, Size: 91 bytes --]

Is there a word count function within Emacs?, or will I stick with

M-! wc -w file


- Enda

[-- Attachment #2: Type: text/html, Size: 302 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: word count
  2012-07-24 18:55 word count Enda
@ 2012-07-24 19:02 ` Jai Dayal
  2012-07-24 20:43 ` rfcoder89
  1 sibling, 0 replies; 3+ messages in thread
From: Jai Dayal @ 2012-07-24 19:02 UTC (permalink / raw)
  To: Enda; +Cc: help-gnu-emacs@gnu.org

[-- Attachment #1: Type: text/plain, Size: 205 bytes --]

http://www.emacswiki.org/emacs/WordCount
On Jul 24, 2012 12:55 PM, "Enda" <enda_k2@yahoo.com> wrote:

> Is there a word count function within Emacs?, or will I stick with
>
> M-! wc -w file
>
>
> - Enda
>

[-- Attachment #2: Type: text/html, Size: 642 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: word count
  2012-07-24 18:55 word count Enda
  2012-07-24 19:02 ` Jai Dayal
@ 2012-07-24 20:43 ` rfcoder89
  1 sibling, 0 replies; 3+ messages in thread
From: rfcoder89 @ 2012-07-24 20:43 UTC (permalink / raw)
  To: Help-gnu-emacs


The new emacs 24 has a built-in function called "count-words". If your still
on a previous version then you could always roll out your own, simply
save-excursion, jump to beginning of the buffer, enter a loop to
forward-word until you reach the end of the buffer and increment a counter.


Bugzilla from enda_k2@yahoo.com wrote:
> 
> Is there a word count function within Emacs?, or will I stick with
> 
> M-! wc -w file
> 
> 
> - Enda
> 

-- 
View this message in context: http://old.nabble.com/word-count-tp34207000p34207162.html
Sent from the Emacs - Help mailing list archive at Nabble.com.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-24 20:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-24 18:55 word count Enda
2012-07-24 19:02 ` Jai Dayal
2012-07-24 20:43 ` rfcoder89

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).