Various people who don't need personal copies and the BTS removed from
address list. Shoulda done that before.
>>>> "Yoshiki" == Yoshiki Hayashi
<yoshiki(a)xemacs.org> writes:
Yoshiki> "Stephen J. Turnbull" <turnbull(a)sk.tsukuba.ac.jp> writes:
(when spec
;; Reset faces created during auto-autoloads loading.
(reset-face symbol) ;; <--- YOU LOSE LOSE LOSE
;; And set it according to the spec.
;; NOTE THAT THE SPEC IS CUSTOM INTERNAL DATA.
;; CALLING FACE MANIPULATION FUNCTIONS DIRECTLY (EG,
;; IN .emacs) DOES NOT UPDATE IT.
Yoshiki> You don't lose here.
You do. Suppose that I have customized the faces for foo-mode. Now
Harry comes up with a real spiffy set of faces for foo-mode, and Taro
the maintainer agrees and puts them in. I cannot easily recover that
default information (for trial purposes) by temporarily removing the
customization in my running XEmacs; I must reload the library or even
restart XEmacs with my Custom-based customizations disabled, which
may not be desirable.
I don't think this is generally a problem. But we've been patching
pieces of Custom for years, and these annoying little bugs still keep
crawling out of the cracks between the window and the WM decorations.
Yoshiki> It's not "a typical example of the cavalier way that
Yoshiki> Custom insists on resetting faces whenever it does any
Yoshiki> manipulations".
OK, whatever. The fact is that reset-face is a customization-
destroying function; I really don't see a good excuse for calling it
without user interaction. Custom is making the assumption that it
knows everything relevant, and that assumption is false.
Yoshiki> Hmm... Then what background spec of defface is for? I'm
Yoshiki> not a particular fun of it, but I think it's useful.
I don't know. As I've said, I find Custom's face model limiting. I
suppose it was a way to avoid figuring out how to do reliable contrast
calculations (admittedly, quite unobvious).
--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091
_________________ _________________ _________________ _________________
What are those straight lines for? "XEmacs rules."