3

I am trying to define a composite type using the "group" compositor (see Elisp Manual, section "Composite Types"). Previously, I managed to define a composite type with the "list" constructor.

The Elisp manual tells that these constructors ("group" and "list") are similar. I get a weird result in the "Customize interface" and an error message displayed in the echo area.

Operate on all settings in this buffer:
[ Revert... ] [ Apply ] [ Apply and Save ]

Hide

Sample code

(defcustom group '(1 2 3)
    "here, give a description of the user option."
    :type '(group integer integer integer))

I noticed the message "custom-variable-value-create: Bad format" in the "Messages" buffer.

The manual should be clarified. Someone had the same issue one decade ago: "No doc for `group' in custom :type".

.

1
  • 1
    I think :type' group' is bugged. I just submitted bug #33566 for this. (BTW, that someone was me, but it's not really the same bug, I think.)
    – Drew
    Commented Dec 1, 2018 at 20:47

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.