From: Sebastian Wiesner <swiesner@lunaryorn.com>
To: Thorsten Jolitz <tjolitz@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Whats wrong with this defcustom?
Date: Mon, 28 Jul 2014 15:17:09 +0200 [thread overview]
Message-ID: <9C30F83D-4641-4C5E-9F57-85B95FF8BA94@lunaryorn.com> (raw)
In-Reply-To: <87y4vgo0dp.fsf@gmail.com>
Am 26.07.2014 um 12:55 schrieb Thorsten Jolitz <tjolitz@gmail.com>:
>
> Hi List,
>
> I'm probably overlooking the obvious, but what is wrong with this
> defcustom:
>
> ,----
> | (defcustom org-x-style 'notes
> | "Possible styles for diagrams."
> | :group 'org-x
> | :type '(choice (const :tag "Sync-bars" 'sync-bars)
> | (const :tag "Partitions" 'partitions)
> | (const :tag "Notes" 'notes)))
> `——
Remove the quotes from the symbols inside the `(const …)` expressions. The outer `choice` is already quoted, so you are “double-quoting” the choices. Hence the mismatch: The symbol "notes" is different from the expression "(quote notes)".
next prev parent reply other threads:[~2014-07-28 13:17 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
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 ` Sebastian Wiesner [this message]
2014-07-28 13:54 ` Whats wrong with this defcustom? 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9C30F83D-4641-4C5E-9F57-85B95FF8BA94@lunaryorn.com \
--to=swiesner@lunaryorn.com \
--cc=help-gnu-emacs@gnu.org \
--cc=tjolitz@gmail.com \
/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.
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.