From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id EJiKE1oH52SLewEASxT56A (envelope-from ) for ; Thu, 24 Aug 2023 09:31:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yEmZE1oH52QOYwAA9RJhRA (envelope-from ) for ; Thu, 24 Aug 2023 09:31: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 E9ED747D9D for ; Thu, 24 Aug 2023 09:31:37 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=D514DoE+; 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=1692862298; 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=1r6ENBgt94pu6lwfzV3qM2iSi8inVWx8ww6WrIL60Ss=; b=VRdkt+ZDNS7gJN0+3X3Z6zPfjiZcZirmUN89wFjylmYI7nrJ1giEdGuj4F9OItGmqmRa7F 2BlZ6BHX0rokWmxJFBrk46hY8eQvcRt+Zh4qh00fWk77LcSepo/1VQf0RnAIk8p8GJ2LPX 65lgMayPPaT8sQoLwDzr/Lk49RuiAf5QJd1XHLwg5eDOCaNh/GLOeE3kLC9HeS5ugvFdV4 5DwFW47jfbRDRvVLYWicw+acoWREM+2dGhMc0FrhL7CwcUXIKoafCB8R3UATV1iK/UR+qI i1wZSU6KaVj1+kVsSTZ2Egx5yepzOlzACfLMZkC6TKW7abK7iqhdnR4ebTIWFA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692862298; a=rsa-sha256; cv=none; b=M4AY3jsaedCao0PGKs0LhTwJsJVHqls8wYhRlrlVwiBSwMqUkNUjeNoxof7ENz3VPc8Yzr Ww28htxroAXsRU3HDVsaBiOVTqx5ewHKAheyZpmjcnKmX9F8WHCAHkuWIJhGQD6X9V6QAP DJlXBY8o78YTgCDB+uY125BWzjnqodCGoYMRE/7teVxfPYcnYyjYlfW6YBdtHV4XeqvClE yLKiFXZiy6EV0UzHinhHBVK0UfzCPPnBZ+REUTSkGQkIXTlj54dbedx9fTRmOHEzopnYtA pw2eGpN/knBWfHabjezyENQezXvtEqDIrhFEpzFZJDT9O3PNDHYPYPf+DCMBKQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=D514DoE+; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZ4o4-0000xO-3a; Thu, 24 Aug 2023 03:31:04 -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 1qZ4nc-0000gf-Oq for emacs-orgmode@gnu.org; Thu, 24 Aug 2023 03:30:42 -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 1qZ4nY-0002RP-3I for emacs-orgmode@gnu.org; Thu, 24 Aug 2023 03:30:36 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 23DF6240101 for ; Thu, 24 Aug 2023 09:30:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692862229; bh=2UPMs+E29bClpeKUQ02hN8yL8ERCTQYdueFZXP9H1JE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=D514DoE+7uPedjS25wOd00nQ10Ry3SfRryemSG5eybCm2ZDXRn8b7SZKgAinT5Xr8 0QBwc+asprhqdHbwKi08m5ZwaQ/4UQvfBVj/SxUuFq8ul/4rrRBR1n4iOn9BLKkXgR gjlzDEFetzt7uEeUZdcxR3PEr8eZbs9Doa/AsPHcXN5zzGRYr2LQM3Yq5VDe+pneXa 0cStWp0ijLIPNDjDqEaT3SQ1yL5Wwil2pv77tL2L3w9ErEjTm55MCXdkZq/XrvgPH+ csVSbl/Or76FuUqZNL+T1fXStJGZULFu/mJhdP0EmAKdRChN7Jq2tt/Wuyw56liM3o aLnvC0Fh28XIQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RWZVr2knsz6tw4; Thu, 24 Aug 2023 09:30:28 +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: 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:30:57 +0000 Message-ID: <87r0ns7v7y.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.61 X-Spam-Score: -5.61 X-Migadu-Queue-Id: E9ED747D9D X-Migadu-Scanner: mx1.migadu.com X-TUID: tUY4kPArb/S4 Jens Schmidt writes: > Yet another edge-case: In the Org syntax definition a property > name is really delimited by a "colon-whitespace" sequence. This > takes out the ambiguity whether a property name is defined > non-greedily > > :[^[:space:]]+?: > > or greedily > > :[^[:space:]]+: > > I'm too lazy right now to think about the consequences, but I > hope this makes a difference only for really weird property > matches, like this: > > :foo:=1+:bar:=2 Thus, -1 to this idea with ":" delimiter. If possible, we should avoid edge cases. Otherwise, we are getting rid of the edge case with "-" by introducing yet another edge case. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at