From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Scheduling calling debugger Date: Tue, 19 Jul 2011 20:44:20 +0200 Message-ID: <87y5zuyut7.wl%dmaus@ictsoc.de> References: <20110719132210.7256db1a@kuru.homelinux.net> <871uxm17jo.wl%dmaus@ictsoc.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Tue_Jul_19_20:44:20_2011-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:46659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjFHS-0002Z4-3R for emacs-orgmode@gnu.org; Tue, 19 Jul 2011 14:44:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QjFHN-0004hk-F9 for emacs-orgmode@gnu.org; Tue, 19 Jul 2011 14:44:29 -0400 Received: from app1b.xlhost.de ([213.202.242.162]:36063) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjFHM-0004hW-T3 for emacs-orgmode@gnu.org; Tue, 19 Jul 2011 14:44:25 -0400 In-Reply-To: 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: suvayu ali Cc: David Maus , Org mode mailing list --pgp-sign-Multipart_Tue_Jul_19_20:44:20_2011-1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable At Tue, 19 Jul 2011 20:23:40 +0200, suvayu ali wrote: >=20 > Hi David and Memnon, >=20 > Thank you for looking at this. >=20 > On Tue, Jul 19, 2011 at 7:53 PM, David Maus wrote: > >> Debugger entered--Lisp error: (invalid-function org-loop-over-siblings= -in-active-region) > >> =C2=A0 org-loop-over-siblings-in-active-region("Scheduled to <2011-07-= 21 Thu>") > >> =C2=A0 org-schedule(nil) > >> =C2=A0 call-interactively(org-schedule nil nil) > > > > This looks like a macro problem. Could you try > > > > make clean > > make > > > > and see if the problem still persists? > > >=20 > That solved it! Just for the sake of understanding, what was most > likely the issue here and what is a "macro problem"? My diagnosis went like this: (invalid-function org-loop-over-siblings-in-active-region) ^^^ Invalid function means that Emacs was not able to get a callable function for the symbol named 'org-loop-over-siblings-in-active-region` It tried to look up one, but failed[1].=20 'org-loop-over-siblings-in-active-region' is a macro (hence "macro problem"). A macro is a Lisp structure that expands into Lisp code if you compile (or run) a Lisp application.[2] I suppose what happened was, that Emacs knew that loop-over-siblings is a macro but got confused with the new .el and the old .elc files and couldn't look up what the macro should expand into. Thus the invalid function error. The old .elc files were the issue. Best, -- David [1] See Emacs Elisp manual, http://www.gnu.org/s/emacs/manual/html_node/elisp/Function-Indirection.html [2] http://www.gigamonkeys.com/book/macros-defining-your-own.html --=20 OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Tue_Jul_19_20:44:20_2011-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAk4l0IQACgkQma24O1pEeOZQHAD/UzZYHuNRwCvPYQFwyeFgH3iD RkR9Jkd7628rwEErlToA/1Igrr38yWH2l7x/XbuegxBQUTRpkwsl7D4mGQi51FaC =ZEFi -----END PGP SIGNATURE----- --pgp-sign-Multipart_Tue_Jul_19_20:44:20_2011-1--