emacs-devel
[Top][All Lists]
Advanced

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

Re: Question on pcase


From: Michael Heerdegen
Subject: Re: Question on pcase
Date: Sun, 25 Oct 2015 01:11:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Johan Bockgård <address@hidden> writes:

> But a "form" is a Lisp _expression_ that you can evaluate. So (pred
> ...)  is not a form (it is special syntax that is only meaningful
> inside pcase).

FWIW the Lisp manual is not very clear whether this is (not) a form.  Is
the evaluation expected to produce a result (or is it allowed to raise
an error)?  I guess the only answer that makes sense is "no".

Anyway, "form" has a second, different meaning.  It is used for that
second meaning all over Emacs documentation, e.g. (just a random
example)

,----------------------------------------------------------------------
| defface is a Lisp macro in ‘custom.el’.
| 
| SPEC should be a "face spec", i.e., an alist of the form
| 
|    ((DISPLAY . ATTS)...)
`----------------------------------------------------------------------


Regards,

Michael.




reply via email to

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