From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: lexical-binding is not set for org src mode Date: Wed, 28 Aug 2013 01:31:39 +0200 Message-ID: <20130827233139.GB2712@kuru.dyndns-at-home.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VESjp-00032U-Pj for emacs-orgmode@gnu.org; Tue, 27 Aug 2013 19:32:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VESjh-0004x8-C2 for emacs-orgmode@gnu.org; Tue, 27 Aug 2013 19:31:53 -0400 Received: from mail-ee0-x233.google.com ([2a00:1450:4013:c00::233]:59303) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VESjh-0004wx-5E for emacs-orgmode@gnu.org; Tue, 27 Aug 2013 19:31:45 -0400 Received: by mail-ee0-f51.google.com with SMTP id c1so2582748eek.10 for ; Tue, 27 Aug 2013 16:31:43 -0700 (PDT) Content-Disposition: inline In-Reply-To: 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Wed, Aug 28, 2013 at 03:53:39AM +0900, Jisang Yoo wrote: > elisp code blocks do not recognize lexical-binding in org src edit > mode. For example, if I press C-c . on the following block, the buffer > does not have lexical-binding set to t. > > #+BEGIN_SRC elisp > ;; -*- lexical-binding: t; -*- > > (message "%S" lexical-binding) > #+END_SRC > I think this is because org-edit-special lets you edit in an indirect buffer. I do not thing property lines are respected in indirect buffers. -- Suvayu Open source is the future. It sets us free.