Re: defcustoms in style/*.el

Ralf Angeli <[email protected]> Tue, 08 Mar 2005 11:16:51 +0100
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
* David Kastrup (2005-03-08) writes:

> Ralf Angeli <[email protected]> writes:
>
>> * David Kastrup (2005-03-08) writes:
>>
>>> Ralf Angeli <[email protected]> writes:
>>
>> The thing I don't like about putting the defcustoms into a separate
>> file is that they are not near the actual code they are used in
>> anymore.  This may lead to inconveniences during coding and is
>> somewhat contrary to the rather decentralized approach we have with
>> the style files.
>>
>> I'd rather like to have this solved with autoload.  But as we saw,
>> Customize is not able to build a buffer with autoloaded defcustoms
>> as they don't provide information to which group they belong.
>
> Well, so what?  Then we'll just place explicit :group tags into every
> defcustom.  I don't see the problem.

Could you elaborate on that?

I tried

(custom-autoload (quote LaTeX-beamer-item-overlay-flag) "style/beamer")

which did not work[1] despite `LaTeX-beamer-item-overlay-flag' having had
a ":group 'LaTeX-macro" tag until yesterday.  (It now has a ":group
'LaTeX-style" tag.)  And I am not really sure if I am bending the
definition of `custom-autoload' too much by using something like
"style/beamer".


Footnotes: 
[1] See <URL:http://article.gmane.org/gmane.emacs.auc-tex/5958>.

-- 
Ralf