From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: newbie elisp question Date: Thu, 08 Sep 2005 01:59:42 GMT Organization: EarthLink Inc. -- http://www.EarthLink.net Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1126144856 15623 80.91.229.2 (8 Sep 2005 02:00:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Sep 2005 02:00:56 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 08 04:00:52 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EDBi7-0005Dg-Ah for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Sep 2005 04:00:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EDBi6-0003J4-Pt for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Sep 2005 22:00:18 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!stamper.news.atl.earthlink.net!newsread3.news.atl.earthlink.net.POSTED!0847253b!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 37 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-NNTP-Posting-Host: 4.158.222.240 Original-X-Complaints-To: abuse@earthlink.net Original-X-Trace: newsread3.news.atl.earthlink.net 1126144782 4.158.222.240 (Wed, 07 Sep 2005 18:59:42 PDT) Original-NNTP-Posting-Date: Wed, 07 Sep 2005 18:59:42 PDT Original-Xref: shelby.stanford.edu gnu.emacs.help:133761 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:29307 Archived-At: With the following forms in my .emacs, which the *scratch* buffer evaluates without complaint, (from which I infer that they are at least syntactically correct) (defconst *vowels* '(?a ?e ?i ?o ?u ?y) "A list of the English vowels in lowercase.") ... (defun vowelp (char) (memq (downcase char) *vowels*)) (defun goto-vowel "Skip to next vowel after point." (interactive) (while (not (vowelp (char-after))) (forward-char)) ) (define-key global-map [f11] 'goto-vowel) ... I get this error message: "call-interactively: Invalid function: (lambda "Skip to next vowel after point." (interactive) (while (not (vowelp (char-after))) (forward-char)))" What am I not understanding here? Thanks, Ed