emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Scheduling calling debugger


From: David Maus
Subject: Re: [O] Scheduling calling debugger
Date: Tue, 19 Jul 2011 20:44:20 +0200
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

At Tue, 19 Jul 2011 20:23:40 +0200,
suvayu ali wrote:
> 
> Hi David and Memnon,
> 
> Thank you for looking at this.
> 
> On Tue, Jul 19, 2011 at 7:53 PM, David Maus <address@hidden> wrote:
> >> Debugger entered--Lisp error: (invalid-function 
> >> org-loop-over-siblings-in-active-region)
> >>   org-loop-over-siblings-in-active-region("Scheduled to <2011-07-21 Thu>")
> >>   org-schedule(nil)
> >>   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?
> >
> 
> 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]. 

'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

-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... address@hidden
Email..... address@hidden

Attachment: pgprVFEBboE3d.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]