help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: diary file variables are ignored in emacs and in calendar.el


From: Glenn Morris
Subject: Re: diary file variables are ignored in emacs and in calendar.el
Date: Sun, 22 Apr 2007 18:33:21 -0700
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

ken wrote:

> Running "M-x diary", emacs told me it "can't find my diary file
> ~/diary".  Never got that before, even though I've run "diary" many
> times.  In my ~/.emacs it says
>
> (setq diary-file "~/diary.emacs")

Sure your .emacs was loaded, fully, without any errors?

> ;;;###autoload
> ;<ken>changes name from default
> ;(defcustom diary-file "~/diary"
> (defcustom diary-file "~/diary.emacs"

Don't, don't, don't do that kind of thing without a good reason (this
is not a good reason).

> save it, shut emacs down, start it up again with "emacs -q &", do "C-h v
> diary-file" and it returns "~/diary"!!!

Probably because you: a) did not recompile the file; and b) it's
autoloaded. But you don't want to do this anyway.

> version is: 22.0.50.1

A hideously old CVS version.


reply via email to

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