From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: funny emacs-lisp macro behavior in org-babel related to lexical-binding Date: Sat, 16 Apr 2016 21:08:30 -0400 Message-ID: References: <87wpnysikp.fsf@nicolasgoaziou.fr> <87oa99ebsc.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arbCV-0004Xe-Dm for emacs-orgmode@gnu.org; Sat, 16 Apr 2016 21:08:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arbCS-0006cZ-75 for emacs-orgmode@gnu.org; Sat, 16 Apr 2016 21:08:35 -0400 Received: from mail-qg0-x22f.google.com ([2607:f8b0:400d:c04::22f]:36395) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arbCS-0006cT-2g for emacs-orgmode@gnu.org; Sat, 16 Apr 2016 21:08:32 -0400 Received: by mail-qg0-x22f.google.com with SMTP id f52so100056243qga.3 for ; Sat, 16 Apr 2016 18:08:31 -0700 (PDT) In-reply-to: <87oa99ebsc.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode I submitted a patch for this. I still am not sure I did it quite right. Is there a page anywhere that outlines what to do? e.g. create a branch, make changes, how to make patches, and mail them etc... or some other preferred method? thanks, Nicolas Goaziou writes: > 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, -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu