From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: how to interactive to emacs Date: Sun, 19 Mar 2006 15:52:14 +0100 Organization: Organization?!? Message-ID: <85fyle5vxd.fsf@lola.goethe.zz> References: <1142771167.371441.289120@u72g2000cwu.googlegroups.com> <85slpe62af.fsf@lola.goethe.zz> <1142779734.075329.172400@z34g2000cwc.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142782826 24198 80.91.229.2 (19 Mar 2006 15:40:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Mar 2006 15:40:26 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 19 16:40:25 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FL010-00020o-Lh for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Mar 2006 16:40:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FL010-00060I-7o for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Mar 2006 10:40:22 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!proxad.net!proxad.net!newsfeed.arcor.de!news.arcor.de!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:RfCQnHp3P+V+lOnyOvEDpmQQshc= Original-Lines: 26 Original-NNTP-Posting-Date: 19 Mar 2006 15:52:15 MET Original-NNTP-Posting-Host: 1e8d51d8.newsread2.arcor-online.net Original-X-Trace: DXC=9kbMcZViBWhA>\Y32QN0_hQ5U85hF6f; djW\KbG]kaMhQ>n?D9BSA]ljY`W3Q74Pgh1_LiI6ENVam3>5MOK`O=RkGD5P List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:33881 Archived-At: "hallen" writes: > remove the p > --------------------- > (defun count-word-buffer() > "couont the number of words in the current buffer; > priny a message in the minibuffer with the result" > (interactive ) > (save-excursion > (let ((count 0)) > (goto-char (point-min)) > (while (< (point) (point-max)) > (forward-word 1) > (setq count(1+ count))) > (message "This buffer total contains %d words" count))) > > ==================== > when i type M-x count-word-buffer > also can not found that function > messaged "no match" It is not clear what you actually did with the above code to make Emacs see it. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum