help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie Conditional Problem


From: CarlC
Subject: Re: Newbie Conditional Problem
Date: Fri, 17 Jan 2003 16:46:04 GMT

"David Kastrup" <dak@gnu.org> wrote in message
x54r87zrdo.fsf@lola.goethe.zz">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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]