From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: Whats wrong with this defcustom? Date: Mon, 28 Jul 2014 10:58:36 +0200 Message-ID: <87ha21g8qr.fsf@gnu.org> References: <87y4vgo0dp.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1406538076 14599 80.91.229.3 (28 Jul 2014 09:01:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Jul 2014 09:01:16 +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 11:01:09 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 1XBgnt-0003U2-GF for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Jul 2014 11:01:09 +0200 Original-Received: from localhost ([::1]:38386 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBgnt-0000UN-0x for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Jul 2014 05:01:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBgnY-0000UF-PU for help-gnu-emacs@gnu.org; Mon, 28 Jul 2014 05:00:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBgnQ-00087D-Bv for help-gnu-emacs@gnu.org; Mon, 28 Jul 2014 05:00:48 -0400 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:59575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBgnP-00086a-T0 for help-gnu-emacs@gnu.org; Mon, 28 Jul 2014 05:00:40 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 638541A849F; Mon, 28 Jul 2014 11:00:38 +0200 (CEST) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kWp6xeLXqvXg; Mon, 28 Jul 2014 11:00:37 +0200 (CEST) X-CHKRCPT: Envelopesender noch tsdh@gnu.org Original-Received: from thinkpad-t440p (dhcp201.uni-koblenz.de [141.26.71.201]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 8F8AD1A8496; Mon, 28 Jul 2014 11:00:37 +0200 (CEST) In-Reply-To: <87y4vgo0dp.fsf@gmail.com> (Thorsten Jolitz's message of "Sat, 26 Jul 2014 12:55:14 +0200") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 141.26.64.15 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:98961 Archived-At: Thorsten Jolitz writes: Hi Thorsten, > 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))) > `---- ,----[ C-h f defcustom RET ] | defcustom is a Lisp macro in `custom.el'. | | (defcustom SYMBOL STANDARD DOC &rest ARGS) | | Declare SYMBOL as a customizable variable. | SYMBOL is the variable name; it should not be quoted. | STANDARD is an expression specifying the variable's standard | value. It should not be quoted. | ^^^^^^^^^^^^^^^^^^^^^^^ `---- Bye, Tassilo