Normally, in a display of LaTeX docuemnt structute we do not see keywords like
"\section", only the titles (in imenu, speedbar using imenu, ECB Methods buffer).
But when a title is too long, the keywords are not sripped by imenu for some reason.
Steps to Reproduce:
1.Visit the attached LaTeX file.
Look at speedbar or ECB Methods buffer for this file.
One item with "\section" in front of the name, the others with no "\section".
All items are given names consisting only of titles, with no \section-like
keywords in them.
Created attachment 706 [details]
LaTeX file containg a long section title
used to demonstrate the bug.
Этот баг не воспроизводится с emacs21-21.4