Subject: bug#5619: 23.1; Calendar (diary-mark-entries)

From: Glenn Morris <[email-masked]>
Date: Tue, 23 Feb 2010 12:59:03 -0500

Mohamed HIBTI wrote:

> Emacs -Q
> Calendar
> i d     ;;  (M-x diary-insert-entry) returns no diary file
> C-x f ~/diary   ;; to create diary file and create an appointment :  Mar 
> 09, 2010 ....
> m  ;; (diary-mark-entries)
> returns the error 
> diary-mark-entries-1: Wrong type argument: stringp, nil

Sorry, but I cannot reproduce this with emacs-23.1 on GNU/Linux.

i d

does not return "no diary file" for me, but creates an empty file.

If I follow the rest of your instructions, it works fine for me.

What does the following command return for you:

M-x list-load-path-shadows

Also, please try this:

> M-x toggle-debug-on-error
>
> and post the backtrace that you get when the error occurs.

> In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
>  of 2009-07-30 on SOFT-MJASON
> Windowing system distributor `Microsoft Corp.', version 5.1.2600
> configured using `configure --with-gcc (4.4)'

> <escape> x c a l e n d a r <return> s C-x C-f C-g C-x C-f c : /
> <tab> <backspace> <backspace> <backspace> ~ / d i a r <tab> y
> <return> M a r SPC 0 1 , SPC 2 1 0 <left> <left> 0 <right> <right>
> SPC 1 1 : 0 0 - 1 9 : 0 0 SPC T E S T C-x C-s C-x k <return>
[...]
> C-x o m