[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Inheriting some local variables from source code block editing buffe
From: |
Göktuğ Kayaalp |
Subject: |
[O] Inheriting some local variables from source code block editing buffers |
Date: |
Sun, 29 Apr 2018 20:19:03 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Hello,
when editing a source block, passing some local variables from the
original buffer into the buffer in which the source code is edited might
be useful. My use case is passing the value of ‘lexical-binding’ when
editing Elisp source code blocks in my literate .emacs so that I don't
mistakenly evaluate code in a non-lexical environment thinking it's the
opposite instead.
I've implemented this with the patch attached to this message, if it's
deemed useful, I can revise it for inclusion upstream (just wanted to
see what you think about the idea with this one).
--
İ. Göktuğ Kayaalp <https://www.gkayaalp.com/>
024C 30DD 597D 142B 49AC
40EB 465C D949 B101 2427
org-src-inherit.patch
Description: the patch
- [O] Inheriting some local variables from source code block editing buffers,
Göktuğ Kayaalp <=