[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [BUG] Dynamic scoping of project-plist in preparation-function
From: |
Arun Isaac |
Subject: |
Re: [O] [BUG] Dynamic scoping of project-plist in preparation-function |
Date: |
Wed, 22 Jun 2016 11:37:40 +0530 |
User-agent: |
mu4e 0.9.17; emacs 24.5.1 |
> 2. Require preparation functions to accept one parameter, the project
> plist.
I think adding project-plist as a parameter to preparation functions is
definitely more elegant.
But, I also came across this old thread where it was noted that making
project-plist a proper parameter, instead of it being dynamically scoped
into the preparation function, would break a lot of code.
https://lists.gnu.org/archive/html/emacs-orgmode/2010-03/msg00016.html
But now, with org moving to lexical binding, I think it is time to make
project-plist a proper parameter, despite the costs of doing so.
signature.asc
Description: PGP signature