all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: custom-declare-variable
Date: Tue, 5 Jul 2005 18:55:37 -0500 (CDT)	[thread overview]
Message-ID: <200507052355.j65NtbZ21516@raven.dms.auburn.edu> (raw)
In-Reply-To: <rjhdf9fv9r.fsf@sheridan.dina.kvl.dk> (message from Per Abrahamsen on Tue, 05 Jul 2005 11:37:52 +0200)

Per Abrahamsen wrote:

   Would it be possible to undo the patch that integrated custom themes
   into Emacs cvs?

   It might be easier to redo theme support from scratch, than make the
   current code work...  I mean, if nobody really understand the ideas
   behind the design of custom themes, it is unlikely that stepwise
   refinement of the code will produce something useful.

cus-theme.el is probably usable, even with a completely rewritten
Themes code in custom.el, although it would need bug fixes and
improvements.

In as far as the Themes code in custom.el is concerned, I do not even
understand what it is _trying_ to do and some things about it make me
very wary.  There is the strangeness in `custom-declare-variable'
which I pointed out.  There is `custom-do-theme-reset' whose docstring
describes _twice_ what the function does, giving two completely
contradictory descriptions.  I read the code carefully to see which of
the two was correct.  The actual behavior has nothing to do with
either description.  Things like that make you wonder.

Maybe somebody else can take a look at the Themes code in custom.el
and see whether they understand any of it.  Otherwise, I believe that,
at best, some parts of it maybe could be recycled into the new design
we would come up with, but still it means essentially starting over
from scratch.

Sincerely,

Luc.

  parent reply	other threads:[~2005-07-05 23:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-04 23:20 custom-declare-variable Luc Teirlinck
2005-07-04 23:37 ` custom-declare-variable Luc Teirlinck
2005-07-05  9:37   ` custom-declare-variable Per Abrahamsen
2005-07-05 10:54     ` custom-declare-variable Kim F. Storm
2005-07-06  1:34       ` custom-declare-variable Luc Teirlinck
2005-07-06 17:55         ` custom-declare-variable Richard M. Stallman
2005-07-05 23:55     ` Luc Teirlinck [this message]
2005-07-11 16:53 ` custom-declare-variable 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=200507052355.j65NtbZ21516@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 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.