From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 CNJzDD53eWIHGwAAbAwnHQ (envelope-from ) for ; Mon, 09 May 2022 22:19:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8GRxDD53eWJ49AAAauVa8A (envelope-from ) for ; Mon, 09 May 2022 22:19:10 +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 BCA0F299B1 for ; Mon, 9 May 2022 22:19:09 +0200 (CEST) Received: from localhost ([::1]:58654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1no9qV-0007gv-Ha for larch@yhetil.org; Mon, 09 May 2022 16:19:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45664) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1no9ph-0007gl-F7 for emacs-orgmode@gnu.org; Mon, 09 May 2022 16:18:17 -0400 Received: from mail-io1-xd32.google.com ([2607:f8b0:4864:20::d32]:37827) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1no9pf-0007uG-NI for emacs-orgmode@gnu.org; Mon, 09 May 2022 16:18:17 -0400 Received: by mail-io1-xd32.google.com with SMTP id m6so16546619iob.4 for ; Mon, 09 May 2022 13:18:15 -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=Ce+QGxXH7Exnhc7s7VY69Z9CeqBqSM1BT0ZcXM7YTXI=; b=OIJylu48tOOFbDw0SWtwnjoRwNYx+E+66c9sKJAt/7ZEYFKon3jeOStLSJdETtFXP0 waWK/2wVt5amhxHf9Cxf7ozF74241Rm806gUZimkQyT0KpN+oI5owbwtKpivRlkxCeO2 Upnqcs23FdQMjW2cwz0CDpXBXghu5la3ApcRL634SFHBMV6sPqLpLHZXqwsaPUp39jgE MjC3jLkPTQ7aRwmWH39aTtWdwFkltFmzPbpAkM5ywZ4aNnGVc9q70Jkmp+wt283mQHXs 25f7qABje4ZHfXmbF7jOWYRdaZsfYVUUsVltqN0QUTO5JuguVb7nZ2LJA2LDDKxqQ7DO iVNA== 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=Ce+QGxXH7Exnhc7s7VY69Z9CeqBqSM1BT0ZcXM7YTXI=; b=GRaLY9uJBMOy1q5vGvDufvtJEReF5bLWdOu1NFMxhH7B8IxSugi5vyxvS/QoarMgND q+UmvVsbGNS6jJciZ7OqWDh3ODf7SmdN7+FJpu7zxigb/XTbjTtm059e2aNRfFLFJWe+ 8p2FvBnV4hxsLNChW3Ism2wqe4J3MxuYKdW+MoPMqPfVv4c2XBAYdtBKHUYRz3pr2pkZ wQ/67+TKIi9Nj2yN4Oii0BSOq1rTnd5ODoh6sY9u557wkhIqe0IyBXJVj7XxEAbFjj03 rk2UVpDJOxc86oGXIrMSPe/CwhIkZ+cPnsN1Tbm5xxXshttvUsbvsGQYZpMzNqyA8VTF CJqg== X-Gm-Message-State: AOAM533/i33lsC7Nphlo8QxHg09o/bMuRA73wYqEE6yPu7+SI5Xt3J6z DausGPmRUryP7YQfFXPbs6wMjw3IsTEiwg== X-Google-Smtp-Source: ABdhPJzWCRmn3hr+O5tbZpHXhGFI4klUj8cF5ycO3ht4S/gyXevJ+e9QOnlmH//+j5b1wTdVvp5dYA== X-Received: by 2002:a05:6638:34c:b0:32a:e06d:b6f8 with SMTP id x12-20020a056638034c00b0032ae06db6f8mr7486706jap.213.1652127494008; Mon, 09 May 2022 13:18:14 -0700 (PDT) Received: from tyler-fedora ([107.181.195.249]) by smtp.gmail.com with ESMTPSA id cn14-20020a0566383a0e00b0032b3a7817e3sm3771018jab.167.2022.05.09.13.18.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 13:18:13 -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> <87zgjst8lq.fsf@gmail.com> <877d6wqdxs.fsf@localhost> Date: Mon, 09 May 2022 16:18:11 -0400 In-Reply-To: <877d6wqdxs.fsf@localhost> (Ihor Radchenko's message of "Sun, 08 May 2022 22:47:11 +0800") Message-ID: <87mtfq8np8.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::d32; envelope-from=tylergrinn@gmail.com; helo=mail-io1-xd32.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=1652127549; 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=Ce+QGxXH7Exnhc7s7VY69Z9CeqBqSM1BT0ZcXM7YTXI=; b=fOJpOPyCGhclgyonFW5iN80Uu28hwKp8fe9blKXiraQSm90cmT9petgRAL2uSM3kHt45fu r5GsmQQEscq9MBsO9KVVAgLYZTj84duihE8zgEVzy6VsuVw9l4m+HzF/jA3IdVWz6mJwW0 J82PA/oi7dzqLpvxK72ATpdwKtk/UVwI76G75wtoo1DP4c360MDLngy9eqWBwZJEukyZha YxFjJmlDXkLRQidssT3bhKwMxBDuopJFzgfHpsUTtVqW2GMUmClC/V2Zl9jbb4crWe1dks DXSuXo5uddJsM+dtSUVKuvRw3XJWXyIMjro8ZbKoW5qI2bFIgrMRWbcIzv/Gkg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652127549; a=rsa-sha256; cv=none; b=VCZcIKSTHdqy3rBL/IMNE/acSInfjpMpu+lUUA74GfiX4iy+fcb42BrGp3Tn+HPbSX/EBz 6Myt3UQrg9V8/Wm+ybfeoW5CStIWFRavKoqz05bdNexCajs5lm+0gMCP3ZmGWEO0LsQbGh PlXiSx+B5uaKR6guZlTX/s3gAfgciZtCaZGGcWxzDXiJd8W+ijx34eDd+2icySeGkRcYOj JD1sg3nwzF8jZ2Db/GkymN7L3lBGVonFOFsDslEetdpI8tzWUoxUHrWeXnKCe2LEIHMCMZ oE1tRqQfSY0QqcNsMBhUq7OPFuNqR9UwnKPOS0493gT+RGU87xT6hjpR8o3hcA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=OIJylu48; 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: -9.50 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=OIJylu48; 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: BCA0F299B1 X-Spam-Score: -9.50 X-Migadu-Scanner: scn0.migadu.com X-TUID: NYL7sjnzXESh Ihor Radchenko writes: > Tyler Grinn writes: > >> >> 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? > > Say, > > '(("PROP_[CD]" . "")) > > or > > '(("PROP_[AB]" . "/") ("PROP_[CD]" . "") (".+" . "=E2=88=BF")) > > Best, > Ihor I'm not sure forcing regular expressions for all use cases is ideal. Is there a way to allow the option (I'm calling it org-property-separators) to allow either regular expressions or exact matches, like org-use-property-inheritance does? Other than that I'm mostly ready to send in my first patch. Should I attach it in this thread or start a new one? Best, Tyler