unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 8720@debbugs.gnu.org, David Engster <deng@randomsample.de>
Subject: bug#8720: 24.0.50; load-theme in .emacs makes it easy to inadvertently delete custom-set variables
Date: Mon, 06 Jun 2011 14:13:01 -0300	[thread overview]
Message-ID: <jwv7h8y7um5.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87hb855esi.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 04 Jun 2011 19:59:25 -0400")

> One possibility is to do something like the following patch.  If Emacs
> needs to save a variable in a function that could be called during
> startup,

Rather than "startup" we could prefer checking "have custom settings
been fully loaded?".  It's mostly equivalent (except for things
like -Q), but it's more obviously the correct thing to do.


        Stefan





      parent reply	other threads:[~2011-06-06 17:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-23 19:58 bug#8720: 24.0.50; load-theme in .emacs makes it easy to inadvertently delete custom-set variables David Engster
2011-06-04 23:59 ` Chong Yidong
2011-06-05  8:41   ` David Engster
2011-06-28  4:34     ` Chong Yidong
2011-06-06 17:13   ` Stefan Monnier [this message]

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=jwv7h8y7um5.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=8720@debbugs.gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=deng@randomsample.de \
    /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).