From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?G=C3=B6ktu=C4=9F_Kayaalp?= Subject: Re: Inheriting some local variables from source code block editing buffers Date: Tue, 15 May 2018 21:36:59 +0300 Message-ID: References: <87bmdizb7k.fsf@nicolasgoaziou.fr> <87d0xyxjyf.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIeou-0002EN-AI for emacs-orgmode@gnu.org; Tue, 15 May 2018 14:37:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fIeoq-0006QM-AD for emacs-orgmode@gnu.org; Tue, 15 May 2018 14:37:08 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:59767) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fIeoq-0006Po-3F for emacs-orgmode@gnu.org; Tue, 15 May 2018 14:37:04 -0400 In-Reply-To: <87d0xyxjyf.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Mon, 14 May 2018 18:47:52 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: Aaron Ecay , emacs-orgmode@gnu.org On 2018-05-14 18:47 +02, Nicolas Goaziou wrote: > (org-element-property :header (org-element-at-point)) =3D> (":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 . 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, --=20 =C4=B0. G=C3=B6ktu=C4=9F Kayaalp 024C 30DD 597D 142B 49AC 40EB 465C D949 B101 2427