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 11:05:13 +0100 Message-ID: <81CDB125-0A56-4E14-AB62-4A27A8172C92@bastianebeling.org> References: <6633.1320276532@alphaville.americas.hpqcorp.net> <28A83D1E-AEBD-4A45-9AB1-E3E288CFE682@bastianebeling.org> <8628.1320280611@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]:50830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLuAj-0003Gv-Dx for emacs-orgmode@gnu.org; Thu, 03 Nov 2011 06:05:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RLuAh-00014Y-QF for emacs-orgmode@gnu.org; Thu, 03 Nov 2011 06:05:21 -0400 Received: from emailserver1.namecheaphosting.com ([65.98.58.42]:41771) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLuAh-00014R-N4 for emacs-orgmode@gnu.org; Thu, 03 Nov 2011 06:05:19 -0400 In-Reply-To: <8628.1320280611@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: emacs-orgmode@gnu.org Cc: maus.david@gmail.com, Nick Dokos , Nicholas Putnam Am 03.11.2011 um 01:36 schrieb Nick Dokos: > info@bastianebeling.org wrote: >=20 >>=20 >> Am 03.11.2011 um 00:28 schrieb Nick Dokos: >>=20 >>> 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 >>=20 >> 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.) >>=20 >=20 > What does M-x org-version RET say? It says "Org-mode version 7.7". However, I feel that there was something = strange with my installation. I checked my files in my Emacs folder and = everything seemed really messed up, so I just reinstalled org from the = latest build and now it works! I had tried that before automatically = with the package manager but now I used the package manager to install = it from the file. I think that is where the strange installation came = from originally.=20 Nik, I hope you get it fixed as well.=20 Nick and David, thanks for your help! Bastian