GNU bug report logs - #12186
24.1.50; defcustom and sets

Previous Next

Package: emacs;

Reported by: Jambunathan K <kjambunathan <at> gmail.com>

Date: Sun, 12 Aug 2012 11:19:02 UTC

Severity: normal

Tags: notabug

Found in version 24.1.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 12186 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Jambunathan K <kjambunathan <at> gmail.com>
Cc: 12186 <at> debbugs.gnu.org
Subject: Re: bug#12186: 24.1.50; defcustom and sets
Date: Sun, 12 Aug 2012 21:41:43 -0400
Jambunathan K wrote:

>            (set :tag "Choices"
>                 (symbol :tag "VC State" added)
>                 (symbol :tag "VC State" conflict)

You're using it wrong.

elisp "Composite Types"

`(set TYPES...)'
     The value must be a list, and each element of the list must match
     one of the TYPES specified.[...]
     It is not possible to specify two different elements that match
     the same one of TYPES.

You probably want const rather than symbol.




This bug report was last modified 12 years and 337 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.