all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: customize-rouge output with emacs -q --no-site-file
Date: Fri, 4 Feb 2005 19:56:58 -0600 (CST)	[thread overview]
Message-ID: <200502050156.j151uw114160@raven.dms.auburn.edu> (raw)
In-Reply-To: <004501c50b07$6690f620$0200a8c0@sedrcw11488> (lennart.borgman.073@student.lu.se)

Lennart Borgman wrote:

   (defun startup-set-standard-value (symbol)
     "Set the current value of SYMBOL as the standard value for Customize."
     (when (boundp symbol)
       (put symbol 'standard-value (list symbol))))

   (startup-set-standard-value 'baud-rate)

Does that code not mean that the saved-value of baud-rate is always
going to be '(baud-rate), I mean the list containing the _symbol_
baud-rate, _not_ the value of baud-rate which you tried to record?
That is the bug I encountered when copying that code into a mapatoms
(and which I warned about earlier.)

Sincerely,

Luc.

  parent reply	other threads:[~2005-02-05  1:56 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-04 16:03 customize-rouge output with emacs -q --no-site-file Lennart Borgman
2005-02-04 19:14 ` Lennart Borgman
2005-02-04 21:57   ` Lennart Borgman
2005-02-04 22:17   ` Lennart Borgman
2005-02-04 23:48     ` Luc Teirlinck
2005-02-05  0:47       ` Luc Teirlinck
2005-02-05 17:39         ` Richard Stallman
2005-02-05  0:03     ` Luc Teirlinck
2005-02-05  0:06     ` Luc Teirlinck
2005-02-05 17:39       ` Richard Stallman
2005-02-05  1:56     ` Luc Teirlinck [this message]
2005-02-05  3:51     ` Luc Teirlinck
2005-02-05  9:08       ` Lennart Borgman
2005-02-05 14:51         ` Luc Teirlinck
2005-02-06 12:42           ` Richard Stallman
2005-02-06 19:54             ` Luc Teirlinck
2005-02-05 19:06         ` Luc Teirlinck
2005-02-05 19:52           ` Lennart Borgman
2005-02-05 21:16             ` Luc Teirlinck
2005-02-07 20:51   ` Richard Stallman
2005-02-07 21:27     ` Lennart Borgman

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=200502050156.j151uw114160@raven.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --cc=emacs-devel@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.