[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Customize and autoloaded libraries
From: |
Miles Bader |
Subject: |
Re: Customize and autoloaded libraries |
Date: |
03 Dec 2001 22:43:03 +0900 |
Per Abrahamsen <address@hidden> writes:
> 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.
What if custom just supported a `:merge-function' (or something)
argument in `defcustom', which would let the declaring file deal with
merging when desired? I suspect that most such merging is somewhat
domain-specific anyway.
It certainly would be handy for some cases (e.g., `default-frame-alist')...
-Miles
--
Is it true that nothing can be known? If so how do we know this? -Woody Allen
- Re: Customize and autoloaded libraries, Richard Stallman, 2001/12/01
- Re: Customize and autoloaded libraries, Henrik Enberg, 2001/12/02
- Re: Customize and autoloaded libraries, Richard Stallman, 2001/12/03
- Re: Customize and autoloaded libraries, Per Abrahamsen, 2001/12/03
- Re: Customize and autoloaded libraries, Stefan Monnier, 2001/12/03
- Re: Customize and autoloaded libraries, Per Abrahamsen, 2001/12/03
- Re: Customize and autoloaded libraries, Stefan Monnier, 2001/12/03
- Re: Customize and autoloaded libraries, Richard Stallman, 2001/12/04
- Re: Customize and autoloaded libraries,
Miles Bader <=
- 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
- Re: Customize and autoloaded libraries, Per Abrahamsen, 2001/12/04
- Re: Customize and autoloaded libraries, Stefan Monnier, 2001/12/04
- Re: Customize and autoloaded libraries, Per Abrahamsen, 2001/12/04
- Re: Customize and autoloaded libraries, Per Abrahamsen, 2001/12/05