The Lumber Room

"Consign them to dust and damp by way of preserving them"

The new GNU Emacs and semantic.cache

with one comment

How can i prevent contaminating each directory with a file semantic-cache?
Set semanticdb-default-save-directory to a directory, by putting the following in your emacs init file (usually .emacs in your home directory):

(setq semanticdb-default-save-directory "~/.semantic")
(replace ~/.semantic with a different directory, if you wish.)


Written by S

Wed, 2006-02-01 at 16:16:00

Posted in compknow

One Response

Subscribe to comments with RSS.

  1. To avoid errors like:
    1. The directory you selected isn’t getting filled with semantic.cache files
    2. Semantic complains on exit (or raises a signal — debug it)
    3. (wrong-type-argument arrayp semanticdb-project-database-file)
    You must make sure that your semanticdb directory ends in a slash! (/).

    Daniel Clemente

    Sun, 2008-11-16 at 20:30:51

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: