Bug 5962 - imenu doesn't strip "\section" for LaTeX section with long titles
: imenu doesn't strip "\section" for LaTeX section with long titles
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/emacs21-common)
: unstable
: all Linux
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2005-01-26 11:48 by
Modified: 2006-04-14 13:39 (History)


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


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2005-01-26 11:48:11
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 From 2005-01-26 11:49:18 -------
Created an attachment (id=706) [details]
LaTeX file containg a long section title

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