Dear Steven, Benson and Byrel -
On Wed, Dec 26, 2012 at 11:50 AM, Benson Mitchell
On Sat, Dec 22, 2012 at 9:12 PM, steven Mitchell
> whenever you put a nil value with a keyword in a menu, add-submenu would
> corrupt the menu structure, so that the next time the menu was accessed,
> it would crash (this is in Xwindows; crash was that XEmacs to just totally
> closed and went away.
> Attached is a patch for menubar.el
Found a slight error; this patch fixes the same logic error (failure
to skip past any key-value pairs when searching for nil or
end-of-list) in two places. We introduced a typographical error in
Thanks for the patch. It applies cleanly to 21.4, but I can't figure
out if it's necessary. Here's my simple test case:
(add-menu-button nil '("Te%_st"
["One" (insert "1") :accelerator ?1 :active t]))
When I run this, my unpatched 21.4 XEmacs seems to be stable - at
least for the short period of time I tested.
Do you have a better test case that exhibits the behavior?
XEmacs-Beta mailing list