unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: Bug, probably related to Custom Themes.
Date: Sun, 25 Dec 2005 11:38:39 -0800	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICGEMGDAAA.drew.adams@oracle.com> (raw)
In-Reply-To: <E1EqbCT-0002zJ-L4@fencepost.gnu.org>

        Also everybody writing future code for Custom should
        realize that when they want to access the standard value,
        they should not just look at the 'standard-value property
        but that they should use the non-user
        theme value instead if there is one.

    Maybe we should add a subroutine which does this, to help people
    get it right every time.

1. Is there an acceptable alternative way to deal with this? I thought Luc
was saying that there was, but I could be mistaken (I haven't followed
everything in this thread).

One consequence of fixing the problem by providing such a subroutine will be
that code that tries to work with multiple versions of Emacs will become
more complex that it would otherwise be (some versions will have the
subroutine; others won't). I know that is not a priority concern of Emacs
development, but you might want to consider it at some (secondary) level.
"Users" of Emacs include not only its end users but also external-library
developers, and the latter sometimes try to provide code that works across
different Emacs versions, FBOFW.

2. Luc also seemed to be saying that there is unnecessary coupling now
between the themes code and the custom code, making writing code that uses
either of them trickier or more complex. If the two are as incestuously
intertwined as Luc suggests, wouldn't it make sense to cut some of the bonds
and have them shake hands at a more respectable distance? I don't know if
that would be possible before the release, but the impression I get from
Luc's description is that  maintenance and bug storms are looming in this
area.

I'm all for letting other libraries change custom values and states, as I've
stated previously. Custom is so important and potentially useful, that we
shouldn't confine its functionality to the Customize UI. But if other
libraries break Customize functionality, then that's not good. And if people
must be aware of multiple libraries and their effects in order to interact
with Customize (interactively or through code), then that's not good either.
My idea was to let other libraries use Customize functionality, but that
must be done cleanly and transparently - as if it were done by/in Customize
itself.

  reply	other threads:[~2005-12-25 19:38 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 [this message]
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

  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=DNEMKBNJBGPAOPIJOOICGEMGDAAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.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).