[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.
Stefan
- Re: Customize and autoloaded libraries, Richard Stallman, 2001/12/01
- Re: Customize and autoloaded libraries, Miles Bader, 2001/12/03
- Re: Customize and autoloaded libraries, Per Abrahamsen, 2001/12/03
- Re: Customize and autoloaded libraries, Alex Schroeder, 2001/12/03
- Re: Customize and autoloaded libraries, Per Abrahamsen, 2001/12/04
- diff-list: customizing lists, Alex Schroeder, 2001/12/04
- Re: diff-list: customizing lists, Richard Stallman, 2001/12/05
- Re: Customize and autoloaded libraries, Richard Stallman, 2001/12/04