Hello Andreas,
I have tested
imenu.el; Sync with FSF 20.4
by
Christoph Wedler <Christoph.Wedler(a)sap-ag.de>
which can be found at
http://www.xemacs.org/list-archives/xemacs-patches/9908/msg00077.html
I would like to suggest that this patch should be applied to
xemacs-packages\libs\xemacs-base\imenu.el
INSTEAD of my earlier patches
http://www.xemacs.org/list-archives/xemacs-patches/9908/msg00054.html
and
http://www.xemacs.org/list-archives/xemacs-patches/9908/msg00064.html
Schöne Grüße,
Adrian