all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: rfcoder89 <rfcoder89@gmail.com>
To: Help-gnu-emacs@gnu.org
Subject: Re: word count
Date: Tue, 24 Jul 2012 13:43:35 -0700 (PDT)	[thread overview]
Message-ID: <34207162.post@talk.nabble.com> (raw)
In-Reply-To: <1343156114.44657.YahooMailNeo@web163104.mail.bf1.yahoo.com>


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.




      parent reply	other threads:[~2012-07-24 20:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-24 18:55 word count Enda
2012-07-24 19:02 ` Jai Dayal
2012-07-24 20:43 ` rfcoder89 [this message]

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=34207162.post@talk.nabble.com \
    --to=rfcoder89@gmail.com \
    --cc=Help-gnu-emacs@gnu.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.