Rocking the blogosphere
Apple Online Store

Emacs/CEDET - moving semantic.cache files out of the way

If you’re using the CEDET tools which I recently mentioned, then you might come to be annoyed with the semantic.cache files that start littering all of your directories. Luckily there’s a solution:

(setq semanticdb-default-save-directory “~/tmp/semantic.cache”)

from http://blog.ox.cx/2006/04/25/getting-rid-of-semanticcaches/

Learning GNU Emacs, Third Edition

Del.icio.us Digg Reddit Technorati

Possibly related posts

Comments

  1. Anonymous
    May 1st, 2006 | 2:22 pm

    Thanks

  2. Livin Stephen
    February 4th, 2007 | 9:36 pm

    I found that after making the change you suggest, emacs would not exit
    at all.
    I set the path to “/tmp/semantic.cache”
    it would fail because it would not find the path “/tmp/semantic.cache/!SOME!FILE!I!CREATE.semantic.cache”

    I added this to my .emacs and then emacs would exit cleanly. ‘(semanticdb-persistent-path nil)

Leave a reply

Apple Online Store
Apple Online Store