[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.
- pcase docstring tweaks (was: Question on pcase), (continued)
- Re: pcase docstring tweaks, Richard Stallman, 2015/10/27
- Re: pcase docstring tweaks, Michael Heerdegen, 2015/10/28
- RE: Question on pcase, Drew Adams, 2015/10/24
- Re: Question on pcase, Alan Mackenzie, 2015/10/24
- RE: Question on pcase, Drew Adams, 2015/10/24
- Re: Question on pcase, Johan Bockgård, 2015/10/24
- Re: Question on pcase,
Michael Heerdegen <=
- Re: Question on pcase, Oleh Krehel, 2015/10/26
- Re: Question on pcase, Michael Heerdegen, 2015/10/26
- Re: Question on pcase, Oleh Krehel, 2015/10/27
- Re: Question on pcase, Michael Heerdegen, 2015/10/26
- Re: Question on pcase, Oleh Krehel, 2015/10/27
- Re: Question on pcase, Michael Heerdegen, 2015/10/27
- Re: Question on pcase, Michael Heerdegen, 2015/10/27
- Re: Question on pcase, Michael Heerdegen, 2015/10/28
- Re: Question on pcase, Oleh Krehel, 2015/10/29
- Re: Question on pcase, Michael Heerdegen, 2015/10/29