From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Wiesner Newsgroups: gmane.emacs.help Subject: Re: Whats wrong with this defcustom? Date: Mon, 28 Jul 2014 15:17:09 +0200 Message-ID: <9C30F83D-4641-4C5E-9F57-85B95FF8BA94@lunaryorn.com> References: <87y4vgo0dp.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1406553475 5640 80.91.229.3 (28 Jul 2014 13:17:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Jul 2014 13:17:55 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Thorsten Jolitz Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 28 15:17:48 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XBko8-0005u3-2b for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Jul 2014 15:17:40 +0200 Original-Received: from localhost ([::1]:39737 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBko7-0005UE-K6 for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Jul 2014 09:17:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBknq-0005U6-8a for help-gnu-emacs@gnu.org; Mon, 28 Jul 2014 09:17:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBkni-0006dT-QD for help-gnu-emacs@gnu.org; Mon, 28 Jul 2014 09:17:22 -0400 Original-Received: from vega.uberspace.de ([95.143.172.245]:40282) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBkni-0006c0-G9 for help-gnu-emacs@gnu.org; Mon, 28 Jul 2014 09:17:14 -0400 Original-Received: (qmail 8273 invoked from network); 28 Jul 2014 13:17:12 -0000 Original-Received: from localhost (HELO lunaryorn-air.fritz.box) (127.0.0.1) by vega.uberspace.de with SMTP; 28 Jul 2014 13:17:12 -0000 In-Reply-To: <87y4vgo0dp.fsf@gmail.com> X-Mailer: Apple Mail (2.1878.6) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 95.143.172.245 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:98963 Archived-At: Am 26.07.2014 um 12:55 schrieb Thorsten Jolitz : >=20 > Hi List,=20 >=20 > I'm probably overlooking the obvious, but what is wrong with this > defcustom: >=20 > ,---- > | (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))) > `=97=97 Remove the quotes from the symbols inside the `(const =85)` expressions. = The outer `choice` is already quoted, so you are =93double-quoting=94 = the choices. Hence the mismatch: The symbol "notes" is different from = the expression "(quote notes)".=