From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: [PATCH] Make lexical eval default for elisp src blocks Date: Wed, 20 Apr 2016 08:34:55 -0400 Message-ID: References: <1461002134-49405-1-git-send-email-jkitchin@andrew.cmu.edu> <87twiwbskt.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asrLS-00076V-UR for emacs-orgmode@gnu.org; Wed, 20 Apr 2016 08:35:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1asrLO-0007YJ-Qg for emacs-orgmode@gnu.org; Wed, 20 Apr 2016 08:35:02 -0400 Received: from mail-qg0-x229.google.com ([2607:f8b0:400d:c04::229]:32887) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asrLO-0007YB-Jo for emacs-orgmode@gnu.org; Wed, 20 Apr 2016 08:34:58 -0400 Received: by mail-qg0-x229.google.com with SMTP id v14so27254158qge.0 for ; Wed, 20 Apr 2016 05:34:57 -0700 (PDT) In-reply-to: <87twiwbskt.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@gnu.org I think it would be fine to make :lexical "no" be the default, since that should preserve what we are used to. Users can alway set a different default of their own, or make it "yes" when they know it is needed. Nicolas Goaziou writes: > Hello, > > John Kitchin writes: > >> Set default in `org-babel-default-header-args:emacs-lisp'. Add an >> optional argument to the eval function. > > Applied. Thank you. > > However, it seems that some tests are now failing. I guess this is > related to Babel calls, which are eval'ed as emacs-lisp source blocks. > > I have planned to change how Babel calls are evaluated during the next > days. This may make the failures disappear. Meanwhile, we could > force :lexical "no" in that case. > > WDYT? > > > 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