I've been getting some GNU Emacs lisp code to work with XEmacs (gnats.el that
comes with GNATS 4.1) and have come across a number menu features that we
Firstly, our version of easymenu doesn't accept the :help keyword. This
already causes some ugliness in user code, such as this from gnus:
["Rot 13" gnus-summary-caesar-message
,＠(if (featurep 'xemacs) '(t)
'(:help "\"Caesar rotate\" article by 13"))]
Note that I'm asking about accepting and ignoring the keyword, not necessarily
implementing the underlying help system.
Secondly, our compatibility version of x-popup-menu does not support all of
the current GNU Emacs functionality. For example, the following
(x-popup-menu t '("Hello" ("" ("Foo" . "bar"))))
fails for two reasons. Firstly, we don't support 't' at the first argument
(which means the current mouse position) and secondly we don't support strings
as callbacks (which just become the return value of x-popup-menu).
Before I start on developing some patches to improve compatibility I'd like to
know if they'd be accepted in principle. How far should we go in supporting
the GNU Emacs API?
Malcolm Purvis <malcolmp(a)xemacs.org>