From mboxrd@z Thu Jan 1 00:00:00 1970 From: "info@bastianebeling.org" Subject: Re: org-mobile-push problem Date: Thu, 3 Nov 2011 01:09:08 +0100 Message-ID: <28A83D1E-AEBD-4A45-9AB1-E3E288CFE682@bastianebeling.org> References: <6633.1320276532@alphaville.americas.hpqcorp.net> Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:38340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLkrt-0003UW-FO for emacs-orgmode@gnu.org; Wed, 02 Nov 2011 20:09:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RLkrs-0000d9-9a for emacs-orgmode@gnu.org; Wed, 02 Nov 2011 20:09:17 -0400 Received: from emailserver1.namecheaphosting.com ([65.98.58.42]:54618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLkrs-0000cv-73 for emacs-orgmode@gnu.org; Wed, 02 Nov 2011 20:09:16 -0400 In-Reply-To: <6633.1320276532@alphaville.americas.hpqcorp.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Dokos , emacs-orgmode@gnu.org Am 03.11.2011 um 00:28 schrieb Nick Dokos: > info@bastianebeling.org wrote: >=20 >>> when I run org-mobile-push: >>>=20 >>> byte-code: Invalid function: org-eval-in-environment >>=20 > org-eval-in-environment is a macro defined in org-macs.el and macros > sometimes cause problems with compiled code unless some care is taken. > With uncompiled code, you just have to make sure that the macro > definition is loaded, before you do the org-mobile-push: just add >=20 > (require 'org-macs) >=20 > after you load org in your .emacs (or wherever). >=20 > Afaict, it is not called directly from org-mobile-push, but the agenda > code does call it (and does not require it), so maybe the solution is > that the (require 'org-macs) should be added to org-agenda.el; you = might > try it and see whether it resolves the problem for you, but I'll let > David Maus or Achim Gratz or some other macro guru have the final = word. >=20 > Nick Thank you! Unfortunately, adding (require 'org-macs) to my .emacs and/or = to my org-agenda.el didn't help. (I checked and the macro isn't defined = in my org-macs.el nor does it appear in any other file on my computer.) Bastian