unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Reitter <david.reitter@gmail.com>
Subject: Re: standard-value of display-battery/time-mode
Date: Sun, 19 Feb 2006 18:37:14 +0000	[thread overview]
Message-ID: <E8C7B4F0-FEF6-4592-8AA3-BF2A28623778@gmail.com> (raw)
In-Reply-To: <200602190031.k1J0VKq07514@raven.dms.auburn.edu>

On 19 Feb 2006, at 00:31, Luc Teirlinck wrote:

>    (customize-mark-to-save 'display-battery-mode)
>
>    is always t even though now change was made because the standard-
>    value property is nil / not set. It should probably be (nil).
>
> `display-battery-mode' is autoloaded.  This means that it is defined
> with `defvar' in loaddefs.el.  The standard-value property remains nil
> until the defcustom is evaluated, when it becomes (nil).

OK, so something like menu-bar-options-save should contain a few  
require's then.
I've written something that'll automatically save the options at the  
end of an Emacs session.The user is asked whether to actually do that  
if they have changed. Obviously, I don't want to ask if there is no  
change, which means I'll need to load the appropriate libraries at  
that point.

Maybe that's something that menu-bar-options-save should do as well,  
because as it stands now, the customizations are always written to  
file, whether there have been changes or not (unless all those  
libraries have been loaded).

  reply	other threads:[~2006-02-19 18:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-18 13:15 standard-value of display-battery/time-mode David Reitter
2006-02-19  0:31 ` Luc Teirlinck
2006-02-19 18:37   ` David Reitter [this message]
2006-02-19 22:47   ` Richard M. Stallman
2006-02-20  0:50     ` Luc Teirlinck
2006-02-20  1:20       ` Chong Yidong
2006-02-20  3:07         ` Luc Teirlinck
2006-02-20 16:01           ` Chong Yidong

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=E8C7B4F0-FEF6-4592-8AA3-BF2A28623778@gmail.com \
    --to=david.reitter@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).