semantic + speedbar automatically recenter buffers
Xaver Gerster <[email protected]> Tue, 28 Oct 2014 23:19:10 +0100
| Newsgroups | gmane.emacs.semantic |
|---|---|
| Message-ID | <[email protected]> |
Hi, I have yet another issue with semantic: while editing projects within ECB, I experience a rather annoying automatic recentering of my buffers following almost any ever so slight change of a buffer's content. This makes editing a complete pain. I bisected my init.el down to the culprit, and was amazed to find that it is the simultaneous presence of semantic and speedbar. A minimal version of my init.el which produces this issue is ;; -------- init.el --------------- (setq cedet-root-path (file-name-as-directory "~/temporary/cedet")) (load-file (concat cedet-root-path "cedet-devel-load.el")) (add-to-list 'load-path (concat cedet-root-path "contrib")) (semantic-mode 1) (global-ede-mode t) (setq ede-project-directories t) (require 'ede/proj-prog) while the issue 1st happened to me with speedbar enabled in ECB, this is not needed. Using the preceding init.el, then opening some file from a project, and then just doing M-x speedbar is enough. This leaves me with one emacs pane and one speedbar pane open. Now, when editing files in the emacs pane in that situation, any buffer will automatically recenter while editing. If I disable semantic in the minimal init.el, no recentering occurs. If I do not start a speedbar no recentering occurs. Is there a way to stop this automatic recentering? Xaver PS.: how can I determine if the speedbar I invoke with 'M-x speedbar' is the speedbar shipped with emacs or the one from cedet's repo version? ------------------------------------------------------------------------------