From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: Re: Concatenating Org property values from parent subtrees Date: Sat, 29 Sep 2018 15:01:26 -0400 Message-ID: References: <87k1n46tdw.fsf@luisa.c0t0d0s0.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000002b2bbd057707358a" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g6KVC-0001OR-Ii for emacs-orgmode@gnu.org; Sat, 29 Sep 2018 15:02:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g6KVB-00009r-QY for emacs-orgmode@gnu.org; Sat, 29 Sep 2018 15:02:06 -0400 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]:40937) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g6KVB-00005n-Hh for emacs-orgmode@gnu.org; Sat, 29 Sep 2018 15:02:05 -0400 Received: by mail-lj1-x234.google.com with SMTP id r83-v6so8694474ljr.7 for ; Sat, 29 Sep 2018 12:02:05 -0700 (PDT) In-Reply-To: <87k1n46tdw.fsf@luisa.c0t0d0s0.de> 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: mwe012008@gmx.net Cc: emacs-org list --0000000000002b2bbd057707358a Content-Type: text/plain; charset="UTF-8" On Sat, Sep 29, 2018 at 2:39 PM Michael Welle wrote: > > I asked something similar earlier this year (concatenating compiler > flags given as header-args property, used for linking against different > libs in different sections of the Org file). I ended with a function > that grabs the current property value and returns the value concatenated > with new value. That function can be used as a 'property value'. That's > not a nice and bullet proof solution, but works good enough to me to > generate the solutions to the psets for the lecture. > Please share it if you don't mind. I plan to use it or its derivative in ox-hugo. The property is planned to be a path property, and with nested property values of "a","b" and "c", which I want to parse as "a/b/c". --0000000000002b2bbd057707358a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, Sep 29= , 2018 at 2:39 PM Michael Welle <mw= e012008@gmx.net> wrote:

I asked something similar earlier this year (concatenating compiler
flags given as header-args property, used for linking against different
libs in different sections of the Org file). I ended with a function
that grabs the current property value and returns the value concatenated with new value. That function can be used as a 'property value'. Th= at's
not a nice and bullet proof solution, but works good enough to me to
generate the solutions to the psets for the lecture.
<= br>
Please share it if you don't mind. I plan to use it or it= s derivative in ox-hugo. The property is planned to be a path property, and= with nested property values of "a","b" and "c&quo= t;, which I want to parse as "a/b/c".
--0000000000002b2bbd057707358a--