all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: 6089@debbugs.gnu.org
Subject: bug#6089: 23.1.96; doc for defcustom :set
Date: Mon, 3 May 2010 08:40:50 -0700	[thread overview]
Message-ID: <9C34513D8E054CB194CF9170BFF33C82@us.oracle.com> (raw)

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'
 








             reply	other threads:[~2010-05-03 15:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-03 15:40 Drew Adams [this message]
2011-07-02 23:53 ` bug#6089: 23.1.96; doc for defcustom :set Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9C34513D8E054CB194CF9170BFF33C82@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=6089@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.