emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: [ANN] Exporter for taskjuggler


From: Leo
Subject: [Orgmode] Re: [ANN] Exporter for taskjuggler
Date: Tue, 08 Jun 2010 17:59:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (Mac OS X 10.6.3)

On 2010-06-08 14:30 +0100, Christian Egli wrote:
>> In org-taskjuggler-close-maybe:
>> org-taskjuggler.el:633:13:Warning: reference to free variable `old-
>> level'
>> org-taskjuggler.el:635:25:Warning: assignment to free variable `old-
>> level'
>
> I just pushed a patch to the taskjuggler-export branch that should fix
> this.

I suppose old-level is a let-bound dynamic variable. I have found code
giving a seemingly global variable name to such variables confusing at
times. Would be better just make it global or insert a form at the
beginning of the body of those functions like this:

(declare (special dynvar1 dynvar2 ...))

I usually use the latter approach.

Cheers.

Leo

-- 
CCL-USER> (if you fail to plan (plan to fail))




reply via email to

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