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: Thu, 29 Jan 2015 18:06:58 +0200 Message-ID: <83twz9muzh.fsf@gnu.org> References: <7Dw4GTuMVOnntNGptSuTBkSMdmkHqNdTLkatZ8yKiM7@local> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1422547637 9109 80.91.229.3 (29 Jan 2015 16:07:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Jan 2015 16:07:17 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Kelly Dean Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 29 17:07:17 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 1YGrcj-0001Bo-5P for ged-emacs-devel@m.gmane.org; Thu, 29 Jan 2015 17:07:17 +0100 Original-Received: from localhost ([::1]:60552 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGrci-0003D6-HN for ged-emacs-devel@m.gmane.org; Thu, 29 Jan 2015 11:07:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGrce-0003Bt-BY for emacs-devel@gnu.org; Thu, 29 Jan 2015 11:07:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGrcW-0005LG-4e for emacs-devel@gnu.org; Thu, 29 Jan 2015 11:07:09 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:52839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGrcV-0005L2-Su for emacs-devel@gnu.org; Thu, 29 Jan 2015 11:07:04 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NIY005004J6IW00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Thu, 29 Jan 2015 18:07:02 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NIY005RA4RQHL20@a-mtaout20.012.net.il>; Thu, 29 Jan 2015 18:07:02 +0200 (IST) In-reply-to: <7Dw4GTuMVOnntNGptSuTBkSMdmkHqNdTLkatZ8yKiM7@local> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 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:181991 Archived-At: > From: Kelly Dean > Date: Thu, 29 Jan 2015 08:20:27 +0000 > Cc: emacs-devel@gnu.org > > 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.