From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: AquaEmacs launch error Symbol's value as variable is void: org-agenda-mode-map Date: Wed, 3 Sep 2008 11:36:55 +0200 Message-ID: <78D017AF-AD34-4E92-9934-6F05C819BCA1@uva.nl> References: <2c75873c0808081219n66465496w999f5c9053a21ad5@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v926) Content-Type: multipart/mixed; boundary="===============0919699648==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KaonR-0005VK-Er for emacs-orgmode@gnu.org; Wed, 03 Sep 2008 05:37:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KaonP-0005Tu-Pe for emacs-orgmode@gnu.org; Wed, 03 Sep 2008 05:37:04 -0400 Received: from [199.232.76.173] (port=56497 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaonP-0005TS-Fm for emacs-orgmode@gnu.org; Wed, 03 Sep 2008 05:37:03 -0400 Received: from ug-out-1314.google.com ([66.249.92.171]:49629) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KaonP-0005gQ-Eb for emacs-orgmode@gnu.org; Wed, 03 Sep 2008 05:37:03 -0400 Received: by ug-out-1314.google.com with SMTP id m2so2428766uge.17 for ; Wed, 03 Sep 2008 02:37:02 -0700 (PDT) In-Reply-To: <2c75873c0808081219n66465496w999f5c9053a21ad5@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Graham Smith Cc: emacs-orgmode@gnu.org --===============0919699648== Content-Type: multipart/alternative; boundary=Apple-Mail-17--538236698 --Apple-Mail-17--538236698 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit 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 --Apple-Mail-17--538236698 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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

= --Apple-Mail-17--538236698-- --===============0919699648== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0919699648==--