From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CJd/HUVWdGL8EQAAbAwnHQ (envelope-from ) for ; Fri, 06 May 2022 00:57:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wHiMHEVWdGLIpQAAG6o9tA (envelope-from ) for ; Fri, 06 May 2022 00:57:09 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 99D861A449 for ; Fri, 6 May 2022 00:57:07 +0200 (CEST) Received: from localhost ([::1]:35612 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmkPC-0006y6-5g for larch@yhetil.org; Thu, 05 May 2022 18:57:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38538) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmkOl-0006xm-JC for emacs-orgmode@gnu.org; Thu, 05 May 2022 18:56:39 -0400 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]:39758) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmkOj-0002ng-EZ for emacs-orgmode@gnu.org; Thu, 05 May 2022 18:56:39 -0400 Received: by mail-ed1-x52d.google.com with SMTP id g20so6822999edw.6 for ; Thu, 05 May 2022 15:56:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=andrew.cmu.edu; s=google-2021; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+1vHvmvgnvP3dbvEYxj6H4Gq4PO317aW9bJ4ecOLrNs=; b=fOqWOPbnqIJiMdRgznCmH47IkkNTR2I0ngSVui1g2VX3u7GWoFCPlj44kkOnMV8yiW uqWIAgB6P0dt1ZVmG8mtML4ueF1TFFGwKSOJqMTqpi31cANiqpkaS8DtcdniF96pzcS7 /5uVuVn0XAuS9Ty7xdIrJncdjaHJ76dxIOAoEIWsT8fVL078p/AQV22YpP5p3YK0Mo1I UNvh5vl09Osn8WtG5y2kvhlg5roB23icKPihpryaxKgJa2OJBhpzvrtWSRRfc3wXwZfw PlLjXsCLfH/29amUY7PpJ2lHC+d9qbSWcyzRDFoKyvlWFOSWxFg76HKhRhiRCApVP9um DjmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+1vHvmvgnvP3dbvEYxj6H4Gq4PO317aW9bJ4ecOLrNs=; b=L+swi/jqTKWnemTgQYGvIyjx7aBYUMkAoX7Ux3I9Ima0sddQ1qHxwAnvBY6zBlPove EzJgSKEecVd5lUbPvijD2d0dbp9Uw+ZfW1PtV/Q7cA8CXM4SdAVZ+Fc1jFqJXI+RT1zJ W43hMQRuwT4kDKPGRvfBOEc2iCIzRxDZbLa5fXp1ssVwCP3T1E0qYW8yC6w8qFY2rI8W bF2VF1UcwU4FP2hWLvKCmxOATb42zBjjKnqSzStoym+ubZFowGgAAjOmBR2d8yi3u6Kz snMABaCxD/i1Vl96sveS8EiM+TMY+OFDk7pKsoRr8Hd/CEg9KO2RbXfqj4iJaba1a7mO HfYQ== X-Gm-Message-State: AOAM532jFeifZt4dpuLRaCdBiTcAoWA3C5rp4osciYzbu/Z01OT5cz7j 2/4LrmxxfCb7boBQL1Hmb1KoZhE0nHlSBmnJS4Q= X-Google-Smtp-Source: ABdhPJy6pGLuO6r4Ev9mqBGR9FmbN0nAWs3X1R0P4PV1PHtq2yS2NdOn68LW8Pdfg9IXvhfLZ69jf1pUF8L2vab8SSc= X-Received: by 2002:a05:6402:2546:b0:427:c112:6de6 with SMTP id l6-20020a056402254600b00427c1126de6mr520859edb.46.1651791395544; Thu, 05 May 2022 15:56:35 -0700 (PDT) MIME-Version: 1.0 References: <87y1zfk3ls.fsf@gmail.com> In-Reply-To: <87y1zfk3ls.fsf@gmail.com> From: John Kitchin Date: Thu, 5 May 2022 18:56:24 -0400 Message-ID: Subject: Re: Concatenate properties To: Tyler Grinn Cc: org-mode-email Content-Type: multipart/alternative; boundary="0000000000005fe1d605de4ba705" Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=johnrkitchin@gmail.com; helo=mail-ed1-x52d.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651791429; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=+1vHvmvgnvP3dbvEYxj6H4Gq4PO317aW9bJ4ecOLrNs=; b=Zl274t7mQklQ17oe4MyQwFzI6nQRPHH2vmr7yCQdx1+Fx8b9sGWm6wfUmB4NdxMpwxx+cN YzVGBEFwzyCHEIDyThyskJOFD1/TOpNXSAF+K1gY0A3O6V6pMTSDa4qR9paufZCQ/BAiXa aB5e3rIRqnVMRV4nbJeirGku2RDvjwSiYrJPtmXnBRhlJ4UuQOoq0b/hrR2x48dE5trr6P hek118iPYdnpY/dMC/ZtU8lKExITuKtJtNN4noJqm9yRwIHLUQMLxYcboePxoxkUi5qLVj MirrBCwlhp3ptcxx2ef431P/NWEkIZSeRT2/kpuz3Vquu8iEmrshELgCpn4/MA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651791429; a=rsa-sha256; cv=none; b=BqKc8d4qkx77vEiNeNtLRUXYq0AFR0d7E4nL5E3axPHjokOubX5bSZZN3XMfwLQGcAk27Y Gebbtei/nk3zAKq22aJAZVd+FrpmoFQEdhr/khAL4g7V2Nog7mW9BW/yFdBVIVvvVo2qbn BG70zvNS2A6qTZi9TflFZK6lUZMivy6BPFMVDL/u6wBLB0krRArxoci+/D31HkEbrO73Zc JYnDU3sQ9wsq9FmToAGbo8ilvJIakCL3J6IEuWvoUDEoZfbjt3k3OTVf5HJO+KSl4EzuCX SfAiNvuwicAhd6CSOPIlfFATRdGNSEfEH7KdI6ijwjcMttjnKxEsF55HEX5xPw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=andrew.cmu.edu header.s=google-2021 header.b=fOqWOPbn; dmarc=pass (policy=none) header.from=andrew.cmu.edu; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -9.09 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=andrew.cmu.edu header.s=google-2021 header.b=fOqWOPbn; dmarc=pass (policy=none) header.from=andrew.cmu.edu; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 99D861A449 X-Spam-Score: -9.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: qHrRiTsHIeoO --0000000000005fe1d605de4ba705 Content-Type: text/plain; charset="UTF-8" I believe this is hard coded in org-entry-get-with-inheritance. The fastest option would be an override advice with your own function that replaces (and value " ") with (and value ""), and maybe the two other " " with "". John ----------------------------------- Professor John Kitchin (he/him/his) Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Thu, May 5, 2022 at 6:38 PM Tyler Grinn wrote: > > I'm exporting sub-trees as pdf files for some classes I'm taking: > > # -*- org-use-property-inheritance: t; -*- > > * Class A > :PROPERTIES: > :EXPORT_FILE_NAME: support/Class A > :END: > ** Assignment 1 > :PROPERTIES: > :EXPORT_FILE_NAME+: /assignment-1 > :END: > Some assignment for Class A > ** Assignment 2 > :PROPERTIES: > :EXPORT_FILE_NAME+: /assignment-2 > :END: > Some other assignment for Class A > * Class B > :PROPERTIES > :EXPORT_FILE_NAME: support/Class B > :END: > ** Assignment 1 > :PROPERTIES: > :EXPORT_FILE_NAME+: /assignment-1 > :END: > Some assignment for Class B > ** Assignment 2 > :PROPERTIES: > :EXPORT_FILE_NAME+: /assignment-2 > :END: > Some other assignment for Class B > > And this works great, except there's always a space between > 'support/Class A' and '/assignment-1.pdf'. Is there any way to > concatenate the two properties rather than join them with spaces? > > Best, > > Tyler > > --0000000000005fe1d605de4ba705 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I believe this is hard coded in=C2=A0org-entry-get-with-in= heritance. The fastest option would be an override advice with your own fun= ction that replaces=C2=A0(and value " ") with=C2=A0(and value &qu= ot;"), and maybe the two other " "=C2=A0 with "".<= div>=C2=A0
= John

-----------------------------------
Professor John Kitchin (= he/him/his)
Doherty Hall A207F
Department of Chemical Engineering
= Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



On Thu, May 5, 2022 at 6:38 PM Tyler Grinn &l= t;tylergrinn@gmail.com> wrot= e:

I'm exporting sub-trees as pdf files for some classes I'm taking:
# -*- org-use-property-inheritance: t; -*-

* Class A
=C2=A0 :PROPERTIES:
=C2=A0 :EXPORT_FILE_NAME: support/Class A
=C2=A0 :END:
** Assignment 1
=C2=A0 =C2=A0:PROPERTIES:
=C2=A0 =C2=A0:EXPORT_FILE_NAME+: /assignment-1
=C2=A0 =C2=A0:END:
=C2=A0 =C2=A0Some assignment for Class A
** Assignment 2
=C2=A0 =C2=A0:PROPERTIES:
=C2=A0 =C2=A0:EXPORT_FILE_NAME+: /assignment-2
=C2=A0 =C2=A0:END:
=C2=A0 =C2=A0Some other assignment for Class A
* Class B
=C2=A0 :PROPERTIES
=C2=A0 :EXPORT_FILE_NAME: support/Class B
=C2=A0 :END:
** Assignment 1
=C2=A0 =C2=A0:PROPERTIES:
=C2=A0 =C2=A0:EXPORT_FILE_NAME+: /assignment-1
=C2=A0 =C2=A0:END:
=C2=A0 =C2=A0Some assignment for Class B
** Assignment 2
=C2=A0 =C2=A0:PROPERTIES:
=C2=A0 =C2=A0:EXPORT_FILE_NAME+: /assignment-2
=C2=A0 =C2=A0:END:
=C2=A0 =C2=A0Some other assignment for Class B

And this works great, except there's always a space between
'support/Class A' and '/assignment-1.pdf'. Is there any way= to
concatenate the two properties rather than join them with spaces?

Best,

Tyler

--0000000000005fe1d605de4ba705--