-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUGS
71 lines (55 loc) · 2.91 KB
/
BUGS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
This is the list of common problems.
Emacs 20.7: Some faces are created using copy-face; these faces are
not printed correctly using M-x color-theme-print. They will have
(nil) in their spec. M-x customize-face has the same problem.
Example:
(copy-face 'bold 'new-bold)
(color-theme-spec 'bold)
=> (bold ((t (:bold t))))
(color-theme-spec 'new-bold)
=> (new-bold ((t (nil))))
XEmacs 21.1: Some faces are defined using a certain font instead of
of the correct attribute. They will have (nil) in their spec.
M-x customize-face has the same problem.
Example:
(color-theme-spec 'bold)
=> (bold ((t (nil))))
XEmacs 21.2 and up, Emacs 21: Not compatible with the custom-theme
mode. It should be easy to transform the color-theme source into
custom-theme source, however.
If you are running XEmacs, then only foreground and background color
of the default face and only the background color of the text-cursor
face will used. This is due to the fact that these three pieces of
information are stored as frame parameters in Emacs.
If you are running XEmacs, variables cannot have a frame-local
binding. Therefore, if color-theme-is-global is set to nil, the
variable settings in a color theme are ignored.
Using Emacs and a non-nil value for color-theme-is-global will
install a new color theme for all frames. Using XEmacs and a non-nil
value for color-theme-is-global will install a new color theme only
on those frames that are not using a local color theme.
If your system does not define the color names used, you will get the
error "undefined color". See the output of `list-colors-display' for
a list of colors defined on your display.
The :box, :height, and other new attributes will be honored in Emacs
21, but when you print such a color-theme on Emacs 20 or XEmacs 21,
the information will get lost. So don't do that. Furthermore,
customizing these faces may end up showing you a lisp expression
instead of the real widgets on Emacs 20 or XEmacs 21 because these
attributes are not understood.
:inverse-video handling differs in Emacs and XEmacs. We therefore do
away with it. When printing a color-theme, the inverse-video
attribute should be handled correctly without ever appearing in color
themes. For maintenance, the following might be usefull for
query-replace-regexp.
:background "\([^"]*\)"\(.*\):foreground "\([^"]*\)"\(.*\) :inverse-video t
:background "\3"\2:foreground "\1"\4
In XEmacs 21.1, some of the face tests don't work. Example:
(custom-face-bold 'bold) returns nil on my system. A bug report was
submitted.
Emacs 20 users will loose with new color themes, because these will
set the colors of the default face only, leaving frame background
untouched. In Emacs 20, the colors of the default face and of the
frame could be changed independently. In Emacs 21, this is no longer
true. New color themes will not be made backwards compatible.
This release was superficially tested with Emacs 21.x/22.x and XEmacs 21.4.