Tag Archives: speedbar

Emacs: Set Default Path for speedbar

Emacs: Set Default Path for speedbar

speedbar uses the folder of the file that is associated with the current buffer
as the default path. For example, if I open speedbar when
editing ~/.emacs.d/dotEmacs/init.el , it will display files
under ~/.emacs.d/dotEmacs/ . However, I use dired-jump to achieve a similar
functionality, and for me speedbar is a simple project explorer, so I hope it
could open a certain folder once activated.

Continue reading

Emacs:设置 speedbar 的起始路径

Emacs:设置 speedbar 的起始路径

speedbar 会默认以当前 buffer 对应的文件所在的文件夹为起始路径。如果我在编
~/.emacs.d/dotEmacs/init.el 的时候打开 speedbar,它会显
~/.emacs.d/dotEmacs/ 这个目录下的文件。但我一般用 dired-jump 来实现这个功
能,speedbar 被我当作一个简单的项目文件浏览器,所以我希望它能有一个固定的起始路
径。

Continue reading