From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oJQyL0/Qd2IrAAAAbAwnHQ (envelope-from ) for ; Sun, 08 May 2022 16:14:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0LVGLk/Qd2IAgwAAG6o9tA (envelope-from ) for ; Sun, 08 May 2022 16:14:39 +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 3C49ACC99 for ; Sun, 8 May 2022 16:14:39 +0200 (CEST) Received: from localhost ([::1]:51874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnhgE-0006d7-Dt for larch@yhetil.org; Sun, 08 May 2022 10:14:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnhfq-0006cs-Im for emacs-orgmode@gnu.org; Sun, 08 May 2022 10:14:14 -0400 Received: from mail-il1-x133.google.com ([2607:f8b0:4864:20::133]:46879) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nnhfp-0001Jl-43 for emacs-orgmode@gnu.org; Sun, 08 May 2022 10:14:14 -0400 Received: by mail-il1-x133.google.com with SMTP id f5so7706725ilj.13 for ; Sun, 08 May 2022 07:14:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=9pkm/xxu3UX8WN2LHwY1tFrZV2SCjJGS15Tpif6vVgU=; b=Zu83Y0jxUgOyiS2sKnj3Tr4CyYHhYBWsYwCvIeBuZje2Kfg/4yN8OLRmNNMDwFNMJH KcMqUC95PLbTpi761Ge4niaqlB72MbsAThiFbkPVnt8wj8dSCT4IE6bjpV1oA/LKhHZf MnA8Nqk6kFkZlDfaUEQw+De5FbE7UxhUdfdmq/KzQinSGKJoClXxaJaeLRK6eILe4mgA cjGGm6nr9CXCbFC+X2bAhQHZ7q+QFNcvpvkMYqNoVsvTQZpU/iUXGnfKFxI2/xrYgAM+ 8Q7IlbpMQdHQKeRET0slDeg/kcQJMNgl+XTtRo08UD4Zs9Mvvh6CQymKHb5c9qxfvZvw gnkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=9pkm/xxu3UX8WN2LHwY1tFrZV2SCjJGS15Tpif6vVgU=; b=J2Kv/Kt1MXRFbYzhPLB/6JEEkAmRMfPWsh3kuDOTR0QRPArgxICa3xfffox9DIrMMg pl9FZ9CpA5+lINchiEBO/mNNitodkGehyCfW7Z/9jF6Np9Vlmk0T5r4RzEuC5YBIT6bc MSq/ND37t2B5tzrvja+b48g3/pOLFSVoD+Bjfk+Ap2DFpPGQR26vEDAfn57sLVxQKEcd HsVL1cvRNqsgcTS1IZBP07kUnOfhE/mCQR0xvBYAAGyap3TBhdu32ilIgRr4xJ8lIrDf QTfFeE08pCKkCDnWuX4dmjYF+zIYMn3G0atg7Y01plVi03YAQFbv+WtkuxvCnLYBBcEq 9r3Q== X-Gm-Message-State: AOAM531ICmRqGVJX2y7o0cHO1jDNhthiO5l74CEXzzJ9qSIbfwUT5xlB UOMhZWmVOw+uEXCQCB/pnG+/BD6U+zMP2Q== X-Google-Smtp-Source: ABdhPJyu9ucsUU8VI0scUlNaeMbTGbGAYiPHk81V3btCzbghhyrkPEHvNrp122mQAqORg64vJaDJwg== X-Received: by 2002:a05:6e02:216c:b0:2cf:3b9f:72c5 with SMTP id s12-20020a056e02216c00b002cf3b9f72c5mr4637917ilv.225.1652019251419; Sun, 08 May 2022 07:14:11 -0700 (PDT) Received: from tyler-fedora ([107.161.129.166]) by smtp.gmail.com with ESMTPSA id v30-20020a056638359e00b0032b3a7817dbsm2846157jal.159.2022.05.08.07.14.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 07:14:11 -0700 (PDT) From: Tyler Grinn To: Ihor Radchenko Cc: org-mode-email Subject: Re: Concatenate properties References: <87y1zfk3ls.fsf@gmail.com> <87zgjuis8z.fsf@gmail.com> <87pmkpykiz.fsf@localhost> <87v8uhikzx.fsf@gmail.com> <87sfpkqkos.fsf@localhost> Date: Sun, 08 May 2022 10:14:09 -0400 In-Reply-To: <87sfpkqkos.fsf@localhost> (Ihor Radchenko's message of "Sun, 08 May 2022 20:21:23 +0800") Message-ID: <87zgjst8lq.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::133; envelope-from=tylergrinn@gmail.com; helo=mail-il1-x133.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=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=ham 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=1652019279; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=9pkm/xxu3UX8WN2LHwY1tFrZV2SCjJGS15Tpif6vVgU=; b=X5bqi6iN2dbSqseYXiB2AfJwiw4CrnRu2Cj6En48fCOg6y7vm+ojC1ZPt3Q16FPe+TaIw1 3Fl5lv91hINEjj0j33Wr5hzQxssl3KhPWVleYZOwN3B2hn2SU2yZqaxkf8CmmOXK4ubenW FWsJN+bQmcbwXF9p52KcyqCsPMPrpNrEgkPc4OkCuFw6uezZkUD1/GbTFMoHVerpfkTvAv tYaXZGTIXMK2lvzqu3TAiytG5i4oYzelO4oRBMF9P4c1iKlKQBbBgw51IwhbSaMGdf14Kf 2S+S5vXIHtbnhvN7LBwDQwXRpvrZLV3jph+neSIpLBTfRItnnZqccXwtx6lT1A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652019279; a=rsa-sha256; cv=none; b=ehLByX9m+NonbQGDKTI8LT/PLFwXlj45caXzj7effuR7KoiB5mkdEhFen392FFCG3M3fJI ebvvKMbBUoCRL5N3mVfHLDQFUIug5oWAeYIt19yXYEiGTfQcYKsdcV+DzQ+qgj8D9okt4o p0zRIT0KMa8RrKk5ZED5PpTFvCOOe7VwzWyeh8K3TQLD/95lPLMUCzY7FoQoUbpmoOk0aY TcxMAIzGim8JWV43hkAbx1hnIaiEMAOVv1b0SS1o/Zt0b0GCsejfGCbmmbXq0ZxiTkkXRd 0IsW9O8d7tfr1qeh57RwpdyqYa/udNjOxQSPBpEwW7BOfT1ImyREQU78/6I9Cg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Zu83Y0jx; dmarc=pass (policy=none) header.from=gmail.com; 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: -5.61 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Zu83Y0jx; dmarc=pass (policy=none) header.from=gmail.com; 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: 3C49ACC99 X-Spam-Score: -5.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: m3yVpaiWDzP2 Ihor Radchenko writes: > Tyler Grinn writes: > >> John Kitchin writes: >> >>> 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 wa= nts, =E2=80=9C =E2=80=9C would >>> preserve current behavior, and =E2=80=9C,=E2=80=9D could lead to a comm= a separated >>> list for example. Other things like =E2=80=9C\n=E2=80=9D might lead to = a column, etc.=20 >> >> I'm not a huge fan of the variable idea because it would make it >> impossible to include both behaviors in a single file, whereas extending >> the syntax maintains any existing properties that used '+'. > > I think I need to elaborate what I meant by "similar to > org-use-property-inheritance". > > org-use-property-inheritance docstring: > >>>> When nil, only the properties directly given in the current entry >>>> count. When t, every property is inherited. The value may also be a >>>> list of properties that should have inheritance, or a regular >>>> expression matching properties that should be inherited. > > Similarly, concatenation of PROPERTY+ can be controlled on per-property > basis. > > Best, > Ihor Could you provide an example of what the value of that variable would be if, for instance, I wanted PROP_A and PROP_B to be joined with a single space and PROP_C and PROP_D to be concatenated? Or better yet, have the default be to join with a single space for any property and have only PROP_C and PROP_D concatenated?