[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trying to cope with Calendar's dynamic scoping
From: |
Stefan Monnier |
Subject: |
Re: Trying to cope with Calendar's dynamic scoping |
Date: |
Fri, 06 Sep 2013 10:58:45 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
>> But it means we have to keep using dynamic scoping for `date' and
>> `entry', for now.
> Well, it has to be done at some point, doesn't it?
> And can't you have code which works in either version just by using
> (if (boundp 'diary-date) diary-date date)
> ?
Right. My patch does provide diary-date and diary-entry, so code
can/should start doing the above, but we should keep the old code
working a bit longer by also providing the old names via dynamic scoping
(since lexical scoping is not quite sufficient for that).
Stefan