From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id Do4NNrUH52TzCwAASxT56A (envelope-from ) for ; Thu, 24 Aug 2023 09:33:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OK5SNbUH52QgbQAA9RJhRA (envelope-from ) for ; Thu, 24 Aug 2023 09:33: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 BC5B051642 for ; Thu, 24 Aug 2023 09:33:09 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=nlWX15eL; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692862389; 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=mxTnWaBlorZrn4IVz48iWa/RfZnMJZflSsWS5v0gItg=; b=YU/mFfwuDgC60xQM5q/6nAET6jrjoqCO2XqSdFNFq5wqm48B+V6OjvRQIltzwQVlEQJqmh yXEgcjC2anDAvYVGW6T8ZnzuQ/KmtAyFHVWDFNBfWvnQ3KrMvyMA3Q1McKQVVEp9kuB8P9 n2lOPlTdhcvMylbwo67yLowfuj9efOP0ui4HsbMCMhMrGXfL5h0Qs+2NFAPIAicBWnPsbM 4d274Vwt0pA1SYnf94jvLuW+SLkUgh32FY196m2W3AFSNB0F5KLw1XqY/ampyX4D2xcvCP W1v2Bty+kBN+ZJ4PiXQSn/IfvBgmtNI0PBKtanJxolmq3jL9uPpnfKa5hAmpYg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=nlWX15eL; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692862389; a=rsa-sha256; cv=none; b=cqkNKKUBNR5NNBqcQql149G9lBG1Ku5Z5xa6KPpPgE9U9e6clWayJ3UZaDpeFQv+KQnh2Z mqeormZns3BE0eLzgvVllRmdMUEzqYqQNF6AugsXnl0henmWbqsw/7t6nylRPaID5tO7Fc +kMrb6gYKOxUMeviCWCxAWM+7Y0ZkXyt+qMwK5xua8C4601XOGpWz3pxi3DeICgsO9disj dwyxfR6jZwT2eG25j1nBsWPKzR6r8PtWhOBCWfckPn7myBnPGTz+boqQ8xa5Ugi28/IH3T g3o2lBhzfQ1BmtvXnzxRcaTB6GGtXLSSS7fgxUXUqS6NSqGCIIzgJEgLSfdf3Q== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZ4pj-0004sx-N5; Thu, 24 Aug 2023 03:32:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZ4pU-0004Kb-F0 for emacs-orgmode@gnu.org; Thu, 24 Aug 2023 03:32:35 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZ4pO-0002ip-Kk for emacs-orgmode@gnu.org; Thu, 24 Aug 2023 03:32:31 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 881A8240101 for ; Thu, 24 Aug 2023 09:32:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692862344; bh=JxStOdajgnGMauHhlOV/pXWs31rKQnlrOIjHnBKIx+4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=nlWX15eLweNkkD1Bxrm2VVWgWy/gtT25ZXalkZkOKMkYsGuCxPKv1/hq53foZsUKt JBue4wOnaa+UbWN7lAqT0EgQ0tYf06o4ceYZWOFZOgWmjze71qiYkgl7sS7suZHulY H15XSmnzLPlR8m3mxGrqPAZ4HJg5dLxA5/iJxemrydMfvE83q0yIkXjPX+x3goGbmF SF+bmbJcWvx75uExqEVu6J/yVfPUYlJcy2so46VkYPhNxQ2JDQ/iCdSF1PfbTAabqd 3lTZvfUUeXgTcWBbvqNpO5XkQhb4mPmFPcWzT9O5QrWlN5VZlu2K0kTRBg5GXtE2rS D9Nhtp6Aih2Qw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RWZY36KnPz9ry6; Thu, 24 Aug 2023 09:32:23 +0200 (CEST) From: Ihor Radchenko To: Jens Schmidt Cc: Samuel Loury , emacs-orgmode@gnu.org Subject: Re: [RFC] Quoting property names in tag/property matches [Was: [BUG?] Matching tags: & operator no more implicit between tags and special property] In-Reply-To: <748acab1-eaf4-fdd3-13a6-26e6229de613@vodafonemail.de> References: <87h6oq2nu1.fsf@gmail.com> <877cpm6oe3.fsf@localhost> <811c9bda-cea4-c0d6-30b4-53ebdb432ab6@vodafonemail.de> <748acab1-eaf4-fdd3-13a6-26e6229de613@vodafonemail.de> Date: Thu, 24 Aug 2023 07:32:53 +0000 Message-ID: <87o7iw7v4q.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -7.23 X-Spam-Score: -7.23 X-Migadu-Queue-Id: BC5B051642 X-TUID: VU4Ut6AIVYve Jens Schmidt writes: >> When "TAG1-TAG2" is an actual tag name with dash, we may allow escaping. > > But I'd like to clarify that. From the Org syntax > > https://orgmode.org/worg/org-syntax.html#Headings > > I understood that tag names cannot contain minus characters, > and `org-tag-re' does not match any, either. So we are talking > about property names only, right? You are right. > Then the question is what quoting scheme to use for property > names. The previous one used before my commit f689eb4 > > (A) "\\-" => "-" > > never has been documented and never has been working properly, > since the *matching* of these was done on *prop* names, but > the *unescaping* on *tag* names. So we are basically free to > come up with something new. > > Some obvious choice would be a simpler single backslash > > (B) "\-" => "-" I prefer (B). And we will need to allow escaping of the "\" itself. Like \\. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at