emacs-devel
[Top][All Lists]
Advanced

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

Re: Compilation warnings in mouse.el


From: Joost Kremers
Subject: Re: Compilation warnings in mouse.el
Date: Wed, 13 Jul 2016 11:28:31 +0200
User-agent: mu4e 0.9.17; emacs 25.0.94.1

On Tue, Jul 12 2016, Stefan Monnier wrote:
> EZ> Unlike Stefan, I think we should add :group to every defcustom. Having
> EZ> them mysteriously missing from some of them is a time bomb: 
>
> The way I see it, defcustoms should pretty much never have :group, and
> the group to which they belong is simply determined by the file in which
> they occur.

That would mean that in multifile packages the defcustoms must always be
put in one single file, which must be named according to the
customisation group one wants to create. And creating multiple
customisaton groups for a single package (not uncommon in larger
packages) would require multiple files.

That's to say, such a system would require that the code of a package be
organised along the lines of the customisation groups it provides. But
customisation is a UI feature, and as such does not necessarily present
the best way to organise the code.


-- 
Joost Kremers
Life has its moments



reply via email to

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