2

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
    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 Dec 1 '18 at 20:47

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.