help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Start-Up Loading of Speedbar


From: Joost Diepenmaat
Subject: Re: Start-Up Loading of Speedbar
Date: Mon, 15 Sep 2008 17:58:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

"J. D. Leach" <jdleach04@sbcglobal.net> writes:

> Try to be easy with me folks, I'm VERY new to Emacs. What I would like
> to do is be able to have the Speedbar load and display when I start
> Emacs, instead of having to select it from the drop-down menu after
> Emacs loads.
>
> I have been very successful in finding answers to nearly all of my
> questions regarding the use, and configuration, of Emacs and it's
> associated programs by browsing the various sources of
> documentation. I have progressed to the point that I've even correctly
> set-up Gnus to read my news (that is how I am sending this
> missive). Unfortunately, this particular config. has got me flummoxed. 

Any code in your .emacs file will get executed at startup. so just put
the following line in there:

;; open a new speedbar frame if there isn't one already
(speedbar-frame-mode 1)

that calls the function named "speedbar-frame-mode" with the argument 1

most of these kinds of extensive "options" are "modes", and modes get
switched on and off by calling functions instead of setting a variable,
for example (iow, this is not like most customization options).

> Any suggestions would be very much appreciated, and thank you in
> advance.

I found the name of the function above by doing
M-x describe-function <ENTER>
speedbar <TAB> <ENTER>

If you're not sure what to look for, you can also try
M-x apropros <ENTER>
speedbar <ENTER>

Also recommended:

http://www.emacswiki.org/cgi-bin/wiki/EmacsNewbie

-- 
Joost Diepenmaat | blog: http://joost.zeekat.nl/ | work: http://zeekat.nl/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]