[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting more info on a variable in Customize buffers
From: |
Lennart Borgman |
Subject: |
Re: Getting more info on a variable in Customize buffers |
Date: |
Mon, 3 Jan 2005 19:16:39 +0100 |
Maybe you could use (custom-set-variables ...)
Though you have to know how the values look when written. But should not
that "do the right thing"?
But there is more to it of course, controlling what to save etc. When
looking at the code in custom I got the feeling that there are needed some
break up of the code so it is easy to do handle the variables from code. For
example I just copied some code to find out whether it would be possible to
customize a variable.
- Lennart
----- Original Message -----
From: "drkm" <address@hidden>
...
> If it is, I don't know any standard way to do that directly in
> ELisp, if I don't want to use Customize. I think about something
> like :
>
> (defmacro set-custom (custom value lib)
> (if (boundp custom)
> `(set-variable ',custom ,value)
> `(eval-after-load ,lib
> '(set-variable ',custom ,value))))
>
> But for using it, I have to know CUSTOM to be defined as a custom,
..
- Re: Getting more info on a variable in Customize buffers, (continued)
- Re: Getting more info on a variable in Customize buffers, Richard Stallman, 2005/01/04
- Re: Getting more info on a variable in Customize buffers, Stefan Monnier, 2005/01/04
- Re: Getting more info on a variable in Customize buffers, Luc Teirlinck, 2005/01/05
- Re: Getting more info on a variable in Customize buffers, Stefan Monnier, 2005/01/06
- Re: Getting more info on a variable in Customize buffers, Richard Stallman, 2005/01/06
- Re: Getting more info on a variable in Customize buffers, Richard Stallman, 2005/01/06
- Re: Getting more info on a variable in Customize buffers, Luc Teirlinck, 2005/01/06
- Re: Getting more info on a variable in Customize buffers, Richard Stallman, 2005/01/07
- Re: Getting more info on a variable in Customize buffers, Richard Stallman, 2005/01/03
- Re: Getting more info on a variable in Customize buffers, drkm, 2005/01/03
- Re: Getting more info on a variable in Customize buffers,
Lennart Borgman <=
- Re: Getting more info on a variable in Customize buffers, drkm, 2005/01/03
- Re: Getting more info on a variable in Customize buffers, Per Abrahamsen, 2005/01/04
- Re: Getting more info on a variable in Customize buffers, Per Abrahamsen, 2005/01/04
- Re: Getting more info on a variable in Customize buffers, Lennart Borgman, 2005/01/04
- RE: Getting more info on a variable in Customize buffers, Drew Adams, 2005/01/04
Re: Getting more info on a variable in Customize buffers, Richard Stallman, 2005/01/02