From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Run hook when variable is set Date: Fri, 30 Jan 2015 11:08:10 +0200 Message-ID: <83y4okljph.fsf@gnu.org> References: <83twz9muzh.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1422608922 2593 80.91.229.3 (30 Jan 2015 09:08:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Jan 2015 09:08:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kelly Dean Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 30 10:08:37 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YH7Z6-0002it-7k for ged-emacs-devel@m.gmane.org; Fri, 30 Jan 2015 10:08:36 +0100 Original-Received: from localhost ([::1]:35592 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YH7Z5-0006Ua-FC for ged-emacs-devel@m.gmane.org; Fri, 30 Jan 2015 04:08:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YH7Yq-0006UU-NQ for emacs-devel@gnu.org; Fri, 30 Jan 2015 04:08:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YH7Yn-0002UW-F8 for emacs-devel@gnu.org; Fri, 30 Jan 2015 04:08:20 -0500 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:50691) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YH7Yn-0002UG-7H for emacs-devel@gnu.org; Fri, 30 Jan 2015 04:08:17 -0500 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NIZ00F00FMD6L00@mtaout26.012.net.il> for emacs-devel@gnu.org; Fri, 30 Jan 2015 11:08:12 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NIZ00E84G1OWK20@mtaout26.012.net.il>; Fri, 30 Jan 2015 11:08:12 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:182030 Archived-At: > From: Kelly Dean > CC: emacs-devel@gnu.org > Date: Fri, 30 Jan 2015 07:14:19 +0000 >=20 > Oh, I missed the :set function for defcustom. >=20 > I'm probably just being dense, but the customization interface in E= macs is a bit confusing for me, so I've always just put =C2=ABsetq= =C2=BBs in my init file. Requiring use of the customization interface= for users who are accustomed to directly editing init seems a bit Wi= ndows-esque, but at least if the docstring says it's required, then i= t 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.