all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: cyd@stupidchicken.com, emacs-devel@gnu.org
Subject: Re: Bug, probably related to Custom Themes.
Date: Thu, 22 Dec 2005 22:26:26 -0600 (CST)	[thread overview]
Message-ID: <200512230426.jBN4QQD18470@raven.dms.auburn.edu> (raw)
In-Reply-To: <E1EpJIL-0006Vm-Ii@fencepost.gnu.org> (rms@gnu.org)

Richard Stallman wrote:

       Loading a theme means installing a new set of defaults.  "Erase
       Customization" should restore the theme value.  If the user wants the
       no-themes default, he should set and save bar in a Custom buffer to
       the no-themes default, thereby making the no-theme default the user
       theme value which explicitly overrides any theme, present or future.
       That is the only way one can be consistent.

   I agree.

   In what way does the current behavior differ from that?

After careful checking my suspicions turned out to be completely
correct.  The current behavior (without my patch, which _partially_
fixes it) is as follows.

If you save a "setting" (to use the brand new terminology) and then
choose "Erase Customization" for the same setting, the no-themes
default gets restored for the current session and for future sessions
_until_ you choose "Erase Customization" for some _other_ setting.
After that, the no-themes default stays into effect for the remainder
of that session but for sessions started after that, the theme value is
restored.  This, of course, makes no sense whatsoever.  This is no
surprise.  Very few things in the current Themes code make any sense
whatsoever.

       I have the impression that the purpose of the:

       (custom-reset-variables
	'(bar nil))

       is to override foo's value and restore the no-themes default.

   I'm not sure what that ought to do.  Looking at the doc string, it is
   not clear that this case was intended to be used at all.

As I suspected, it does restore the no-themes default (I checked).

As I already said in an earlier message, we should get rid of the
current Themes code and replace it with something that makes sense.

Sincerely,

Luc.

  parent reply	other threads:[~2005-12-23  4:26 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 [this message]
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
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

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

  git send-email \
    --in-reply-to=200512230426.jBN4QQD18470@raven.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --cc=cyd@stupidchicken.com \
    --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.