emacs speedbar for python mode?

François Pinard pinard at iro.umontreal.ca
Sat Jun 23 11:07:41 EDT 2001


[François Pinard]

> [Boudewijn Rempt]

> > Wonderful! Is there perhaps also a way to automatically
> > open the speedbar?

> I use the following.  Only the last line really matters to you. :-)


> ;;;; `Speedbar' mode.

> (eval-after-load "speedbar"
>   '(push '(background-color . "floral white") speedbar-frame-parameters))

> (when (and window-system
> 	   (load "speedbar" t))
>   (setq speedbar-verbosity-level 0)
>   ;; REVOIR: Le curseur reste dans le speedbar, malgré le save-excursion.
>   (save-excursion
>     (speedbar-frame-mode 1)))

Oops!  I realize that the above implies some familiarity with Emacs setup,
which you do not necessarily have.  Sorry for not having been clear.
The idea is to create a $HOME/.emacs file with the above contents, or if
you already have such a file, maybe append the above lines at the end.

-- 
François Pinard   http://www.iro.umontreal.ca/~pinard




More information about the Python-list mailing list