unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Subject: Re: Starnge comment in Custom Theme code.
Date: Sat, 24 Dec 2005 14:58:36 -0600 (CST)	[thread overview]
Message-ID: <200512242058.jBOKwaC12601@raven.dms.auburn.edu> (raw)
In-Reply-To: <87bqz6h0lw.fsf@stupidchicken.com> (message from Chong Yidong on Sat, 24 Dec 2005 12:21:47 -0500)

Chong Yidong wrote:

   I don't know what your belly-aching is supposed to accomplish;

Mainly to try to prevent the Custom Theme code from negatively
affecting the general functioning of the non-theme Custom.  Unless
certain issues are satisfactorily resolved, it will.  If these issues
can not be resolved before the release, Custom Themes should quite
simply not be part of the release.

Trying to fix bugs in Custom Themes can easily produce bugs in the
non-theme Custom.  In addition a major problem with Custom Themes
(apart from its bugs) is that to safely make some changes,
enhancements or even bug fixes to Custom, you sometimes have to know
every detail about Custom themes.  These details are vague and
ill-defined, which is a problem in itself, but made worse by the
previous fact.

I believed that we made substantial progress on the issue of clearly
and _simply_ defining what Custom themes are a few days ago.
(Unfortunately, some things you said today put this in doubt again.)
I believe that we decided that a Custom theme was an alternative
standard value, that is, setting a value through a Theme is completely
equivalent with specifying an alternative expression in the defcustom.
If we would _consistently_ stick with that (which implies that Custom
Themes do not override setq) and also consistently stick with the fact
that Themes are stored in separate files loaded in .emacs and that
Custom has nothing to do with it, then Custom Themes would no longer
be the big obstacle to safely making changes in Custom that they are
now.  People would know what Custom Themes are supposed to do without
understanding their code in full detail.

We should remove all Custom Theme code that conflicts with the above
straightforward definition of a Custom Theme and all code that tries to
write into .emacs on behalf of Custom themes.  That would be a big
improvement.  (What about these four lines in `custom-save-variables'
I asked you to explain?)

In addition, things would be a _lot_ cleaner if the theme value got
stored in the standard-value property, to be consistent the above
definition.  Then it would be once again completely safe to make
changes in Custom without worrying about Custom Themes.  But that does
probably imply some more extensive rewriting.

Sincerely,

Luc.

  parent reply	other threads:[~2005-12-24 20:58 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-24 16:30 Starnge comment in Custom Theme code Luc Teirlinck
2005-12-24 17:21 ` Chong Yidong
2005-12-24 18:02   ` Luc Teirlinck
2005-12-24 18:35     ` Chong Yidong
2005-12-24 18:39       ` Luc Teirlinck
2005-12-24 18:42         ` Chong Yidong
2005-12-24 18:53           ` Luc Teirlinck
2005-12-24 18:49       ` Luc Teirlinck
2005-12-25  2:32       ` Luc Teirlinck
2005-12-26  2:20         ` Richard M. Stallman
2005-12-26  4:21           ` Luc Teirlinck
2005-12-26 21:57             ` Richard M. Stallman
2005-12-26 18:05           ` Luc Teirlinck
2005-12-24 18:30   ` Luc Teirlinck
2005-12-24 19:04   ` Luc Teirlinck
2005-12-24 20:58   ` Luc Teirlinck [this message]
2005-12-25  1:45   ` Luc Teirlinck
2005-12-26  2:20     ` Richard M. Stallman
2005-12-26  3:29       ` Luc Teirlinck
2005-12-27  4:55         ` Richard M. Stallman
2005-12-26  4:26       ` Luc Teirlinck
2005-12-26 18:43       ` Richard M. Stallman
2005-12-27  2:13         ` Luc Teirlinck
2005-12-25  2:52 ` Richard M. Stallman
2005-12-25  3:03   ` Luc Teirlinck

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=200512242058.jBOKwaC12601@raven.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    /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).