From: Thien-Thi Nguyen <ttn@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Whats wrong with this defcustom?
Date: Tue, 29 Jul 2014 04:06:02 +0200 [thread overview]
Message-ID: <87y4vc7wc5.fsf@zigzag.favinet> (raw)
In-Reply-To: <87d2cprnzh.fsf@robertthorpeconsulting.com> (Robert Thorpe's message of "Tue, 29 Jul 2014 01:46:10 +0100")
[-- Attachment #1: Type: text/plain, Size: 842 bytes --]
() Robert Thorpe <rt@robertthorpeconsulting.com>
() Tue, 29 Jul 2014 01:46:10 +0100
'(something) is just an abbreviation for
(quote something).
This is not correct.
'(something) ≡ (quote (something))
which evals to a list of one element, the symbol ‘something’
i.e., => (something)
but
(quote something) ≡ 'something
which evals to the symbol ‘something’
i.e., => something
Also, i think it's better to say "evals to" rather than "returns".
The latter strikes me as indicative of a function-call context.
OTOH, ‘eval’ is a function, so i suppose YMMV... :-D
--
Thien-Thi Nguyen
GPG key: 4C807502
(if you're human and you know it)
read my lisp: (responsep (questions 'technical)
(not (via 'mailing-list)))
=> nil
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2014-07-29 2:06 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-26 10:55 Whats wrong with this defcustom? Thorsten Jolitz
2014-07-28 8:58 ` Tassilo Horn
2014-07-28 10:06 ` Thorsten Jolitz
2014-07-28 22:11 ` [BUG] in defcustom docstring (was Re: Whats wrong with this defcustom?) Thorsten Jolitz
2014-07-28 22:33 ` Whats wrong with this defcustom? Stefan Monnier
2014-07-28 23:09 ` Thorsten Jolitz
2014-07-29 0:46 ` Robert Thorpe
2014-07-29 2:06 ` Thien-Thi Nguyen [this message]
2014-07-29 23:55 ` Robert Thorpe
2014-07-29 8:19 ` Thorsten Jolitz
[not found] ` <mailman.6168.1406585492.1147.help-gnu-emacs@gnu.org>
2014-07-29 16:48 ` [BUG] in defcustom docstring (was Re: Whats wrong with this defcustom?) Christoph Wedler
2014-07-28 13:17 ` Whats wrong with this defcustom? Sebastian Wiesner
2014-07-28 13:54 ` Thorsten Jolitz
[not found] <mailman.6065.1406372149.1147.help-gnu-emacs@gnu.org>
2014-07-26 12:58 ` Olve
2014-07-26 13:32 ` Thorsten Jolitz
[not found] <mailman.6258.1406678132.1147.help-gnu-emacs@gnu.org>
2014-07-30 0:34 ` Emanuel Berg
2014-07-30 1:32 ` Robert Thorpe
[not found] <mailman.6265.1406683969.1147.help-gnu-emacs@gnu.org>
2014-07-30 2:18 ` Emanuel Berg
2014-07-30 2:25 ` Emanuel Berg
2014-07-30 22:32 ` Robert Thorpe
[not found] <mailman.6309.1406759543.1147.help-gnu-emacs@gnu.org>
2014-07-30 22:50 ` Emanuel Berg
2014-07-31 21:56 ` Robert Thorpe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y4vc7wc5.fsf@zigzag.favinet \
--to=ttn@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).