From: David Maus <dmaus@ictsoc.de>
To: rpgoldman@sift.info
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Question about org-mode compilation
Date: Sun, 11 Sep 2011 07:52:16 +0200 [thread overview]
Message-ID: <87y5xv4odr.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <4E6B999D.6030708@sift.info>
[-- Attachment #1: Type: text/plain, Size: 1170 bytes --]
At Sat, 10 Sep 2011 12:08:45 -0500,
Robert Goldman wrote:
>
> Today I was trying to push to mobile org after an update from git, and
> got an invalid function error on org-eval-in-environment.
>
> This macro is defined in org-macs.el and is used in org-agenda.el.
>
> I note that the makefile has org-agenda depending on org.el, but /not/
> on org-macs.el.
>
> Is that an error?
>
> Adding that dependency, then making clean and making all fixes things.
> But I may not have properly cleaned before my last build, so I'm not sure.
Hi Robert,
I checked and don't think the missing dependency in Makefile was cause
of the problem. When org-agenda.el is compiled it requires org.el
which in turn requires org-macs.el -- thus the macro definition is
loaded. Otherwise the compiler would stop.
An invalid function error with a macro is according to my experience
an indicator of mixing up of old and new files. Thus, the make clean
was the action that fixed the issue.
I byte compiled Org and ran a batch-agenda (which uses
org-eval-in-environment) with no error.
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-09-11 5:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-10 17:08 Question about org-mode compilation Robert Goldman
2011-09-11 5:52 ` David Maus [this message]
2011-09-11 17:59 ` Robert Goldman
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=87y5xv4odr.wl%dmaus@ictsoc.de \
--to=dmaus@ictsoc.de \
--cc=emacs-orgmode@gnu.org \
--cc=rpgoldman@sift.info \
/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.