emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Maus <dmaus@ictsoc.de>
To: Marcelo de Moraes Serpa <celoserpa@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Error: byte-code: Symbol's function definition is void: calendar-current-date (org 6.33x, cocoa emacs 23.2.1 OSX)
Date: Mon, 12 Jul 2010 07:38:15 +0200	[thread overview]
Message-ID: <878w5hi7js.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <AANLkTikbWoRmHnIOY6HYe4rUW894H1Uk5FklIQ-S9_a7@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 851 bytes --]

Marcelo de Moraes Serpa wrote:
>Hey guys,

>I'm going through a small quirck with org. Everytime I start emacs,
>open my gtd.org file and try to schedule an item, it halts with the
>following error:

>byte-code: Symbol's function definition is void: calendar-current-date

>I've found a way to fix it though -- just open the agenda (C-c a). A
>bug perhaps?

Yes.  The problem is, that the calendar library is not loaded at
runtime by org.el but by org-agenda.el.  This was fixed by

,----
| commit 88149c2390ba4f6bac000d0ab7b4089f660a66fa
| Author: Carsten Dominik <carsten.dominik@gmail.com>
| Date:   Sun Apr 18 15:06:16 2010 +0200
|
|     intermediate
`----

A simple workaround would be to just put

(require 'calendar)

In your init file.

HTH,
  -- David

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      parent reply	other threads:[~2010-07-12  5:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-11 22:31 Error: byte-code: Symbol's function definition is void: calendar-current-date (org 6.33x, cocoa emacs 23.2.1 OSX) Marcelo de Moraes Serpa
2010-07-12  5:03 ` Noorul Islam K M
2010-07-12  5:38 ` David Maus [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878w5hi7js.wl%dmaus@ictsoc.de \
    --to=dmaus@ictsoc.de \
    --cc=celoserpa@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).