emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

color-theme.el


From: Alex Schroeder
Subject: color-theme.el
Date: Sat, 24 Aug 2002 18:50:14 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2.90 (i686-pc-linux-gnu)

Jonathan Walther <address@hidden> writes:

> May I also take this time to ask that color-theme.el be added to the
> Emacs distribution.

A long time ago, I tried fiddling with the source Jan Vroonhofer wrote
for XEmacs in order to integrate "themes" with custom.  I also sent
the code to Dave Love at the time.  My color-theme.el does not use
this custom theme stuff, it implements themes by just redefining
faces, frame parameters, etc.  And I don't feel like getting the
custom-theme stuff to work anymore.  As far as I am concerned, these
last years have shown that there is just no need for that.

One minor problem that remains unsolved (but which I do not care
about) is non-perfect "undoing".  "undoing" the installation of a
theme happens by storing away snapshots of the faces and frame
parameters currently defined.  Invariably, this leads to small
inconsistencies.  Example:  Emacs starts, n faces are defined.  When
install a color-theme, this creates a snapshot with n faces and
installs the new theme.  This theme probably defines m faces, where m
> n.  When we uninstall the theme, n faces are reset (because only n
are stored in the snapshot).  The new faces (m - n) remain as defined
in the theme.  Anyway, that is the current situation.

As to the paperwork, I have the email addresses of all theme authors
on file, so I could arrange the paperwork.

Alex.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]