all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* confusion about quote
@ 2012-11-05  1:55 Will Parsons
  2012-11-05  2:35 ` B. T. Raven
  0 siblings, 1 reply; 3+ messages in thread
From: Will Parsons @ 2012-11-05  1:55 UTC (permalink / raw)
  To: help-gnu-emacs

In looking at some elisp that I found somewhere, I see:

  (setq whitespace-style (quote (face lines-tail tabs trailing)))

How does this differ from:

  (setq whitespace-style '(face lines-tail tabs trailing))

if in fact it does?

(I found the description of the function "quote" to be somewhat
confusing.)

-- 
Will


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: confusion about quote
  2012-11-05  1:55 confusion about quote Will Parsons
@ 2012-11-05  2:35 ` B. T. Raven
  2012-11-05 23:16   ` Will Parsons
  0 siblings, 1 reply; 3+ messages in thread
From: B. T. Raven @ 2012-11-05  2:35 UTC (permalink / raw)
  To: help-gnu-emacs

Die Sun Nov 04 2012 19:55:36 GMT-0600 (Central Standard Time) Will
Parsons <oudeis@nodomain.invalid> scripsit:

> In looking at some elisp that I found somewhere, I see:
> 
>   (setq whitespace-style (quote (face lines-tail tabs trailing)))
> 
> How does this differ from:
> 
>   (setq whitespace-style '(face lines-tail tabs trailing))
> 
> if in fact it does?
> 
> (I found the description of the function "quote" to be somewhat
> confusing.)
> 


Heus tu, Vilhelme! Here's the straight dope:

http://www.gnu.org/software/emacs/manual/html_node/elisp/Quoting.html

where it says "the read syntax 'x is an abbreviation for (quote x)."

Ed


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: confusion about quote
  2012-11-05  2:35 ` B. T. Raven
@ 2012-11-05 23:16   ` Will Parsons
  0 siblings, 0 replies; 3+ messages in thread
From: Will Parsons @ 2012-11-05 23:16 UTC (permalink / raw)
  To: help-gnu-emacs

B. T. Raven wrote:
> Die Sun Nov 04 2012 19:55:36 GMT-0600 (Central Standard Time) Will
> Parsons <oudeis@nodomain.invalid> scripsit:
>
>> In looking at some elisp that I found somewhere, I see:
>> 
>>   (setq whitespace-style (quote (face lines-tail tabs trailing)))
>> 
>> How does this differ from:
>> 
>>   (setq whitespace-style '(face lines-tail tabs trailing))
>> 
>> if in fact it does?
>> 
>> (I found the description of the function "quote" to be somewhat
>> confusing.)
>
> Heus tu, Vilhelme! Here's the straight dope:
>
> http://www.gnu.org/software/emacs/manual/html_node/elisp/Quoting.html
>
> where it says "the read syntax 'x is an abbreviation for (quote x)."

A, Edwarde (aut Corve?) gratias ago.

-- 
Will


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-05 23:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-05  1:55 confusion about quote Will Parsons
2012-11-05  2:35 ` B. T. Raven
2012-11-05 23:16   ` Will Parsons

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.