bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#39887: 26.3; Customize buffer does not show type expected


From: Lars Ingebrigtsen
Subject: bug#39887: 26.3; Customize buffer does not show type expected
Date: Mon, 26 Oct 2020 22:48:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

dalanicolai@gmail.com writes:

> The title already explains the bug. It would be great if the customize
> buffer shows which type of variable is expected. Although the :type
> keyword is included in the defcustom declaration, it is not shown in
> the customization buffer which type is expected. If the wrong type is
> filled in then the only error message given is "(mismatch)". Quite
> some package writers do not - additionally - document their variables.

The Customize buffer is supposed to be a user-friendly, easy interface
to use, and displaying types like

(alist :key-type symbol :value-type (choice symbol integer))

which only would make sense to a programmer would be the wrong way to go
here.  The Customize interface already tries to guide the users as much
as the type spec allows.

I'm sure there are individual doc strings that could stand improving,
though, in which case bug reports for those would be welcome.  But I'm
closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]