all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Cc: emacs-devel@gnu.org, rms@gnu.org, monnier@iro.umontreal.ca
Subject: Re: Custom themes
Date: Thu, 30 Jun 2005 07:32:41 +0200	[thread overview]
Message-ID: <85wtocmmti.fsf@lola.goethe.zz> (raw)
In-Reply-To: <200506300059.j5U0xt601509@raven.dms.auburn.edu> (Luc Teirlinck's message of "Wed, 29 Jun 2005 19:59:55 -0500 (CDT)")

Luc Teirlinck <teirllm@dms.auburn.edu> writes:

> The situation with Custom themes is a lot worse that I thought
> yesterday.  I discovered two new bugs, one so serious that it makes
> the Custom themes feature unusable.  It is nearly guaranteed that
> even if those two bugs could be solved plenty of others remain.  The
> Custom Themes code seems to have been incorrectly ported from
> XEmacs, to a degree that it is presently completely dysfunctional.
>
> It is nearly impossible to understand incorrectly ported code,
> unless you know the package that was ported.  It _is_ possible for
> me to debug cus-theme.el, even though it has many bugs, because it
> is originally designed code.  You can guess the original design and
> make the code behave like it.  However, the themes code in custom.el
> is ported code.  In this incorrectly ported code, the original
> design seems to be destroyed by the incorrect porting.  You can only
> know it by studying the package that was ported.
>
> Repairing and debugging the themes code means correcting the porting
> errors and finishing off the porting task.  I never used XEmacs, I
> do not have it installed.  I do not know anything about the
> differences between the Emacs and XEmacs versions of Elisp.  I know
> nothing about the actual XEmacs version of Custom themes.  I do not
> know how it works, whether it works (without excessive bugs),
> whether it is actually used by people and, if so, how it is used.
>
> I am absolutely not the right person to work on this.  Somebody who
> is interested in Emacs development, but who is familiar with XEmacs
> Custom Themes should finish this off.  "Finishing it off" seems to
> be a substantial task.

I seem to remember from discussions on XEmacs-beta that this feature
is not widely used or recognized by XEmacs developers, so it is
possible that the overall quality of the original code on XEmacs (if
it indeed originates there) is not much better than what you have at
hand at the moment.

I do think that having custom themes would be quite desirable: users
could select a default site theme, for example, and override parts of
it with other themes.

If the design of the API is sound, it might be the sanest choice to
eventually come up with an implementation from scratch if the
situation is as bad as you describe, and just document the current
implementation of being a draft, and documenting where it is still
defective.  If there are doubts about the API to be implementable at
all, we should probably remove theme support altogether from Emacs 22:
there is no sense in getting people used to interfaces that can and
will not be fixed or implemented.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  reply	other threads:[~2005-06-30  5:32 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-25  0:31 Custom themes Richard M. Stallman
2005-06-25  1:27 ` Luc Teirlinck
2005-06-25  1:57   ` Luc Teirlinck
2005-06-25 16:40     ` Richard M. Stallman
2005-06-26  3:19       ` Luc Teirlinck
2005-06-26 15:04         ` Richard M. Stallman
2005-06-28  1:21           ` Luc Teirlinck
2005-06-28  1:42             ` Luc Teirlinck
2005-06-28 18:47               ` Richard M. Stallman
2005-06-28 18:46           ` Luc Teirlinck
2005-06-28 20:09             ` Luc Teirlinck
2005-06-27  9:56         ` Per Abrahamsen
2005-06-28  4:57   ` Stefan Monnier
2005-06-28 14:41     ` Luc Teirlinck
2005-06-29  3:58       ` Richard M. Stallman
2005-06-29  4:28         ` Luc Teirlinck
2005-06-30  5:36         ` David Kastrup
2005-06-30 23:11           ` Luc Teirlinck
2005-07-01 22:44             ` Richard M. Stallman
2005-07-02 12:33             ` Richard M. Stallman
2005-07-04  0:27               ` Luc Teirlinck
2005-06-30 12:53       ` Per Abrahamsen
2005-06-28 14:49     ` Luc Teirlinck
2005-06-28 21:29     ` Richard M. Stallman
2005-06-29  3:17       ` Luc Teirlinck
2005-06-29 20:43         ` Richard M. Stallman
2005-06-30  0:59           ` Luc Teirlinck
2005-06-30  5:32             ` David Kastrup [this message]
2005-06-30 15:49             ` Richard M. Stallman
2005-06-30 15:49             ` Richard M. Stallman
2005-06-25  3:25 ` Luc Teirlinck
2005-06-25 16:40   ` Richard M. Stallman
2005-06-25 18:00     ` Luc Teirlinck
2005-06-25 21:01       ` Frank Schmitt
2005-06-25 21:59         ` Luc Teirlinck
2005-06-25 22:03         ` Luc Teirlinck
2005-06-26  4:46       ` Richard M. Stallman
  -- strict thread matches above, loose matches on Subject: below --
2010-10-11  5:15 Chong Yidong
2010-10-11  7:48 ` Deniz Dogan
2010-10-11 15:34   ` Chong Yidong
2010-10-11 16:09 ` Lars Magne Ingebrigtsen
2010-10-11 17:38   ` Chong Yidong
2010-10-11 21:04 ` Eric Lilja
2010-10-12 14:08   ` Joel James Adamson
2010-10-12 20:25 ` Chong Yidong
2010-10-12 23:40   ` Eric Lilja
2010-10-13  0:04   ` Christoph
2010-10-13  2:15     ` Chong Yidong
2010-10-13 20:06   ` David De La Harpe Golden
2010-10-14  4:23     ` Chong Yidong
2010-10-14  4:58       ` Miles Bader
2010-10-13  0:26 ` Stefan Monnier
2010-10-13  2:14   ` Chong Yidong
2010-10-13 10:20     ` Juanma Barranquero
2010-10-13 15:06       ` CHENG Gao
2010-10-13 16:05       ` Chong Yidong
2010-10-14 15:53         ` Chong Yidong
2010-10-14 16:47           ` Juanma Barranquero
2010-10-16 18:33             ` Chong Yidong
2005-07-29 13:54 Richard M. Stallman
2005-06-17 18:45 Richard 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=85wtocmmti.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rms@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.