Byrel Mitchell <byrel.mitchell(a)gmail.com> writes:
Eric,
I understand if you want to use another editor, but I glanced at your bug
report and it seems that the only error is because the python-mode menu
specifies:help tags in their menu. (I assume this is an FSFmacs tag that
gives you tooltips; not sure.)
Yup. AUCTeX contains the following blurb that will deal with this. I
don't quite remember what "also does other stuff" was.
(eval-and-compile
(if (featurep 'xemacs)
(defun TeX-maybe-remove-help (menu)
"Removes :help entries from menus, since XEmacs does not like them.
Also does other stuff."
(cond ((consp menu)
(cond ((eq (car menu) :help)
(TeX-maybe-remove-help (cddr menu)))
((eq (car menu) :visible)
(cons :included
(cons (cadr menu)
(TeX-maybe-remove-help (cddr menu)))))
(t (cons (TeX-maybe-remove-help (car menu))
(TeX-maybe-remove-help (cdr menu))))))
((vectorp menu)
(vconcat (TeX-maybe-remove-help (append menu nil))))
(t menu)))
(defun TeX-maybe-remove-help (menu)
"Compatibility function that would remove :help entries if on XEmacs,
but does nothing in Emacs."
menu))
(defmacro TeX-menu-with-help (menu)
"Compatibility macro that removes :help entries if on XEmacs.
Also does other stuff."
(TeX-maybe-remove-help menu)))
--
David Kastrup
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta