[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: defcustom: changing from defvar - order of execution
From: |
Stefan Monnier |
Subject: |
Re: defcustom: changing from defvar - order of execution |
Date: |
Fri, 06 May 2005 13:38:59 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> I see things like this fairly commonly, at the top level of the standard
> Emacs libraries:
All these examples don't seem relevant since nowhere is it suggested to the
user to load the library in her .emacs.
> To me, it makes sense to generally avoid using user options at the top level
> of the library that defines them, but I'm not sure such avoidance is always
> feasible. In any case, as the above examples show, the standard libraries
> are themselves full of counter examples.
What makes more sense is to discourage loading of packages in .emacs.
Instead users should only set vars, setup autoloads, ...
> No doubt I'm still missing something - please help me understand. I want to
> fix the "bug in the elisp library" in question, but I don't know how to
> proceed. I want a user to be able to just load the library and go
Why would she need to load the library?
Stefan
Re: defcustom: changing from defvar - order of execution, Stefan Monnier, 2005/05/11