From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pascal Bourguignon Newsgroups: gmane.emacs.help Subject: Re: how to interactive to emacs Date: Sun, 19 Mar 2006 18:41:58 +0100 Organization: Informatimago Message-ID: <87u09u72mx.fsf@thalassa.informatimago.com> References: <1142771167.371441.289120@u72g2000cwu.googlegroups.com> <85slpe62af.fsf@lola.goethe.zz> <1142779734.075329.172400@z34g2000cwc.googlegroups.com> <85fyle5vxd.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142793649 22502 80.91.229.2 (19 Mar 2006 18:40:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Mar 2006 18:40:49 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 19 19:40:45 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 1FL2pX-00034D-Ch for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Mar 2006 19:40:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FL2pW-0000Z9-SC for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Mar 2006 13:40:42 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-X-Trace: individual.net YrbABMhaTqZkbYqfA+zEoApVmfA3nIDs2l3uVbDRQVVkWNhM5P Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:BUxBJ0ATG7A4uky+sYlbmvakby0= Original-Xref: shelby.stanford.edu gnu.emacs.help:138267 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor 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:33885 Archived-At: David Kastrup writes: > "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. Anyways, it's lacking closing parentheses so I doubt emacs made anything of it... -- __Pascal Bourguignon__ http://www.informatimago.com/ Kitty like plastic. Confuses for litter box. Don't leave tarp around.