> > Done. See attached imenu.el patch and patched file. > > I was about to install the patch, but it triggers a compilation > warning: > > ELC imenu.elc > > In end of data: > imenu.el:522:25: Warning: the function `increment-symbol-name' is not > known to be defined. > > I guess something is missing from the patch? Ouch! Really sorry for that. Thank goodness for that warning and that you noticed it. The correct files are attached here. Let me know, if see another problem.