[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Customize Rogue
From: |
Stefan Monnier |
Subject: |
Re: Customize Rogue |
Date: |
Wed, 12 Mar 2003 13:38:39 -0500 |
> Most uses of :set are for things like minor-mode (where using
> define-minor-mode has the advantage of providing a standard way
> to deal with it), the others should be replaced.
>
> Since every Lisp symbol can at the same time be a variable and a
> function, it would have been nice if every variable my_favorite_symbol
> with a :set function, would have an associated function
> my_favorite_symbol and if that function behaved in exactly the same
> way as minor mode functions for variables of boolean type and if, for
> non-boolean type variables, (my_favorite_symbol value) would be
> equivalent with setting the variable my_favorite_symbol to VALUE
> through customize:
>
> :set #'funcall
>
> But I guess it is much too late to enforce anything like this, even if
> it were deemed desirable.
Hey, now, there's a great idea.
We could add some code in defcustom so that it complains when the
value of :set is not a symbol (which would ensure that whatever the
:setter is, it can always be called easily from elisp).
Stefan
- Re: Customize Rogue, (continued)
- Re: Customize Rogue, Luc Teirlinck, 2003/03/09
- Re: Customize Rogue, Juanma Barranquero, 2003/03/09
- Re: Customize Rogue, Luc Teirlinck, 2003/03/09
- Re: Customize Rogue, Juanma Barranquero, 2003/03/09
- Re: Customize Rogue, Robert J. Chassell, 2003/03/09
- Re: Customize Rogue, Per Abrahamsen, 2003/03/10
- Re: Customize Rogue, Stefan Monnier, 2003/03/11
- Re: Customize Rogue, Juanma Barranquero, 2003/03/11
- Re: Customize Rogue, Luc Teirlinck, 2003/03/11
- Re: Customize Rogue, Kai Großjohann, 2003/03/12
- Re: Customize Rogue,
Stefan Monnier <=
- Re: Customize Rogue, Luc Teirlinck, 2003/03/12
- Re: Customize Rogue, Richard Stallman, 2003/03/13
- Re: Customize Rogue, Richard Stallman, 2003/03/12
- Re: Customize Rogue, Luc Teirlinck, 2003/03/09
- Re: Customize Rogue, Juanma Barranquero, 2003/03/09
- Re: Customize Rogue, Luc Teirlinck, 2003/03/09
- Re: Customize Rogue, Juanma Barranquero, 2003/03/09
- Re: Customize Rogue, Luc Teirlinck, 2003/03/09
- Re: Customize Rogue, Juanma Barranquero, 2003/03/09
- Customize and inhibit-startup-echo-area-message, Luc Teirlinck, 2003/03/09