Colin Baxter <m43...@yandex.com> writes: > I sometimes get the same error as the OP. The solution for me is always > to open org-agenda first, before the calendar. My settings are: > > (setq diary-file "~/.emacs.d/diary/main") > org-agenda-diary-file set to diary-file
Thanks - that's weird. With the default value of `org-agenda-diary-file' (i.e. 'diary-file) and a custom 'diary-file that is not an .org file, you have the same error than the OP when doing M-x calendar RET i d ? I cannot reproduce this - can you provide the minimal steps to reproduce this error? -- Bastien