* lexical-binding is not set for org src mode
@ 2013-08-27 18:53 Jisang Yoo
2013-08-27 23:31 ` Suvayu Ali
0 siblings, 1 reply; 2+ messages in thread
From: Jisang Yoo @ 2013-08-27 18:53 UTC (permalink / raw)
To: emacs-orgmode
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
Is there a workaround?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: lexical-binding is not set for org src mode
2013-08-27 18:53 lexical-binding is not set for org src mode Jisang Yoo
@ 2013-08-27 23:31 ` Suvayu Ali
0 siblings, 0 replies; 2+ messages in thread
From: Suvayu Ali @ 2013-08-27 23:31 UTC (permalink / raw)
To: emacs-orgmode
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-27 23:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-27 18:53 lexical-binding is not set for org src mode Jisang Yoo
2013-08-27 23:31 ` Suvayu Ali
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).