From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Question about org-mode compilation Date: Sun, 11 Sep 2011 07:52:16 +0200 Message-ID: <87y5xv4odr.wl%dmaus@ictsoc.de> References: <4E6B999D.6030708@sift.info> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Sun_Sep_11_07:52:16_2011-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2cxw-0007cr-Tc for emacs-orgmode@gnu.org; Sun, 11 Sep 2011 01:52:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R2cxv-0005ZK-2K for emacs-orgmode@gnu.org; Sun, 11 Sep 2011 01:52:28 -0400 Received: from app1b.xlhost.de ([213.202.242.162]:53467) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2cxu-0005Yv-Ri for emacs-orgmode@gnu.org; Sun, 11 Sep 2011 01:52:27 -0400 In-Reply-To: <4E6B999D.6030708@sift.info> 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: rpgoldman@sift.info Cc: Org Mode --pgp-sign-Multipart_Sun_Sep_11_07:52:16_2011-1 Content-Type: text/plain; charset=US-ASCII 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 --pgp-sign-Multipart_Sun_Sep_11_07:52:16_2011-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAk5sTJAACgkQma24O1pEeObR9AD8Cn+shV/+N0PPC3QiheSXEg0+ TDQBLX2Se59vNjIZbsAA/iDTMhjkH/MmkUA+6unKvKMGB20udBQqaofencNHugyJ =kp4B -----END PGP SIGNATURE----- --pgp-sign-Multipart_Sun_Sep_11_07:52:16_2011-1--