From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: funny emacs-lisp macro behavior in org-babel related to lexical-binding Date: Sat, 16 Apr 2016 18:52:35 +0200 Message-ID: <87oa99ebsc.fsf@nicolasgoaziou.fr> References: <87wpnysikp.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arTQQ-0005F9-6b for emacs-orgmode@gnu.org; Sat, 16 Apr 2016 12:50:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arTQP-0002IX-9L for emacs-orgmode@gnu.org; Sat, 16 Apr 2016 12:50:26 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:56261) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arTQP-0002IQ-3U for emacs-orgmode@gnu.org; Sat, 16 Apr 2016 12:50:25 -0400 In-Reply-To: (John Kitchin's message of "Sat, 16 Apr 2016 09:41:45 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: John Kitchin Cc: emacs-orgmode John Kitchin writes: > That sounds fine to me. Would you then use > > :lexical nil Sure. However, Babel uses "yes" and "no" as booleans so we also need to support these. nil and t are fine too, obviously. You would need to define a new defconst `org-babel-header-args:emacs-lisp' to specify allowed values for :lexical. Also, this should probably be documented somewehere. Regards,