From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Welle Subject: Re: Concatenating header args Date: Wed, 07 Mar 2018 08:45:13 +0100 Message-ID: <871sgwjpme.fsf@luisa.c0t0d0s0.de> References: <877eqpo8sf.fsf@luisa.c0t0d0s0.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etTlI-0001Jx-4W for emacs-orgmode@gnu.org; Wed, 07 Mar 2018 02:45:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1etTlE-0003qe-QR for emacs-orgmode@gnu.org; Wed, 07 Mar 2018 02:45:20 -0500 Received: from mout.gmx.net ([212.227.17.21]:51853) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1etTlE-0003pv-G4 for emacs-orgmode@gnu.org; Wed, 07 Mar 2018 02:45:16 -0500 Received: from stella.c0t0d0s0.de ([194.95.66.1]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MI9n0-1epcwO3FSY-003shd for ; Wed, 07 Mar 2018 08:45:14 +0100 Received: from Stella (stella.c0t0d0s0.de [192.168.42.1]) by stella.c0t0d0s0.de (Postfix) with ESMTP id C47D5C40B7 for ; Wed, 7 Mar 2018 08:45:13 +0100 (CET) In-Reply-To: (John Kitchin's message of "Tue, 6 Mar 2018 07:31:54 -0800") 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, John Kitchin writes: > I am pretty sure this isn't possible. The headers get overridden by the > most local settings. There isn't a way to concatenate them. In some cases > there isn't a way to figure out what you want, e.g. if a heading property > said ":tangle no" and your header said ":tangle yes" it would not make > sense to concatenate these to ":tangle no yes". hm, I could think of a special syntax, like :tangle results in the current behaviour and :+table concats values. That way it's up to the user to express what she wants. > I think you have to add -Wall to the src header. Hm, the property values can be functions that get evaluated to get the actual property values, can't it? I'm not sure though if something like :flags (get-em "flags" '("-more" "-values")) is so much nicer to write. Maybe it is, esp. if you want to change the base flags for a ton of items. Today is teaching tuesday (even if it's wednesday ;)), so I'm a bit short on time. But I will try that approach later this week and see where that leads to. Thanks hmw