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. 2.M-x imenu Optional: Look at speedbar or ECB Methods buffer for this file. Actual Results: One item with "\section" in front of the name, the others with no "\section". Expected Results: 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