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

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

Re: A small backquote logjam


From: Nick Keighley
Subject: Re: A small backquote logjam
Date: Wed, 08 Dec 2010 15:13:09 -0000
User-agent: G2/1.0

On 11 June, 04:35, bolega <gnuist...@gmail.com> wrote:
> On Jun 10, 6:29 pm, Barry Margolin <bar...@alum.mit.edu> wrote:
>
>
>
>
>
> > In article
> > <a50f19e2-b95f-4bc4-b389-aa5dff67f...@x21g2000yqa.googlegroups.com>,
>
> >  bolega <gnuist...@gmail.com> wrote:
> > > (progn (setq y '(a b c)) (setq x 'X) (setq z 'Z))    ; some
> > > definitions entered inside emacs
>
> > > (list 'list 'x 'y 'z)                                              ;
> > > works with C-x C-e                      (1)
> > > (eval (list 'list 'x 'y 'z))                                     ;
> > > also works
> > > `( (, list) list x y z)                                          ;
> > > does not work though its same as (1)
>
> > No, it's equivalent to:
>
> > (list (list list) 'list 'x 'y 'z)
>
> > which will probably get an error, since the variable "list" doesn't have
> > a value.  Remember that Emacs Lisp has separate function and value
> > bindings.
>
> Maybe I did not explain very well. What is the equivalent to the
> following in the backquote/unquote terminology.
>
> (list 'list 'x 'y 'z)

is

'(list x y z)

the answer?

> Second,
>
> ' = quote
> ` = backquote
> , = ??? in elisp


reply via email to

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