emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Error: byte-code: Symbol's function definition is void: calendar-current-date (org 6.33x, cocoa emacs 23.2.1 OSX)
@ 2010-07-11 22:31 Marcelo de Moraes Serpa
  2010-07-12  5:03 ` Noorul Islam K M
  2010-07-12  5:38 ` David Maus
  0 siblings, 2 replies; 3+ messages in thread
From: Marcelo de Moraes Serpa @ 2010-07-11 22:31 UTC (permalink / raw)
  To: Org Mode

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?

I'm using org v.6.33x and emacs 23.2.1 on OSX (cocoa emacs compiled
from bzr source).

Thanks,

Marfcelo.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Error: byte-code: Symbol's function definition is void: calendar-current-date (org 6.33x, cocoa emacs 23.2.1 OSX)
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Noorul Islam K M @ 2010-07-12  5:03 UTC (permalink / raw)
  To: Marcelo de Moraes Serpa; +Cc: Org Mode

Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:

> 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?

For me C-h calendar-current-date shows the following

calendar-current-date is a compiled Lisp function in `calendar.el'.

I hope you have calendar.el under /path/to/emacs/src/lisp/calendar
folder.

Thanks and Regards
Noorul

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Error: byte-code: Symbol's function definition is void: calendar-current-date (org 6.33x, cocoa emacs 23.2.1 OSX)
  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
  1 sibling, 0 replies; 3+ messages in thread
From: David Maus @ 2010-07-12  5:38 UTC (permalink / raw)
  To: Marcelo de Moraes Serpa; +Cc: Org Mode


[-- 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-07-12  5:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).