Bug 5962 - imenu doesn't strip "\section" for LaTeX section with long titles
Summary: imenu doesn't strip "\section" for LaTeX section with long titles
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: emacs21-common (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Alex Ott
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-26 11:48 MSK by Ivan Zakharyaschev
Modified: 2006-04-14 13:39 MSD (History)
1 user (show)

See Also:


Attachments
LaTeX file containg a long section title (257 bytes, application/tex)
2005-01-26 11:49 MSK, Ivan Zakharyaschev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2005-01-26 11:48:11 MSK
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.
Comment 1 Ivan Zakharyaschev 2005-01-26 11:49:18 MSK
Created attachment 706 [details]
LaTeX file containg a long section title

used to demonstrate the bug.
Comment 2 Eugene Vlasov 2005-11-11 15:20:27 MSK
Этот баг не воспроизводится с emacs21-21.4