Howdy all.
I was using the new(ish) 21.4.18 today, and apparently I haven't edited
any HTML files since I switched to it because it appears to me that this:
http://cvs.xemacs.org/viewcvs.cgi/XEmacs/xemacs/lisp/easymenu.el.diff?r1=...
change to easymenu.el that was included in it breaks the old ("beta"
version 2.19.1.1) html-helper-mode that I use available here:
http://www.santafe.edu/~nelson/hhm-beta/
It gives the following stack trace:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
normalize-menu-item-name(nil)
easy-menu-remove(("HTML" ["Insert Paragraph"
tempo-template-html-paragraph t] ["Insert Hyperlink"
tempo-template-html-hyperlink t] ["Insert Big Header"
tempo-template-html-header-2 t] ["Insert Unordered List"
tempo-template-html-unordered-list t] ["Insert List Item"
html-helper-smart-insert-item t] ["Insert Inlined Image"
tempo-template-html-image-with-alternate-text t] ["Turn on Expert Menu"
html-helper-toggle-expert-menu t] ["Load This Buffer in Browser"
browse-url-of-file t]))
(let ((menu ...)) (easy-menu-remove menu) (easy-menu-define
html-helper-mode-menu-symbol html-helper-mode-map "HTML menus" menu)
(easy-menu-add menu html-helper-mode-map))
html-helper-rebuild-menu()
If I revert to the 21.4.17 version of easymenu.el it loads and runs fine
however.
Anyone have an idea as to why it might be croaking, whether it's a bug
in html-helper-mode (where it needs to catch and ignore the error
perhaps) or something in the easymenu code itself that has been revealed
by the above change?
Thanks,
Chuck
--
Charles K. Hines <chuck.hines(a)baesystems.com>
"When things don't sound evil enough on their own I like to toss in
a BU-WHA-HA-HA-HA". - Catbert (from Dilbert)