[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: understanding backquote
From: |
Pascal J. Bourguignon |
Subject: |
Re: understanding backquote |
Date: |
Wed, 03 Jun 2015 01:08:52 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Olaf Rogalsky <olaf.rogalsky@aol.de> writes:
>>> I have problems in understanding the semantics of backquote. Consider
> ...
>> (info "(elisp) Backquote")
>
> Yes, I read that, but the manual does not make it entirly clear, at
> which time comma expressions are evaluated: at read or at compile-time:
>
> 9.4 Backquote
> ...
> The special marker ‘,’ inside of the argument to backquote indicates a
> value that isn’t constant. The Emacs Lisp evaluator evaluates the
> argument of ‘,’, and puts the value in the list structure:
> ...
Also, consider: '`,(+ 1 2) --> (\` (\, (+ 1 2)))
this shows how this backquote is read.
In emacs lisp \` is a macro.
--
__Pascal Bourguignon__ http://www.informatimago.com/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk
- Re: gtags-find-tag and gtags-find-rtag in C-code, (continued)
understanding backquote, Olaf Rogalsky, 2015/06/02
Message not available
- Re: understanding backquote, Pascal J. Bourguignon, 2015/06/02
- Message not available
- Re: understanding backquote,
Pascal J. Bourguignon <=
Message not available
- Re: understanding backquote, Barry Margolin, 2015/06/02
- Re: understanding backquote, Olaf Rogalsky, 2015/06/02
- Message not available
- Re: understanding backquote, Pascal J. Bourguignon, 2015/06/02
- Re: understanding backquote, Olaf Rogalsky, 2015/06/02
- Message not available
- Re: understanding backquote, Stefan Monnier, 2015/06/02
- Re: understanding backquote, Olaf Rogalsky, 2015/06/03
- Re: understanding backquote, Olaf Rogalsky, 2015/06/03
Message not availableRe: understanding backquote, Pascal J. Bourguignon, 2015/06/02