tag:blogger.com,1999:blog-3992530807750384868.post6354522114262337590..comments2022-03-28T08:42:20.497+03:00Comments on emacs-fu: counting wordsUnknownnoreply@blogger.comBlogger5125tag:blogger.com,1999:blog-3992530807750384868.post-66748969548957928172010-06-23T14:00:27.853+03:002010-06-23T14:00:27.853+03:00I like wind's technique.
In order to use this...I like wind's technique.<br /><br />In order to use this technique, you should first narrow the buffer to the section that you want to count. You do this by selecting the region and typing C-x n n.<br /><br />As a benefit of using this technique, you remember the use of buffer narrowing and regular expressions.Mario Orne Díaz Anadónhttps://www.blogger.com/profile/02986868397921801693noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-34681573579777635112010-03-01T02:32:11.553+02:002010-03-01T02:32:11.553+02:00Thanks for the tip, but I simply use command "...Thanks for the tip, but I simply use command "count-matches" to count regexp "\w+".Unknownhttps://www.blogger.com/profile/03299441590641326213noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-4471022044280373772009-01-14T22:23:00.000+02:002009-01-14T22:23:00.000+02:00Why not shell-command on region, where the shell c...Why not shell-command on region, where the shell command is wc -w?Roberthttps://www.blogger.com/profile/06869286828634810130noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-41603230317141113842009-01-13T09:27:00.000+02:002009-01-13T09:27:00.000+02:00I used a similar fragment (using count-matches) to...I used a similar fragment (using count-matches) to count words in my <A HREF="http://www.timepoorblogger.com/keyword-optimization-extending-emacs-for-seo/" REL="nofollow">article mode</A> to count words. I'm going to convert it to a minor mode <I>any day now</I> and I'm tempted to add Flesch-Kincaid at the same time.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-92030606119150530842009-01-13T00:29:00.000+02:002009-01-13T00:29:00.000+02:00I didn't know that how-many function ! Thanks for ...I didn't know that how-many function ! Thanks for the tip :-).Anonymousnoreply@blogger.com