unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: Bug, probably related to Custom Themes.
Date: Wed, 21 Dec 2005 23:14:00 -0600 (CST)	[thread overview]
Message-ID: <200512220514.jBM5E0s03351@raven.dms.auburn.edu> (raw)
In-Reply-To: <8764phpyvf.fsf@stupidchicken.com> (message from Chong Yidong on Wed, 21 Dec 2005 22:57:40 -0500)

Chong Yidong wrote:

   I think that Customize should only write to .emacs when the user
   clicks on the "Save" button.  Maybe "Erase Customizations" should only
   reset the values in the Customize buffer, but not make them take
   effect.

In the absence of themes, "Erase Customizations" should restore the
default value.  That is not in question.  It is what it has always
done and what it is documented to do.

If themes have been loaded, then, for reasons I explained in my
previous message, it should restore the theme value.  For reasons I
explained in my previous message, trying to restore the no-theme
default would lead to non-sensical behavior in one case or the other.
However, I have the impression that the current code does try to restore
the no-theme default, even if themes are loaded.  (Although it is not
correctly implemented.)  The result is a big nuisance, even for people
who use no themes whatsoever.

Apart from being the only way to avoid bugs, making "Erase Customization"
restore the theme value is the logical thing to do anyway.  Restoring
the no-theme default is likely to clash with the other settings.  If
somebody writes a theme for say, red-green colorblind people, then
deliberate deviations, well chosen by the user, might make sense, but
blindly restoring a general default color would likely produce
conflicts with the rest of the color design.  The same for other types
of themes.

Sincerely,

Luc.

  reply	other threads:[~2005-12-22  5:14 UTC|newest]

