From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "CarlC" Newsgroups: gmane.emacs.help Subject: Re: Newbie Conditional Problem Date: Fri, 17 Jan 2003 16:46:04 GMT Organization: Road Runner - Texas Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1042822432 15339 80.91.224.249 (17 Jan 2003 16:53:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 17 Jan 2003 16:53:52 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18ZZjq-0003v5-00 for ; Fri, 17 Jan 2003 17:53:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18ZZhV-0008Cl-01 for gnu-help-gnu-emacs@m.gmane.org; Fri, 17 Jan 2003 11:50:37 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!newsfeed.news2me.com!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!news-west.rr.com!cyclone.austin.rr.com!twister.austin.rr.com.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Original-NNTP-Posting-Host: 66.68.161.15 Original-X-Complaints-To: abuse@rr.com Original-X-Trace: twister.austin.rr.com 1042821964 66.68.161.15 (Fri, 17 Jan 2003 10:46:04 CST) Original-NNTP-Posting-Date: Fri, 17 Jan 2003 10:46:04 CST Original-Xref: shelby.stanford.edu gnu.emacs.help:109083 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5611 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5611 "David Kastrup" wrote in message news:x54r87zrdo.fsf@lola.goethe.zz... > Well, what do you expect? (goto-line line) is no function, and you > use it in the place of one, namely immediately after an opening What do I expect ... how thought provoking. The manual shows: Command: goto-line line This function ... C-f h goto-line RET shows: goto-line is an interactive compiled Lisp function in `simple'. (goto-line ARG) Goto line ARG, counting from line 1 at beginning of buffer. I am new to this. Is it technically a command or function? Can it be used immediatly after an opening parenthesis? It seems to work fine outside of this conditional. I can put other commands in the conditional and they fail, also. > parenthesis of a non-special form. I recommend that you instead use > progn after the opening parenthesis. Look it up with > > C-h f progn RET progn is a special form. (progn BODY ...) Eval BODY forms sequentially and return value of last one. This doesn't tell me a whole lot. I get an invalid function using progn, also. Is it a function?