>>>>> Bastien Guerry <[email protected]> writes:
> Colin Baxter <[email protected]> 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?
Ah, that could be a problem, Bastien, because it's unpredictable. I
remember that it seemed to occur when I opened and closed the agenda and
calendar several times over, together with deletions of the corresponding
buffers. Having said that, I have not seen the issue for some time. When
it next occurs I'll trace back what I was doing and try to get a recipe.
Best Wishes,
Colin.