[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: |
Göktuğ Kayaalp |
Subject: |
Re: [O] Inheriting some local variables from source code block editing buffers |
Date: |
Tue, 15 May 2018 21:36:59 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
On 2018-05-14 18:47 +02, Nicolas Goaziou <address@hidden> wrote:
> (org-element-property :header (org-element-at-point)) => (":foo bar")
[...]
>> I can't find any documentation on Org-mode's internal APIs and how
>> different parts fit together, so I'm having to figure things out reading
>> source code.
>
> See <https://orgmode.org/worg/dev/org-element-api.html>.
Thanks, and sorry. I've been mostly ignoring Worg up until now, because
I haven't seen the worg/dev/ pages mentioned in the info manual (I'd
expect to see those pages mentioned in the Hacking section BTW, I can
send a patch mentioning them in a "Further resources" subsection there
if you'd like that added).
So, today I've started implementing a version of this that works like
this:
#+begin_example
#+property: edit-bindings /varlist/
* heading
:properties:
:edit_bindings: /varlist/
:end:
#+header: edit-bindings /varlist/
#+end_example
where scoping is like (x > y meaning x overrides y):
header line bindings > subtree bindings > #+property bindings before
the element
I'll send a complete patch soon.
Best,
--
İ. Göktuğ Kayaalp <https://www.gkayaalp.com/>
024C 30DD 597D 142B 49AC
40EB 465C D949 B101 2427
- Re: [O] Inheriting some local variables from source code block editing buffers, (continued)
- 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
Re: [O] Inheriting some local variables from source code block editing buffers, Göktuğ Kayaalp, 2018/05/14
- Re: [O] Inheriting some local variables from source code block editing buffers, Nicolas Goaziou, 2018/05/14
- Re: [O] Inheriting some local variables from source code block editing buffers, Göktuğ Kayaalp, 2018/05/14
- Re: [O] Inheriting some local variables from source code block editing buffers, Nicolas Goaziou, 2018/05/14
- Re: [O] Inheriting some local variables from source code block editing buffers,
Göktuğ Kayaalp <=
- Re: [O] Inheriting some local variables from source code block editing buffers, Göktuğ Kayaalp, 2018/05/18
- Re: [O] Inheriting some local variables from source code block editing buffers, Nicolas Goaziou, 2018/05/19
- Re: [O] Inheriting some local variables from source code block editing buffers, Aaron Ecay, 2018/05/21
Re: [O] Inheriting some local variables from source code block editing buffers, Aaron Ecay, 2018/05/14