From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Welle Subject: Re: Concatenating Org property values from parent subtrees Date: Sat, 29 Sep 2018 20:38:51 +0200 Message-ID: <87k1n46tdw.fsf@luisa.c0t0d0s0.de> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g6K8s-0003n1-UR for emacs-orgmode@gnu.org; Sat, 29 Sep 2018 14:39:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g6K8m-0000W2-LA for emacs-orgmode@gnu.org; Sat, 29 Sep 2018 14:39:01 -0400 Received: from mout.gmx.net ([212.227.15.15]:54405) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g6K8m-0000V5-Bu for emacs-orgmode@gnu.org; Sat, 29 Sep 2018 14:38:56 -0400 Received: from stella.c0t0d0s0.de ([89.204.155.90]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LuP5z-1fdp5W0zCB-011f8n for ; Sat, 29 Sep 2018 20:38:53 +0200 Received: from stella.c0t0d0s0.de ([89.204.155.90]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LuP5z-1fdp5W0zCB-011f8n for ; Sat, 29 Sep 2018 20:38:53 +0200 Received: from Stella (stella.c0t0d0s0.de [192.168.42.1]) by stella.c0t0d0s0.de (Postfix) with ESMTP id 2C7C2181119 for ; Sat, 29 Sep 2018 20:38:51 +0200 (CEST) In-Reply-To: (Kaushal Modi's message of "Wed, 26 Sep 2018 18:57:17 -0400") 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: emacs-orgmode@gnu.org Hello, Kaushal Modi writes: > Hello, > > Is there a way to achieve something like below? See the content in each > nested subtree in the example below. 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. Regards hmw