[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Run hook when variable is set
From: |
Kelly Dean |
Subject: |
Re: [PATCH] Run hook when variable is set |
Date: |
Fri, 30 Jan 2015 07:14:19 +0000 |
>> For just one example, without varhook, what solution would you
>> propose for bug #19068?
>
> The canonical way of solving those is to have a :set function in the
> defcustom (and tell in the doc string that setting the value directly
> doesn't work).
>
> IOW, for defcustoms we already have this solved.
Oh, I missed the :set function for defcustom.
I'm probably just being dense, but the customization interface in Emacs is a
bit confusing for me, so I've always just put «setq»s in my init file.
Requiring use of the customization interface for users who are accustomed to
directly editing init seems a bit Windows-esque, but at least if the docstring
says it's required, then it won't be misleading.
- Re: [PATCH] Run hook when variable is set, (continued)
- Re: [PATCH] Run hook when variable is set, Stefan Monnier, 2015/01/28
- Re: [PATCH] Run hook when variable is set, Kelly Dean, 2015/01/29
- Re: [PATCH] Run hook when variable is set, Lars Ingebrigtsen, 2015/01/29
- Re: [PATCH] Run hook when variable is set, Stefan Monnier, 2015/01/29
- Re: [PATCH] Run hook when variable is set, Kelly Dean, 2015/01/30
- Re: [PATCH] Run hook when variable is set, Stefan Monnier, 2015/01/30
- Re: [PATCH] Run hook when variable is set, Kelly Dean, 2015/01/31
- Re: [PATCH] Run hook when variable is set, Richard Stallman, 2015/01/30
- Re: [PATCH] Run hook when variable is set, Kelly Dean, 2015/01/31
- Re: [PATCH] Run hook when variable is set, Eli Zaretskii, 2015/01/29
- Re: [PATCH] Run hook when variable is set,
Kelly Dean <=
- Re: [PATCH] Run hook when variable is set, Eli Zaretskii, 2015/01/30