From: David Maus <maus.david@gmail.com>
To: nicholas.dokos@hp.com
Cc: maus.david@gmail.com, ASSI <Stromeko@nexgo.de>,
emacs-orgmode@gnu.org,
"info@bastianebeling.org" <info@bastianebeling.org>
Subject: Re: org-mobile-push problem
Date: Thu, 03 Nov 2011 06:26:47 +0100 [thread overview]
Message-ID: <87y5vxkc88.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <6633.1320276532@alphaville.americas.hpqcorp.net>
[-- Attachment #1: Type: text/plain, Size: 1677 bytes --]
At Wed, 02 Nov 2011 19:28:52 -0400,
Nick Dokos wrote:
>
> info@bastianebeling.org <info@bastianebeling.org> wrote:
>
> > > Hi All,
> > >
> > > I'm trying to set up MobileOrg to try it out, but I'm getting the
> > > following error when I run org-mobile-push:
> > >
> > > byte-code: Invalid function: org-eval-in-environment
> >
> >
> > Hi,
> >
> > I have the same problem and get the same error message. My only fix is
> > to hit C-u C-c C-x r (reload Org uncompiled) before running
> > org-mobile-push. I would be very interested in ideas for a real
> > solution, too.
> >
>
> 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
>
> (require 'org-macs)
>
> after you load org in your .emacs (or wherever).
>
> 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.
In the past the invalid function error indicated an unclean source
tree, thus a
make clean && make
should fix the error.
A (require 'org-macs) should not be necessary because if the macro
would not have been availabe in `org-agenda' the compiler would have
complained.
Best,
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de
[-- Attachment #2: Type: application/pgp-signature, Size: 230 bytes --]
next prev parent reply other threads:[~2011-11-03 5:26 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-02 16:16 org-mobile-push problem Nicholas Putnam
2011-11-02 16:29 ` info
2011-11-02 23:28 ` Nick Dokos
2011-11-03 0:09 ` info
2011-11-03 0:36 ` Nick Dokos
2011-11-03 10:05 ` info
2011-11-03 11:03 ` Jambunathan K
2011-11-03 5:26 ` David Maus [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-11-03 11:43 info
2011-11-03 12:15 ` Jambunathan K
2011-11-05 22:02 ` info
2011-11-06 21:01 ` Jambunathan K
2011-11-06 21:24 ` info
2011-11-06 21:35 ` Jambunathan K
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y5vxkc88.wl%dmaus@ictsoc.de \
--to=maus.david@gmail.com \
--cc=Stromeko@nexgo.de \
--cc=emacs-orgmode@gnu.org \
--cc=info@bastianebeling.org \
--cc=nicholas.dokos@hp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.