From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CH46A+JbdmIMgAAAbAwnHQ (envelope-from ) for ; Sat, 07 May 2022 13:45:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YLE2A+JbdmLIfwAAauVa8A (envelope-from ) for ; Sat, 07 May 2022 13:45:38 +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 7EC5A14014 for ; Sat, 7 May 2022 13:45:36 +0200 (CEST) Received: from localhost ([::1]:54874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnIsR-00005i-FZ for larch@yhetil.org; Sat, 07 May 2022 07:45:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnIri-00005B-SS for emacs-orgmode@gnu.org; Sat, 07 May 2022 07:44:50 -0400 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]:42587) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nnIrf-0004vN-Ii for emacs-orgmode@gnu.org; Sat, 07 May 2022 07:44:50 -0400 Received: by mail-ej1-x631.google.com with SMTP id i27so18738231ejd.9 for ; Sat, 07 May 2022 04:44:33 -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=aXWCPcg6Gqu0Xrow7P0x1X664yn2Ir49QuoSSpHM5JA=; b=VZUMqtAmf2uhZv8rTrcYpBLLvgNKN6RlUlWmJfKGKNV3gLKi+puMazvKJqlajdqHSM Zh6Ij5/VvIXXjQDWe/8tbbpDJvcGEj+Se6zZW08haosVDth6JloWLiHfSI0JxA2Zlksu FQZOgo1NKWfL9JpjabCXSGXgvXEPpigC1XcvzIAG25Lgh/QoT76j0P6rQfeVZhEtTlfW FBjs+7XnGlu+EPbtXuYXb0ZrKdC9DaEQIolnLJgKIlEhXp+kq2iov9JtbOSzo156bxo9 1axGlwwfYhTd6XzOoXWVaRKz2AezSLIDsiT6Wr6nJ1p/TW8MNXzo9eWI1sbgJB3qWGMb KrcA== 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=aXWCPcg6Gqu0Xrow7P0x1X664yn2Ir49QuoSSpHM5JA=; b=G/3C82G3V0T9Iy4bqFcue/IK9q5aw+HU2MiqW4ueu1Q4nExY4MLkJXMiuZwKF/zAIs 1q+2YmadU8QC6iEux1bixXRrxJ/7EwPmWJm+cdDnFyI46CVPBWmmGAP6MuhUyjAX9lWq AzjoER2DUga1gV3r3ab6iWWQW5Rbb8rKZbHGgfx+CKkTVPv+fYbL7EGbVNcxlrmHFW7b 5OlN4zJqFPaPqPk6zPLLK0NBscwOBzY97TGm1uwqAz/R0bElsQYOH90edxfL3u9NT+OK qZr4IdpWEKeXHSMmDLKbtv/li6upMIcPfKa8K9YbkgI5+56WgMIy4l2Lf+PRE/1ymb+h qkJQ== X-Gm-Message-State: AOAM531I9p2xNtOWBxqrZ8Wk7uOKzBX8fsZgrUg7eB5AuTS82Ra4yA9A tjjae1tfMkIHqHYtxeY9G8yh/Wf2YZb+2JB19pg= X-Google-Smtp-Source: ABdhPJy9PzhhA0WRnarhZbI5oqW5g/H/A3t/BJlpDxSVSm03YD1Ii6dN6XWBcOoHvoQEPLEDwqHKfjefajUe6fu6tsI= X-Received: by 2002:a17:907:7207:b0:6f4:43df:abff with SMTP id dr7-20020a170907720700b006f443dfabffmr6863999ejc.681.1651923871393; Sat, 07 May 2022 04:44:31 -0700 (PDT) MIME-Version: 1.0 References: <87y1zfk3ls.fsf@gmail.com> <87zgjuis8z.fsf@gmail.com> <87pmkpykiz.fsf@localhost> In-Reply-To: <87pmkpykiz.fsf@localhost> From: John Kitchin Date: Sat, 7 May 2022 07:44:20 -0400 Message-ID: Subject: Re: Concatenate properties To: Ihor Radchenko Cc: Tyler Grinn , org-mode-email Content-Type: multipart/alternative; boundary="0000000000008ceacf05de6a7f61" Received-SPF: pass client-ip=2a00:1450:4864:20::631; envelope-from=johnrkitchin@gmail.com; helo=mail-ej1-x631.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=1651923937; 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=aXWCPcg6Gqu0Xrow7P0x1X664yn2Ir49QuoSSpHM5JA=; b=solmRW5xuelcr7pdjs0CNq1A58oFYJz0Zl4tiQpoDFFstV5htYLFsTg9fd7CFxFO9XTgJ0 lXI1AKy6IU5CAUmt5T+FyT0gMnEa3/pXwIWObUxYOp04mJuYoIWRyBa/ah8hTR/NstsZ9k bHw5GlQ6eOKw0EIRus0Y9qEP3si+WGyWdCSJwx5KHg83Iaon3440/jrknPzwgfe2gCFJth Ud+wgsihGwS2Ll83qD3drce4dKXwlXVYlVF6ev4Nl7Re88ymGTMgsC1tTU3AexwXi8Qk4c BVZhryZfAkOeXpB2XyAVfKqox9n3r9z/PPRqD/3IgOGtWvrCUGpLPf+uFBLmIg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651923937; a=rsa-sha256; cv=none; b=lRbUNboLUNJbuUGgbSVzGnJS/wgk8BZlLCMtjjwc90oegpmujG3G6xdS7PwBRbRNzua+NX gedNKybwB/FZJUneQJZ1oTSZJuQUFaoPshhZuNAGGH2FLMl3Rc/XJCg3lUij0HudAmoNUd FNWstMKVHHulpVdvIZJ92vlEloO1AoNBMjIadmx4VelIHGQCx5G6TZHksEZUXqbz9Mtjk9 4ckwncuFpS+TNuWtKZoqfjiGL5L/hRHqD0j06u09NUoBUuO03yAmVu7ZVittxHp1IYxyD9 ydhI0XK00cweIqHdnS+SXW9ybbkqsBw6uQ9Ku/dOwr6AzyGDkeqvEW37GMF+8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=andrew.cmu.edu header.s=google-2021 header.b=VZUMqtAm; 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: -3.50 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=andrew.cmu.edu header.s=google-2021 header.b=VZUMqtAm; 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: 7EC5A14014 X-Spam-Score: -3.50 X-Migadu-Scanner: scn1.migadu.com X-TUID: 3vg6Nl6UGFqe --0000000000008ceacf05de6a7f61 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I like the variable idea. I would make it a concatenation string for joining. That way =E2=80=9C=E2=80=9D would concatenate the way Tyler wants,= =E2=80=9C =E2=80=9C would preserve current behavior, and =E2=80=9C,=E2=80=9D could lead to a comma se= parated list for example. Other things like =E2=80=9C\n=E2=80=9D might lead to a column, etc= . On Sat, May 7, 2022 at 1:32 AM Ihor Radchenko wrote: > Tyler Grinn writes: > > > Thanks for the advice. I've added the caret symbol (:EXPORT_FILE_NAME^: > > assignment-1) to mean 'concatenate' as opposed to + for 'joining'. If > > this is something the community would want I will clean it up and send > > in a patch. > > Hmm. I am not sure if it going to be a straightforward patch. You may > need to update org-element parser accordingly. > > Also, I do not like the idea of extending org syntax with :PROPERTY^:. > It may be easier to introduce a variable similar to > org-use-property-inheritance where the user can customise how to > accumulate parent properties. > > Best, > Ihor > --=20 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 --0000000000008ceacf05de6a7f61 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I like the variable idea. I would make it a concatenation= string for joining. That way =E2=80=9C=E2=80=9D would concatenate the way = Tyler wants, =E2=80=9C =E2=80=9C would preserve current behavior, and =E2= =80=9C,=E2=80=9D could lead to a comma separated list for example. Other th= ings like =E2=80=9C\n=E2=80=9D might lead to a column, etc.=C2=A0

On Sa= t, May 7, 2022 at 1:32 AM Ihor Radchenko <yantar92@gmail.com> wrote:
Tyler G= rinn <tylergri= nn@gmail.com> writes:

> Thanks for the advice. I've added the caret symbol (:EXPORT_FILE_N= AME^:
> assignment-1) to mean 'concatenate' as opposed to + for 'j= oining'. If
> this is something the community would want I will clean it up and send=
> in a patch.

Hmm. I am not sure if it going to be a straightforward patch. You may
need to update org-element parser accordingly.

Also, I do not like the idea of extending org syntax with :PROPERTY^:.
It may be easier to introduce a variable similar to
org-use-property-inheritance where the user can customise how to
accumulate parent properties.

Best,
Ihor
--
J= ohn

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

=
--0000000000008ceacf05de6a7f61--