GNU bug report logs - #21994
cal-html assumes diary-file exists

Previous Next

Package: emacs;

Reported by: jan <rtm443x <at> googlemail.com>

Date: Mon, 23 Nov 2015 16:45:04 UTC

Severity: normal

Fixed in version 25.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #21 received at 21994 <at> debbugs.gnu.org (full text, mbox):

From: jan <rtm443x <at> googlemail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 21994 <at> debbugs.gnu.org
Subject: Re: bug#21994: Possible calendar mode bug
Date: Tue, 8 Dec 2015 15:31:11 +0000
Hi, see below

On 08/12/2015, Glenn Morris <rgm <at> gnu.org> wrote:
>
>>> H y
>
> The point of the cal-html package is to make an html calendar showing
> your diary entries. No-one imagined it would be used without a diary.

I used to use it to dump out a year's worth of months with blank
lines, print them out & stick them on the wall as my calendar (which I
write on). Why? I don't have to turn the computer on to see them, and
paper never crashes.  I suppose this is me <https://xkcd.com/1172/>.

> AFAICS, that's never worked.

It certainly used to. I *could* reproduce this problem in 22 (22.1 I
think) so it may have been 20 or even 19 that worked but I did used to
do this.

> Anyway, I added handling for that case to the emacs-25 branch.
>
>>> M-x diary <RET>
>>>
>>> *messages* says:
>>>
>>> Preparing diary...
>>> diary-list-entries: Wrong type argument: stringp, nil
>
> I can't reproduce any such issue with
>
> rm -rf /tmp/foo
> mkdir /tmp/foo
> HOME=/tmp/foo emacs-24.5

My prior email which you may not have got gave this as running on windows.

>
> My crystal ball says that you set diary-file to nil. Don't do that.
> (Not sure why you would do that then call M-x diary though.)

I didn't. There's no mention of 'diary' in my rather trivial .emacs file.

Running on windows server 2008 R2, from the splash screen: GNU Emacs
24.5.1 (i686-pc-mingw32).

Happy to answer any questions (esp reproducing prob with M-x diary if
that helps)

cheers

jan

>




This bug report was last modified 9 years and 156 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.