[Top][All Lists]

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

Re: Customize and autoloaded libraries

From: Stefan Monnier
Subject: Re: Customize and autoloaded libraries
Date: Mon, 03 Dec 2001 08:42:25 -0500

> 1. Keep user options and variables set by Lisp packages separate.
> 2. Invent a `defhook' declaration for hooks, which is like defcustom
>    but allows merging the same way as add-hook.  I wanted to do that
>    originally, but couldn't come up with a good design.
> 3. Write a general merge algorithm for all options.  This also solves
>    the problem of options with large or fragile (over versions)
>    initial values, like "load-path".
> They are listed in order of increasing complexity, which is why I
> prefer #1.  I find the customize code more than complex enough as it
> is.

You forgot the simplest:

0. Make `custom-set-variables' behave more like `setq'
   (i.e. set the variables immediately).

I know it has some problems as well, but I still think that making
`custom-set-variables' closer to normal elisp code is the way
to simplicity and robustness.


reply via email to

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