emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: lexical-binding is not set for org src mode
Date: Wed, 28 Aug 2013 01:31:39 +0200	[thread overview]
Message-ID: <20130827233139.GB2712@kuru.dyndns-at-home.com> (raw)
In-Reply-To: <CADtzDwY_-qf5umC=HGBM=aUF_hmeT4a0KjUnHEkXUE0FpfjWTQ@mail.gmail.com>

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.

      reply	other threads:[~2013-08-27 23:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-27 18:53 lexical-binding is not set for org src mode Jisang Yoo
2013-08-27 23:31 ` Suvayu Ali [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130827233139.GB2712@kuru.dyndns-at-home.com \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).