From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 OAdUIee1d2JfcwAAbAwnHQ (envelope-from ) for ; Sun, 08 May 2022 14:21:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8L5hIee1d2IwwQAA9RJhRA (envelope-from ) for ; Sun, 08 May 2022 14:21:59 +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 2415DB421 for ; Sun, 8 May 2022 14:21:59 +0200 (CEST) Received: from localhost ([::1]:48650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnfvB-0007Fz-N2 for larch@yhetil.org; Sun, 08 May 2022 08:21:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnfu1-0007BV-1h for emacs-orgmode@gnu.org; Sun, 08 May 2022 08:20:46 -0400 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:34131) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nnftz-0000Lx-87 for emacs-orgmode@gnu.org; Sun, 08 May 2022 08:20:44 -0400 Received: by mail-pj1-x1034.google.com with SMTP id qe3-20020a17090b4f8300b001dc24e4da73so10474248pjb.1 for ; Sun, 08 May 2022 05:20:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=umXNZPwCQvcauopcfwXUGfsBD/5iseQINxCz5PYUQpg=; b=DfvISEL1uO/6vcykHySmVW3wRfRwVVUvKmdNhFk6KL6T1biOGVc5WsmOwXhwStTUzA hd4m4G90d3B9RrtXh1xpgUaMETnLMune9yloVEHkm+gMuI81y2KjogtPDX6k8sqAJYuB ngCfwnfVjDFyvlQxU+LA4lP6i099X/uaK8OZX62zsr3tGVOjKs/GFXaaNHOyyCF1TBzn uK4EdWBCyeNdWeIcWpe+enS2HDmch3TzYYPmliW6xWlOAevD/2aBW5DpL1pHxwEg5hGr g4+du1+LogUG25K/k/FRMZIQ9twPm/otF1xCcU6MkzBKHGycJ+Jn24Q/kLzBD847O6ct CBew== 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:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=umXNZPwCQvcauopcfwXUGfsBD/5iseQINxCz5PYUQpg=; b=0B3Wd+dkSwFXaQwiAJomZjKKZVzJx8Q+w8Vnunrx5K2Dx33m9QE3w/BzfffwaSmOwp LvmXvolbvgs62NdGdIIkukyGCfu6fJ2xpisvsnya9HukeNqCBXiwR7CT0T+b0jr3PGj4 UPR35XOcvlgbj0ojGJmhbW2++SnfPBf8wmHJAHB2G/22ZoBZsR7aZPEzgC7WHydT/jNQ cAbOaEb6mNbQKfKWWKaM9MMFdmo2z0sh5r1Ol3qw7fhmd/jdr45I/zxL9tGiJoTa8QXo 8izQtBDRHRangFXKCq8twJZoBI+lQmWi/s43UXvBOz0V7ACd6pG7T/hgMjnTi5pWOeEV CP0Q== X-Gm-Message-State: AOAM531s56Tdj/PS4mVuIsR3O85dQLXctofA1uyygmIn7uFN3P3fRWEi mflfvt3Xavrz0nsoUXjkBQs= X-Google-Smtp-Source: ABdhPJy2UBpIDK6+WHfuHvSGTlrsyXTdZ/ZLg2sLi432Qvjor7AQk7Qm/rJN+JO8RoPkhbOOKeqlRQ== X-Received: by 2002:a17:902:6f16:b0:15e:f719:34ec with SMTP id w22-20020a1709026f1600b0015ef71934ecmr7854058plk.166.1652012439538; Sun, 08 May 2022 05:20:39 -0700 (PDT) Received: from localhost ([66.154.104.4]) by smtp.gmail.com with ESMTPSA id s56-20020a056a001c7800b0050dc7628160sm6573536pfw.58.2022.05.08.05.20.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 05:20:38 -0700 (PDT) From: Ihor Radchenko To: Tyler Grinn Cc: John Kitchin , org-mode-email Subject: Re: Concatenate properties In-Reply-To: <87v8uhikzx.fsf@gmail.com> References: <87y1zfk3ls.fsf@gmail.com> <87zgjuis8z.fsf@gmail.com> <87pmkpykiz.fsf@localhost> <87v8uhikzx.fsf@gmail.com> Date: Sun, 08 May 2022 20:21:23 +0800 Message-ID: <87sfpkqkos.fsf@localhost> 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::1034; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1034.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, 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=1652012519; 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=umXNZPwCQvcauopcfwXUGfsBD/5iseQINxCz5PYUQpg=; b=KGx5/m+rV3kQQ6BSk+2o42n3GKzo6NH1DxZ37IfK/24gJELRsCTYUugI/uWKOsh1vRQeYZ HEpxs91ODA5J+kllAXm08unmIT++NJsa2yvuma3M8UXrDL0/tPDHW//Egem82DU7uLlw/1 2Hjm3qjTRSjL8+A6neV9mKIuSHT8CGBp1cRnIwHP9fqz0eqnBASZqD+tHnoWr+K/b4PelE zM9pnHIuTnpE9OZrVSVLPD5xHvBDxaVIqMBGl3lNAXajWg1F0aMqTDIk4XqDrr9dXFIG3N eoBTHmxejLaXTbjk/hjU2nTNJGS6IJaPlrd9NJkqHAYod5Pdd/U9ntKprUxHuw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652012519; a=rsa-sha256; cv=none; b=BFQz1j830xWRCUpoAF8qeqKL/XMZ1KnRE78wAa/1HVMcJliZG8RRgZ0KDV9AZ41QtUVrWf dqxmCQdp9pWxhee5Tmj0qFMDN+xW0BP3oEI6hPjkCPX3FCawG3sLoXm9rc5yZoCk3jQl1B xz87n9FKdut8sV4HVjXPICOHXE2fT6AgcX+EMYW38rrCBTqlF2pD1ok1aHPP4IYwc2Nr+Q HpX2Cas0brQz8FYbykrJ8bq5IpAb20bOdbpop4EjR/VhcJPgxlHTLp13w1CfAvyH+hDm1T 7UQpQqK8YsMT8g17JViPKfkcuBa8BdjSR3SYucZCihGOgN5xVX0DuvnsvJ0fOg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=DfvISEL1; 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.31 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=DfvISEL1; 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: 2415DB421 X-Spam-Score: -5.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: pKyl43kciwyj 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 wan= ts, =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 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