How do I enable speedbar to display all types of files?

半城伤御伤魂 提交于 2020-01-01 07:39:09

问题


I have emacs v23.1.1 on ubuntu 9.10. i can't seem to make speedbar to display all files, it only displays directories. Does anyone have an idea with this?


回答1:


Ok this might sound kind of basic but, have you right-clicked on the speedbar and checked 'Show all Files'? Otherwise, you should update the speedbar buffer by pressing 'g'.

There should be something like this on your emacs, though this is not usually set up by hand.

(custom-set-variables
 '(speedbar-show-unknown-files t)
)



回答2:


For the sake of keep info updated, in my updated emacs: GNU Emacs 26.1 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.23.2) of 2018-08-13

To get .files continuing be showed, now I have to set

all-types-of-files (custom-set-variables '(speedbar-show-unknown-files t) )

AND

(setq speedbar-directory-unshown-regexp "^\(\.\.*$\)\'")

learned from: https://emacs-devel.gnu.narkive.com/0k8PccN3/speedbar-and-dot-files



来源:https://stackoverflow.com/questions/2220005/how-do-i-enable-speedbar-to-display-all-types-of-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!