[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Inheriting some local variables from source code block editing b
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Inheriting some local variables from source code block editing buffers |
Date: |
Tue, 01 May 2018 16:00:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Göktuğ Kayaalp <address@hidden> writes:
> On 2018-05-01 13:55 +02, Nicolas Goaziou <address@hidden> wrote:
>
>> No, because you can use Noweb syntax wherever you need these local
>> variables set:
>>
>> <<local-variables>>
>
> This seems to only expand when tangling,
When tangling, exporting and evaluating.
> not while editing via C-c '.
Correct.
> What I propose is about setting up the editing buffer (e.g. making
> sure in the org-edit-special lexical-binding is the same as in the
> org-mode buffer so that the results from live evaluation and from when
> tangling and loading the file agree).
Lexical binding is not a good example, because there's already a header
argument to control this:
#+begin_src emacs-lisp :lexical t
...
#+end_src
and you can set header arguments document-wise, or globally.
Other file local variables you could set in an Org buffer do not usually
make sense in programming languages.
I'm Cc'ing Emacs Org mailing list.
- Re: [O] Inheriting some local variables from source code block editing buffers, Nicolas Goaziou, 2018/05/01
- Re: [O] Inheriting some local variables from source code block editing buffers, Nicolas Goaziou, 2018/05/01
- Re: [O] Inheriting some local variables from source code block editing buffers, Göktuğ Kayaalp, 2018/05/01
- Re: [O] Inheriting some local variables from source code block editing buffers, Nicolas Goaziou, 2018/05/01
- Message not available
- Re: [O] Inheriting some local variables from source code block editing buffers,
Nicolas Goaziou <=
- Re: [O] Inheriting some local variables from source code block editing buffers, Aaron Ecay, 2018/05/01
- Message not available
- Re: [O] Inheriting some local variables from source code block editing buffers, Aaron Ecay, 2018/05/01
- Re: [O] Inheriting some local variables from source code block editing buffers, Göktuğ Kayaalp, 2018/05/01
- Re: [O] Inheriting some local variables from source code block editing buffers, Aaron Ecay, 2018/05/01
- Re: [O] Inheriting some local variables from source code block editing buffers, Göktuğ Kayaalp, 2018/05/01
- Re: [O] Inheriting some local variables from source code block editing buffers, Aaron Ecay, 2018/05/01
- Re: [O] Inheriting some local variables from source code block editing buffers, Göktuğ Kayaalp, 2018/05/01
- Re: [O] Inheriting some local variables from source code block editing buffers, Nicolas Goaziou, 2018/05/02
- Re: [O] Inheriting some local variables from source code block editing buffers, Göktuğ Kayaalp, 2018/05/02
Re: [O] Inheriting some local variables from source code block editing buffers, Göktuğ Kayaalp, 2018/05/01