emacscedet

semantic-tag-folding mode in CEDET


I want to fold the code, and I know the CEDET could help me do this. But the semantic-tag-folding mode is not a part of the CEDET shipped with Emacs 24.3.1. So what should I do ?


Solution

  • I install it from here http://cedet.sourceforge.net/git-repo.shtml and add such lines to .emacs:

    (setq cedet-root-path (file-name-as-directory "~/projects/cedet/"))
    (load-file (concat cedet-root-path "cedet-devel-load.el"))
    (add-to-list 'load-path (concat cedet-root-path "contrib"))
    (add-to-list 'Info-directory-list "~/projects/cedet/doc/info")
    

    and my emacs stop using cedet that part of it. Note this is only switch external cedet, to proper configure need you need more elisp code, but this is not related to question.