emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Run hook when variable is set


From: Eli Zaretskii
Subject: Re: [PATCH] Run hook when variable is set
Date: Fri, 30 Jan 2015 11:08:10 +0200

> From: Kelly Dean <address@hidden>
> CC: address@hidden
> Date: Fri, 30 Jan 2015 07:14:19 +0000
> 
> 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.

Some options need non-trivial processing when their value changes.
The alternative is to tell users to do that by hand, which is not my
idea of a good customization UI.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]