From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Ecay Subject: Re: Inheriting some local variables from source code block editing buffers Date: Tue, 01 May 2018 23:19:11 +0100 Message-ID: <87vac79fz4.fsf@gmail.com> References: <874ljt3bs0.fsf@gnu.org> <87h8nrkbpw.fsf@nicolasgoaziou.fr> <878t93ioa1.fsf@nicolasgoaziou.fr> <87bmdzbad6.fsf@gmail.com> <876047b257.fsf@gmail.com> <871sevayhz.fsf@gmail.com> 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]:58869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fDdcH-0007wu-37 for emacs-orgmode@gnu.org; Tue, 01 May 2018 18:19:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fDdcB-0006zm-Fn for emacs-orgmode@gnu.org; Tue, 01 May 2018 18:19:21 -0400 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:54467) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fDdcB-0006zZ-7z for emacs-orgmode@gnu.org; Tue, 01 May 2018 18:19:15 -0400 Received: by mail-wm0-x22c.google.com with SMTP id f6so19663146wmc.4 for ; Tue, 01 May 2018 15:19:15 -0700 (PDT) In-Reply-To: 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: =?utf-8?B?R8O2a3R1xJ8=?= Kayaalp Cc: emacs-orgmode@gnu.org 2018ko maiatzak 1an, G=C3=B6ktu=C4=9F Kayaalp-ek idatzi zuen: [...] > So we've agreed > that what we want is a new header argument, =E2=80=98:edit-vars=E2=80=99,= whose value is > a form similar to a varlist, where >=20 > - a form (var val) means bind var to val in the editing buffer, >=20 > - a symbol var means bind var in the editing buffer to the buffer-local > value of it in the relevant x.org buffer, as in (setq > (make-local-variable var) (with-current-buffer "x.org" var)) >=20 > Do you confirm?=20=20 That=CA=BCs how I understand the proposal, and it seems good to me. > Also, what do you think about :edit-bindings or :edit-locals instead > of :edit-vars? :var is a completely different thing, and :edit-vars > may cause confusion, given the similarity of the name. Agreed. I prefer -bindings, but I suppose it=CA=BCs not terribly important: either of your proposed names is a big improvement. --=20 Aaron Ecay