Ar an t-ochtú lá is fiche de mí Méan Fómhair, scríobh Aidan Kehoe:
Thanks for the report, Giacomo. This is a bug tickled by some code I
introduced to make sure the modeline face reflects the default face on
device creation, if the modeline face has not otherwise been specified; the
place to fix it is in #'specifier-instance or at a lower level,
#'specifier-instance is documented to return DEFAULT (defaulting to nil) if
it can’t instantiate a specifier in a given domain, it erroring is a bug. I
should have a fix by Monday.
OK, this is tricky enough; no fix today. Here’s a band-aid that I can’t
quite get to work.
diff -r 59a6419f7504 lisp/faces.el
--- a/lisp/faces.el Mon Sep 20 23:22:50 2010 +0100
+++ b/lisp/faces.el Mon Oct 04 02:01:30 2010 +0100
@@ -1993,7 +1993,9 @@
for face-property in '(foreground background
background-pixmap background-placement)
do (when (and (setq face-property (face-property 'modeline face-property))
- (null (specifier-instance face-property device nil t))
+ (null (condition-case nil
+ (specifier-instance face-property device nil t)
+ (invalid-argument nil)))
(specifier-instance face-property device))
(set-specifier face-property
(or (specifier-specs (specifier-fallback
--
“Apart from the nine-banded armadillo, man is the only natural host of
Mycobacterium leprae, although it can be grown in the footpads of mice.”
-- Kumar & Clark, Clinical Medicine, summarising improbable leprosy research
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/mailman/listinfo/xemacs-beta