Path: csiph.com!news.nrbbs.org!border-2.nntp.ord.giganews.com!local-3.nntp.ord.giganews.com!border-4.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-4.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 12 Oct 2026 02:20:05 +0000 From: steve g Newsgroups: comp.lang.lisp Subject: Re: GNU Emacs native compiled functions References: <113ovuj$23t9c$1@dont-email.me> <114kain$3erqe$1@dont-email.me> <114oc02$qbqp$1@dont-email.me> <114odai$qp0b$1@dont-email.me> <114piou$14lmv$2@dont-email.me> <114pno3$16g53$1@dont-email.me> <114pqg5$17lne$1@dont-email.me> <5T_bS.71191$4Fu9.56234@fx05.ams4> <27248.58134.739884.512819@parhasard.net> <87v78mz15a.fsf_-_@debian> <87wlsmo83m.fsf@debian> <118kcc1$1mri1$2@dont-email.me> <87wlrvendh.fsf@gmail.com> <20261005164228.546@kylheku.com> <11a3mvl$29qvc$1@dont-email.me> <877bjp172v.fsf@gmail.com> <11aelre$27968$1@dont-email.me> Date: Sun, 11 Oct 2026 22:20:04 -0400 Message-ID: <87pkxfirsb.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:HqcrqLU2J5xS6DuNywdvf/PVxH8= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Lines: 32 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-c5K1g1HmPMa4GdzUnPhIjTJVrAT965ohkS8yxpZzcnB+kIngnhnCMfSYYSGWQY9FTdjYMfQlr+CxFmT!BQyBddzQgQmUsmGKViE06CAdCQ8p0ydGKviIlE7gmf5wcFQ= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Xref: csiph.com comp.lang.lisp:61732 Lawrence D’Oliveiro writes: > On Sat, 10 Oct 2026 19:14:48 -0400, steve g wrote: > >> Lawrence D’Oliveiro writes: >> >>> For example, how would you deal with this, for counting words in an >>> HTML page after stripping all the markup (from >>> ): >> >> M-x count-words > > Tried it on a test HTML file I had handy. > > M-x count words reports a count of 10370. > My code reports a count of 9564. Not to be an asshole, but I can be; what do you mean by words? Usually counting spaces does not qualify. > Solving the wrong problem, much? always! have you tried wc -w ? I get the same result from wc -l and count-lines. and the same result from wc -w from count-words. Most people do not consider a words less than 3 letters or sum such.