From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#6089: 23.1.96; doc for defcustom :set Date: Mon, 3 May 2010 08:40:50 -0700 Message-ID: <9C34513D8E054CB194CF9170BFF33C82@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1272902184 19070 80.91.229.12 (3 May 2010 15:56:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 3 May 2010 15:56:24 +0000 (UTC) To: 6089@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 03 17:56:23 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O8y0M-0007AS-Os for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 May 2010 17:56:23 +0200 Original-Received: from localhost ([127.0.0.1]:58927 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8y0L-0001Yr-LK for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 May 2010 11:56:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O8y0G-0001Yh-LJ for bug-gnu-emacs@gnu.org; Mon, 03 May 2010 11:56:16 -0400 Original-Received: from [140.186.70.92] (port=38212 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8y0A-0001YZ-RW for bug-gnu-emacs@gnu.org; Mon, 03 May 2010 11:56:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O8y05-0004lF-08 for bug-gnu-emacs@gnu.org; Mon, 03 May 2010 11:56:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41541) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8y04-0004l1-C4 for bug-gnu-emacs@gnu.org; Mon, 03 May 2010 11:56:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1O8xnS-0003jf-HA; Mon, 03 May 2010 11:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 May 2010 15:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6089 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.127290135314347 (code B ref -1); Mon, 03 May 2010 15:43:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 May 2010 15:42:33 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8xmy-0003jM-Tm for submit@debbugs.gnu.org; Mon, 03 May 2010 11:42:33 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8xmx-0003jH-7W for submit@debbugs.gnu.org; Mon, 03 May 2010 11:42:31 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:57609) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O8xmr-0003sK-RE for submit@debbugs.gnu.org; Mon, 03 May 2010 11:42:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O8xmr-0003au-9I for bug-gnu-emacs@gnu.org; Mon, 03 May 2010 11:42:25 -0400 Original-Received: from [140.186.70.92] (port=42180 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8xmp-0003aT-TT for bug-gnu-emacs@gnu.org; Mon, 03 May 2010 11:42:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O8xmk-0002Ur-DN for bug-gnu-emacs@gnu.org; Mon, 03 May 2010 11:42:23 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:42058) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8xmj-0002Ud-R9 for bug-gnu-emacs@gnu.org; Mon, 03 May 2010 11:42:18 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o43Fg9Jj031860 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 3 May 2010 15:42:10 GMT Original-Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o437o0cu032182 for ; Mon, 3 May 2010 15:42:07 GMT Original-Received: from abhmt008.oracle.com by acsmt353.oracle.com with ESMTP id 210055361272901251; Mon, 03 May 2010 08:40:51 -0700 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 03 May 2010 08:40:51 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acrq1wHoFc91QDwZTV+EigS3qouPcA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Auth-Type: Internal IP X-Source-IP: acsinet15.oracle.com [141.146.126.227] X-CT-RefId: str=0001.0A090207.4BDEEED3.0043:SCFMA922111,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 03 May 2010 11:43:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36658 Archived-At: Node (elisp)Customization > Variable Definitions describes :set as follows: Specify SETFUNCTION as the way to change the value of this option. The function SETFUNCTION should take two arguments, a symbol (the option name) and the new value, and should do whatever is necessary to update the value properly for this option (which may not mean simply setting the option as a Lisp variable). The default for SETFUNCTION is `set-default'. And the doc string says this: VALUE should be a function to set the value of the symbol. It takes two arguments, the symbol to set and the value to give it. The default choice of function is `set-default'. It isn't clear from these that :set takes effect only when you change the option value using Customize. I was thinking from reading this that it took effect whenever the option value was changed in any way. Or at a minimum whenever it was changed using either Customize or `set-variable'. Please consider making explicit that this applies only to value changes made in the Customize UI. In GNU Emacs 23.1.96.1 (i386-mingw-nt5.1.2600) of 2010-04-20 on G41R2F1 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/xpm/include'