>>>>> In <[EMAIL PROTECTED]> >>>>> [EMAIL PROTECTED] wrote:
> If you have both html-helper-mode and develock-el, and attempt to edit > a HTML file in xemacs, xemacs will fail with the error: > > Wrong type argument: consp, nil > > I'm not quite sure what is going wrong, but until it gets resolved, > these packages should probably conflict with each other. If you use html-helper-mode package together with html-font.el[1], what I discovered seems to be the cause of your problem. Namely the `html-font-setup' function defined in html-font.el does not set `font-lock-defaults' with `html-helper-font-lock-keywords'. Because of this, I believe html-font.el has never worked with XEmacs no matter whether Develock is used. Without Develock it does not cause an error but simply does not work. (Though I don't recall what version of html-font.el I used when I tested Develock first. It might have been something another.) [1] http://www.nbi.dk/TOOLS/emacs/lisp/html-font.el The patch is below. Tested with XEmacs 21.4.21 and 21.5-b28: --- html-font.el~ 1995-09-19 15:13:14 +0000 +++ html-font.el 2008-08-01 06:54:27 +0000 @@ -173,6 +173,8 @@ ;; font-lock setup for various emacsen: XEmacs, Emacs 19.29+, Emacs <19.29. ;; By Ulrik Dickow <[EMAIL PROTECTED]>. (Last update: 05-Sep-1995). (cond ((string-match "XEmacs\\|Lucid" (emacs-version)) ; XEmacs/Lucid + (put major-mode 'font-lock-defaults + '(html-helper-font-lock-keywords t t)) (put major-mode 'font-lock-keywords-case-fold-search t)) ;; XEmacs (19.13, at least) guesses the rest correctly. ;; If any older XEmacsen don't, then tell me. -- OHASHI Akira [EMAIL PROTECTED] [EMAIL PROTECTED] Share what you know. Learn what you don't. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]