Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!bu.edu!nntp-read!jbw From: jbw@bigbird.bu.edu (Joe Wells) Newsgroups: comp.emacs Subject: Re: count words region Message-ID: Date: 14 Mar 91 21:26:42 GMT References: Sender: news@bu.edu.bu.edu Organization: Boston University Computer Science Department Lines: 14 In-reply-to: jj@medulla.cis.ohio-state.edu's message of 13 Mar 91 19:45:56 GMT Has anyone written a count-words-region command? I'm sure I'm not the only one who would find it very useful. Thanks, .. jj How about "M-| w c SPC - w RET"? You can give it a command name like this: (fset 'count-words-region "\e|wc -w\r") -- Enjoy, Joe Wells