Emacs CEDET Semantic tag folding
问题 I would like that every time I open a .cpp file, semantic tag-folding would become activated. I am using the latest version of cedet (loading cedet-devel-load.el). I have (semantic-mode 1) (require 'semantic/ia) (require 'semantic/bovine/gcc) (load-file "path/to/semantic/tag/folding/semantic-tag-folding.el") (require 'semantic-tag-folding) I added a hook (add-hook 'c-mode-common-hook 'setupcpp) and in 'setupcpp I simply have (defun setupcpp () (interactive) (semantic-tag-folding-mode t))