emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [ANN] Exporter for taskjuggler
Date: Tue, 08 Jun 2010 17:59:09 +0100	[thread overview]
Message-ID: <m17hm9pijm.fsf@cam.ac.uk> (raw)
In-Reply-To: 87wru9slcj.fsf@saadawi.sbszh.ch

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))

  parent reply	other threads:[~2010-06-08 16:59 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-30  8:59 [ANN] Exporter for taskjuggler Christian Egli
2010-04-06 10:09 ` Carsten Dominik
2010-04-06 11:15   ` Christian Egli
2010-04-06 15:05     ` T Helms
2010-04-06 15:49       ` Christian Egli
2010-06-08 15:24       ` Christian Egli
2010-04-06 16:25     ` Carsten Dominik
2010-04-12 19:24     ` Eric S Fraga
2010-04-16 20:39 ` Dan Davison
2010-04-19 10:05   ` Christian Egli
2010-04-19 13:34     ` Dan Davison
2010-04-19 14:01     ` John Hendy
2010-04-20  8:09       ` Christian Egli
2010-05-11  3:37         ` Manish
2010-06-08  9:21           ` Christian Egli
2010-06-08 10:07             ` Carsten Dominik
2010-06-08 13:30               ` Christian Egli
2010-06-08 14:03                 ` Christian Egli
2010-06-08 16:05                   ` Carsten Dominik
2010-06-08 16:59                 ` Leo [this message]
2010-06-09 19:55             ` Manish

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m17hm9pijm.fsf@cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).