unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Glenn Morris <rgm+news@stanford.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: diary file variables are ignored in emacs and in calendar.el
Date: Sun, 22 Apr 2007 18:33:21 -0700	[thread overview]
Message-ID: <0u4pn7nace.fsf@xoc2.stanford.EDU> (raw)
In-Reply-To: mailman.2379.1177280206.7795.help-gnu-emacs@gnu.org

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	other threads:[~2007-04-23  1:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2379.1177280206.7795.help-gnu-emacs@gnu.org>
2007-04-23  1:33 ` Glenn Morris [this message]
2007-04-23 19:25   ` diary file variables are ignored in emacs and in calendar.el ken
2007-04-23 19:28   ` ken
     [not found]   ` <mailman.2417.1177356658.7795.help-gnu-emacs@gnu.org>
2007-04-23 22:23     ` Glenn Morris
2007-04-24  5:55       ` ken
2007-04-25  1:42         ` ken
     [not found]       ` <mailman.2428.1177394472.7795.help-gnu-emacs@gnu.org>
2007-04-27 14:27         ` Johan Bockgård
2007-04-22 22:11 ken

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0u4pn7nace.fsf@xoc2.stanford.EDU \
    --to=rgm+news@stanford.edu \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).