emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] setq instead of custom-set-variables


From: TC
Subject: [emacs-wiki-discuss] setq instead of custom-set-variables
Date: Tue, 09 Nov 2004 22:47:47 -0600

At the moment, in my .emacs I have some stuff like the following:

(custom-set-variables
  ;; custom-set-variables was added by Custom -- don't edit or cut/paste
it!
  ;; Your init file should contain only one such instance.
 '(emacs-wiki-journal-default-category "CategoryPersonal")
 '(emacs-wiki-journal-project "BlogWiki")
 '(emacs-wiki-journal-publishing-directory "~/public_html/blogwiki")

and so on.

But, I'd rather move it out of .emacs, into a separate
emacs-wiki-init.el file, and switch from using customize to simply
direct control of the variables in question - a la:

(setq emacs-wiki-journal-default-category     "CategoryPersonal")
(setq emacs-wiki-journal-project              "BlogWiki")
(setq emacs-wiki-journal-publishing-directory "~/public_html/blogwiki")

and so on.

The only problem is, the second approach doesn't work. With the first
mechanism, I can see BlogWiki as a separate wiki project, and editing in
the appropriate directory triggers emacswiki mode.  With the second
approach, BlogWiki doesn't appear in the projects list, and editing any
files within the appropriate directory just sees the files being left in
fundamental mode.

What am I doing wrong?

tc






reply via email to

[Prev in Thread] Current Thread [Next in Thread]