Thread overview: 110+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-21  2:54 Bug, probably related to Custom Themes Luc Teirlinck
2005-12-21 18:31 ` Chong Yidong
2005-12-21 18:40   ` Luc Teirlinck
2005-12-21 21:12     ` Chong Yidong
2005-12-21 22:58       ` Luc Teirlinck
2005-12-22  5:47         ` Richard M. Stallman
2005-12-23  0:20           ` Luc Teirlinck
2005-12-23  4:04           ` Luc Teirlinck
2005-12-23  4:26           ` Luc Teirlinck
2005-12-23 18:12             ` Richard M. Stallman
2005-12-23 19:38               ` Luc Teirlinck
2005-12-23 20:22                 ` Chong Yidong
2005-12-23 23:18               ` Luc Teirlinck
2005-12-23 23:21                 ` Luc Teirlinck
2005-12-24  1:50                 ` Chong Yidong
2005-12-24  1:53                   ` Luc Teirlinck
2005-12-24  2:03                   ` Luc Teirlinck
2005-12-24  4:11                     ` Chong Yidong
2005-12-24 16:33                     ` Richard M. Stallman
2006-01-02  1:49                       ` Luc Teirlinck
2005-12-24  2:35                   ` Luc Teirlinck
2005-12-24  4:05                     ` Chong Yidong
2005-12-24 16:33                 ` Richard M. Stallman
2005-12-24 17:14                   ` Luc Teirlinck
2005-12-24 21:18                   ` Luc Teirlinck
2005-12-25 19:06                     ` Richard M. Stallman
2005-12-25 19:38                       ` Drew Adams
2005-12-26  6:22                         ` Luc Teirlinck
2005-12-26 18:43                         ` Richard M. Stallman
2005-12-25 20:34                       ` Chong Yidong
2005-12-26 18:43                         ` Richard M. Stallman
2005-12-23  5:03           ` Luc Teirlinck
2005-12-21 19:03   ` Luc Teirlinck
2005-12-21 19:08   ` Luc Teirlinck
2005-12-21 19:59   ` David Kastrup
2005-12-21 21:19 ` Chong Yidong
2005-12-21 22:19   ` Luc Teirlinck
2005-12-22  3:50     ` Chong Yidong
2005-12-22  3:51       ` Luc Teirlinck
2005-12-22  3:57         ` Chong Yidong
2005-12-22  5:14           ` Luc Teirlinck [this message]
2005-12-22 17:51           ` Richard M. Stallman
2005-12-23  0:29             ` Luc Teirlinck
2005-12-24  2:36               ` Richard M. Stallman
2005-12-24  2:49                 ` Alfred M. Szmidt
2005-12-24  4:19                   ` Chong Yidong
2005-12-24  4:55                     ` Luc Teirlinck
2005-12-24  7:04                       ` Chong Yidong
2005-12-25  2:52                     ` Richard M. Stallman
2005-12-25 23:43                     ` Kim F. Storm
2005-12-25  2:51                   ` Richard M. Stallman
2005-12-25  3:24                     ` Luc Teirlinck
2006-01-02 15:03                       ` Richard M. Stallman
2006-01-02 15:38                         ` Chong Yidong
2006-01-02 20:26                         ` Luc Teirlinck
2006-01-02 22:11                           ` Lennart Borgman
2006-01-03 16:25                           ` Richard M. Stallman
2006-01-03 19:07                             ` Luc Teirlinck
2006-01-04 17:58                             ` Reset buttons in Customize (Was: Bug, probably related to Custom Themes.) Chong Yidong
2006-01-04 19:03                               ` Giorgos Keramidas
2006-01-04 19:31                                 ` Reset buttons in Customize David Kastrup
2006-01-04 19:31                               ` Reset buttons in Customize (Was: Bug, probably related to Custom Themes.) Luc Teirlinck
2006-01-04 20:00                                 ` Reset buttons in Customize Chong Yidong
2006-01-04 20:16                                   ` Lennart Borgman
2006-01-04 20:45                                   ` Luc Teirlinck
2006-01-04 20:51                                     ` Chong Yidong
2006-01-04 21:04                                       ` Luc Teirlinck
2006-01-04 21:20                                         ` Chong Yidong
2006-01-04 21:20                                           ` Luc Teirlinck
2006-01-04 21:28                                             ` Chong Yidong
2006-01-04 21:34                                               ` Luc Teirlinck
2006-01-05  1:50                                   ` Luc Teirlinck
2006-01-04 20:25                               ` Reset buttons in Customize (Was: Bug, probably related to Custom Themes.) Luc Teirlinck
2006-01-04 21:27                                 ` Reset buttons in Customize Chong Yidong
2006-01-05  0:32                                   ` Luc Teirlinck
2006-01-04 21:39                               ` Reset buttons in Customize (Was: Bug, probably related to Custom Themes.) Drew Adams
2006-01-05 16:35                                 ` Richard M. Stallman
2006-01-05  1:35                               ` Luc Teirlinck
2006-01-05 15:50                               ` Reset buttons in Customize David Kastrup
2006-01-05 23:10                               ` Reset buttons in Customize (Was: Bug, probably related to Custom Themes.) Richard M. Stallman
2006-01-06  5:51                               ` Reset buttons in Customize Bill Wohler
2006-01-07 21:03                                 ` Luc Teirlinck
2006-01-08  3:54                                 ` Luc Teirlinck
2006-01-08  4:01                                   ` Bill Wohler
2006-01-08  4:05                                     ` Luc Teirlinck
2006-01-08 10:19                                     ` David Kastrup
2006-01-09 11:24                                       ` Kim F. Storm
2006-01-08  4:24                                   ` Luc Teirlinck
2006-01-09  0:52                                   ` Richard M. Stallman
2006-01-09  4:26                                     ` Luc Teirlinck
2006-01-10  2:02                                       ` Luc Teirlinck
2006-01-10  4:54                                         ` Luc Teirlinck
2006-01-10  5:14                                           ` Luc Teirlinck
2006-01-11  0:49                                             ` Richard M. Stallman
2006-01-11  1:14                                               ` Luc Teirlinck
2006-01-11  3:27                                                 ` David Kastrup
2006-01-11  4:05                                                   ` Luc Teirlinck
2006-01-11 15:18                                                   ` Richard M. Stallman
2006-01-12  2:56                                                     ` Luc Teirlinck
2006-01-12 18:24                                                       ` Richard M. Stallman
2006-01-12 15:11                                                 ` Richard M. Stallman
2006-01-12 23:12                                                   ` Luc Teirlinck
2006-01-10  5:23                                           ` Bill Wohler
2006-01-10 17:53                                             ` Luc Teirlinck
2006-01-10 18:23                                               ` Bill Wohler
2006-01-10 22:08                                                 ` Luc Teirlinck
2006-01-11 13:56                                                   ` Richard M. Stallman
2006-01-02 20:42                         ` Bug, probably related to Custom Themes Luc Teirlinck
2006-01-05  1:31                         ` Luc Teirlinck
2005-12-22  5:46   ` Richard M. Stallman

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=200512220514.jBM5E0s03351@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 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).