Bug 5960

Summary: misbehaviour of "methods buffer" (speedbar) on multiline LaTeX section titles
Product: Sisyphus Reporter: Ivan Zakharyaschev <imz>
Component: emacs-ecbAssignee: Evgenii Terechkov <evg>
Status: CLOSED WONTFIX QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: cas, eugvv, mike, msp, sbolshakov, viy
Version: unstable   
Hardware: all   
OS: Linux   
Attachments:
Description Flags
a LaTeX file with multiline section titles none

Description Ivan Zakharyaschev 2005-01-26 11:39:03 MSK
A sample LaTeX file will be attached. It contains \section{...} with several
lines between {}. Problem arises when I try to browse through this file using
ECB's Methods buffer: the multiline entry breaks the correct correspondence
between all the following Methods buffer items and real text items. (Several are
skipped -- according to the number of extra lines in the title.)

At the same time, plain speedbar (not within ECB) does better: it doesn't break
the correspondence, although there seem to be some problems with the multiline
entry (only with it).

emacs-ecb-2.27-alt1
emacs-cedet-1.0-alt0.7.beta3b

Steps to Reproduce:
1. Open the attacahed file in Emacs with ECB setup to process LaTeX files in
Methods buffer
2. Press on the items in the Methods buffer: from One to Five.

Actual Results:  
The correspondence Methods - real text positions:

One - One
...
one more - Four
Three - Five


Expected Results:  
One - One
...
Five - Five
Comment 1 Ivan Zakharyaschev 2005-01-26 11:40:58 MSK
Created attachment 705 [details]
a LaTeX file with multiline section titles

used to demonstrate the problem
Comment 2 Ivan Fedorov 2005-06-18 09:07:28 MSD
К сожалению в последней версии ecb ничем не лучше... я же в lisp лезть не хочу,
так что придется ждать дальше.
Comment 3 Michael Shigorin 2013-08-15 17:23:27 MSK
А в распоследней? :)
Comment 4 Sergey Bolshakov 2023-03-13 12:14:50 MSK
пакет нас покинул в 2019м году