Subject: bug#14586: closed (Re: bug#14586: 23.3; void-variable calendar-view-diary-initially-flag)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 09 Jun 2013 17:56:02 +0000

Your bug report

#14586: 23.3; void-variable calendar-view-diary-initially-flag

which was filed against the emacs,org-mode package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
14586: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14586
GNU Bug Tracking System
Contact [email-masked] with problems

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.

Subject: 23.3; void-variable calendar-view-diary-initially-flag
From: Mike Kupfer <[email-masked]>
To: [email-masked]
Cc: Mike Kupfer <[email-masked]>
Date: Sat, 08 Jun 2013 22:27:35 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your report will be posted to the [email-masked] mailing list
and the gnu.emacs.bug news group, and at http://debbugs.gnu.org.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug.  If you can, give
a recipe starting from `emacs -Q':

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

If I have debug-on-error enabled, I get

Debugger entered--Lisp error: (void-variable calendar-view-diary-initially-flag)
  calendar-basic-setup(nil)
  calendar(nil)
  call-interactively(calendar t nil)
  execute-extended-command(nil)
  call-interactively(execute-extended-command nil nil)

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)
 of 2012-09-21 on batsu, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11103000
configured using `configure  '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.3/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.3/leim' '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=-D_FORTIFY_SOURCE=2''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: C
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Calendar

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-x C-f t m p / f o o 1 . o r g <return> <tab> <escape> 
> C-c ! s <return> <return> C-x C-s <escape> x c a 
l e n d a r <return> <escape> x r e p o r t - <tab> 
<return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
OVERVIEW
SUBTREE (NO CHILDREN)
Mark set
Saving file /home/kupfer/tmp/foo1.org...
Wrote /home/kupfer/tmp/foo1.org
calendar: Symbol's value as variable is void: calendar-view-diary-initially-flag

Load-path shadows:
/usr/share/emacs/23.3/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs/23.3/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.3/lisp/textmodes/ispell
/usr/share/emacs/23.3/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.3/lisp/textmodes/flyspell

Features:
(shadow sort mail-extr message sendmail ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util
hashcash mail-utils emacsbug mule-util cal-move regexp-opt cal-menu
calendar cal-loaddefs parse-time org-wl org-w3m org-vm org-rmail org-mhe
org-mew org-irc org-jsinfo org-infojs org-html org-exp org-exp-blocks
org-agenda org-info org-gnus org-bibtex org-bbdb org byte-opt warnings
bytecomp byte-compile advice help-fns advice-preload org-footnote
org-src org-list org-faces org-compat org-macs easymenu time-date
noutline outline easy-mmode tooltip ediff-hook vc-hooks lisp-float-type
mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev loaddefs button minibuffer faces cus-face files text-properties
overlay md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs)