From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Add ob-sclang.el for sclang Org-mode babel support in contrib/ Date: Sun, 18 Jun 2017 11:31:08 +0200 Message-ID: <87injtd4mb.fsf@nicolasgoaziou.fr> References: <87ink4z27l.fsf@nicolasgoaziou.fr> <87y3suis4y.fsf@nicolasgoaziou.fr> <87wp8dpgsf.fsf@bzg.fr> <87fuey28ch.fsf@bzg.fr> <87bmpmg058.fsf@nicolasgoaziou.fr> <87mv95ofs4.fsf@bzg.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMWY8-0003ag-G2 for emacs-orgmode@gnu.org; Sun, 18 Jun 2017 05:31:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMWY7-0000C6-MG for emacs-orgmode@gnu.org; Sun, 18 Jun 2017 05:31:16 -0400 In-Reply-To: <87mv95ofs4.fsf@bzg.fr> (Bastien Guerry's message of "Sun, 18 Jun 2017 10:34:35 +0200") 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: Bastien Guerry Cc: Org-mode Hello, Bastien Guerry writes: > Still: when it is not used, why adding it? We are not adding it since it is in the file by default; you removed it :) This is an odd question, however. The thing is: how is Emacs-lisp scoping, dynamic or lexical? We ought not consider it to be both throughout the code base (even though one file still uses dynamic scoping) as it is just confusing for developers. Since lexical scoping prevents a whole class of (vicious) bugs, it is the most common type of scoping among modern languages, by large. As of Emacs 24.1, let's just consider Elisp to be lexically scoped. In a nutshell, "-*- lexical-binding:t ; -*-" ought to be a mandatory cookie in every Elisp file. Regards, -- Nicolas Goaziou 0x80A93738