Subject: Re: bug#14586: 23.3; void-variable calendar-view-diary-initially-flag
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Sun, 09 Jun 2013 13:55:07 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 24.1

Mike Kupfer wrote:

> 1. visit an org-mode file.
> 2. insert a date (C-c ! RET)
> 3. M-x calendar RET
>
> This gives me (from *Messages*):
>
> calendar: Symbol's value as variable is void: calendar-view-diary-initially-flag
[...]
> This is with the stock Emacs that comes with Ubuntu 12.04.
>
> In GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10)

Thanks for the report. This was fixed in Emacs 24.1.
Please upgrade (latest is 24.3) and/or encourage your distribution to do so.
You can work around the problem by simply using (require 'calendar)
before using Org.