emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* AquaEmacs launch error Symbol's value as variable is void: org-agenda-mode-map
@ 2008-08-08 19:19 Graham Smith
  2008-09-03  9:36 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Graham Smith @ 2008-08-08 19:19 UTC (permalink / raw)
  To: emacs-orgmode


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

I hav just upgraded to org-mode 6.06b with Aquaemacs 1.4.

I did this by copying the new files into my existing orgmode directory where
the prefeences.el file points.

But launching emacs gives the following error:

"An error has occurred while loading `~/Library/Preferences/Aquamacs
Emacs/Preferences.el (or .elc)':

Symbol's value as variable is void: org-agenda-mode-map"

Can any one suggest where the problem might be?

Thanks,

Graham

[-- Attachment #1.2: Type: text/html, Size: 537 bytes --]

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

_______________________________________________
Emacs-orgmode mailing list
Remember: 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] 2+ messages in thread

* Re: AquaEmacs launch error Symbol's value as variable is void: org-agenda-mode-map
  2008-08-08 19:19 AquaEmacs launch error Symbol's value as variable is void: org-agenda-mode-map Graham Smith
@ 2008-09-03  9:36 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2008-09-03  9:36 UTC (permalink / raw)
  To: Graham Smith; +Cc: emacs-orgmode


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

Hi Graham,

this means that your Preferences.el file tries to modify the org- 
agenda-mode-map before org-agenda.el was loaded.  The best fix is to  
do your key assignments in org-agenda-mode-hook, i.e.

(add-hook 'org-agenda-mode-hook
    (lambda ()
      (define-key org-agenda-mode-map ......)))

HTH

- Carsten

On Aug 8, 2008, at 9:19 PM, Graham Smith wrote:

> I hav just upgraded to org-mode 6.06b with Aquaemacs 1.4.
>
> I did this by copying the new files into my existing orgmode  
> directory where the prefeences.el file points.
>
> But launching emacs gives the following error:
>
> "An error has occurred while loading `~/Library/Preferences/Aquamacs  
> Emacs/Preferences.el (or .elc)':
>
> Symbol's value as variable is void: org-agenda-mode-map"
>
> Can any one suggest where the problem might be?
>
> Thanks,
>
> Graham
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[-- Attachment #1.2: Type: text/html, Size: 1522 bytes --]

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

_______________________________________________
Emacs-orgmode mailing list
Remember: 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] 2+ messages in thread

end of thread, other threads:[~2008-09-03  9:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-08 19:19 AquaEmacs launch error Symbol's value as variable is void: org-agenda-mode-map Graham Smith
2008-09-03  9:36 ` Carsten Dominik

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