HTML mail morphed to text/plain by list master. HTML-only mail is
filtered and is normally dumped in the bit bucket....
On 04 Jul 2002 14:11:50 +0900, Stephen J. Turnbull wrote:
>>>>> "Matthew" >
Matthew> I just compiled 21.5.7. When I load it up, the default
Matthew> font is not a courier new, but rather Lucidia.
This is probably because Ben put in a really big patch to the font
handling code. ISTR he changed some defaults.
Matthew> Furthermore, after I use the font menu to chnge
Matthew> to courier new, I get a loading error:
Matthew> Assertion failed: (equal enabled-behavior-list val)
I think this is a known bug. Due to a bureaucratic snafu, my fault,
the patch got applied after the release. Why changing fonts triggers
this, I'm not sure....
Either update to current CVS or apply the following patch.
Index: behavior.el
>retrieving revision 1.2
diff -u -r1.2 behavior.el
--- behavior.el 2002/03/31 08:27:23 1.2
+++ behavior.el 2002/06/27 20:45:29
@@ -59,7 +59,8 @@
(disable-behavior b t))
(dolist (b enable-list)
(enable-behavior b t))
- (assert (equal enabled-behavior-list val)))))
+ (assert (equal (sort (copy-sequence enabled-behavior-list)
'string-lessp)
+ (sort (copy-sequence val) 'string-lessp))))))
:type '(repeat (symbol :tag "Behavior"))
:group 'behaviors)
Applied patch and still got the behavior. I did a little
experimentation. Turns out that the error only happens if more than
one Behavior is set from the Options/Behaviors menu. From my
custom.el:
OK:
(custom-set-variables
'(enabled-behavior-list '(recent-files)
))
(custom-set-faces
'(default ((t (:size "8pt" :family "Courier New"))) t))
OK:
(custom-set-variables
'(enabled-behavior-list '(mwheel)
))
(custom-set-faces
'(default ((t (:size "8pt" :family "Courier New"))) t))
CRASH:
(custom-set-variables
'(enabled-behavior-list '(recent-files mwheel)
))
(custom-set-faces
'(default ((t (:size "8pt" :family "Courier New"))) t))
Oh, by the way, using the Options/Font and Options/Font Size menus, if
you change the font \, then change the size, the font reverts to
Lucida Console, i.e. the default.
--
Matthew O. Persico