calling semantic-speedbar-analysis is moving point.
Open a semantic enabled file.
Start speedbar and switch to analyzer mode
start a completion
M-x semantic-speedbar-analysis
point will get moved (it looks like it's moved to the last completion
option) which then messes up the local context for the analyze.
(defun semantic-speedbar-analysis ()
"Start Speedbar in semantic analysis mode.
The analyzer displays information about the current context, plus a smart
list of possible completions."
(interactive)
;; Make sure that speedbar is active
(speedbar-frame-mode 1)
;; Now, throw us into RPM mode on speedbar.
(speedbar-change-initial-expansion-list "Analyze")
)
It looks like (speedbar-frame-mode 1) is moving point, which then causes
speedbar-change-initial-expansion-list to have the wrong context for the
analysis.
--
DS
|