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 qhIeKm7h5WQaAAAASxT56A (envelope-from ) for ; Wed, 23 Aug 2023 12:37:34 +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 wPEVKW7h5WTIXwEA9RJhRA (envelope-from ) for ; Wed, 23 Aug 2023 12:37:34 +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 59FBF453E3 for ; Wed, 23 Aug 2023 12:37:34 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=qfJTzYl4; 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=1692787054; 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=PnyzBsSAP4NGx2UiIa6Sl8Pt+Jx5slaPQFqDHhXCezc=; b=kYhJ1aWMOmC1IjlQXOstuCGYFR047HD0eiJEiBDoMkKYb4NMtVPiGZZ2O0nUBgVQ6W85mE Jt+01lyQXg3CFALXGaHTBE40e264iCErO5QMabs1+UN7nQ5XLugLWNUEPHoHTBJ8NGdiuf t3X+LJz+JQOeV6/f2kBSRc8MONNZm/nGpCNFrCrz/xxzbzmhK2j3nbnykU4RAREXjuta3e owzh3L5ap/EMMO82fZ6uGjFdPzKqQaQJftNijexB+JV6x5M2Qio2EIYYr2wAJ68vldlujp 8su+AXpOJZr5JWoe38CwC6HTqETw0iGTKXDxjNqtF14Dh02V1Cq5cM+oyqilag== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692787054; a=rsa-sha256; cv=none; b=dfnsyZsk3Rd04CbhAN32Ck9mAUUvnJHT741Cn/3H4IWBgSRnBUYXS2WYX0PydbPd4eT8o3 pU1OY6oZl3vbkvm0vTvC5GhtAvHcyv2FSwSjtTLSD/ilva9bTGhaURJaWF7sWX3Brn9IPp PBIhvhDY8nlgB8Vo3D0TfEXXGcPE5jdCSX3x2oZzLGZgeXrq0JAIG1kb1CpagSAQXqawiY a/hmYLoON6vKl3JgnTqG66jLmBuBogQhQJ6klcu+0+9Q1Z7LlOhvL7gqKy1GZ/SANm5+Fe q95Z4tDVmedj3zihuv6cLAXYgfNRro5rEI+wEWTuh1IUpOjo2uf+fqzCum2kYg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=qfJTzYl4; 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 1qYlEI-0001Ox-H7; Wed, 23 Aug 2023 06:36:51 -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 1qYlEF-0001Ns-Tm for emacs-orgmode@gnu.org; Wed, 23 Aug 2023 06:36:48 -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 1qYlEE-00043A-1w for emacs-orgmode@gnu.org; Wed, 23 Aug 2023 06:36:47 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id EF5BB240104 for ; Wed, 23 Aug 2023 12:36:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692787004; bh=oeT0XJfLuiuwXcHW33OBHm6koYyAxujvDeDZJhDOi0c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=qfJTzYl4zQwKLtLfB6/UxCxxKFyLt3EN1Xq3IeHHVPOD8bBao9BKnfap1KZKlb616 qGzCYrAkPXc0YQphtlzlr5HvLKtMYuZEe+9AA7dIUltAz19UZEZiExoNVZvpGijJ+H RDXf1GsZHvQKYgRMnMLluOeK4slmCHBjf34mqBH7GrSD+BYyDqkcpZa0f/KbjMt7XR nkawDRVnntBmFLNmQhCsSZs04bbybildZCnWWxH0UgLfEL2qviFlzC5CX7PV6yy5rc gLkd5oUKVvFd2OrCk6JjGgL7Ar41+XQDqKeW/RXK37kYU1nwZSYbPguxwYBALpSuoq KwhKZsTPVgoMA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RW2hC1qt7z6tww; Wed, 23 Aug 2023 12:36:43 +0200 (CEST) From: Ihor Radchenko To: Jens Schmidt Cc: Samuel Loury , emacs-orgmode@gnu.org Subject: Re: [BUG?] Matching tags: & operator no more implicit between tags and special property In-Reply-To: References: <87h6oq2nu1.fsf@gmail.com> Date: Wed, 23 Aug 2023 10:37:13 +0000 Message-ID: <874jkq6o4m.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: -6.41 X-Spam-Score: -6.41 X-Migadu-Queue-Id: 59FBF453E3 X-Migadu-Scanner: mx1.migadu.com X-TUID: /JUilNUJ40k+ Jens Schmidt writes: > OTOH, the unquoting ("\\-") that has been in place before above commit > was broken, which might serve as a hint that few to none actually use > minus signs in property names, at least not in queries. > > Ihor, WDYT? I can (with the necessary delay to allow for proper > testing) revert to some sort of quoting in property names which would > allow for Samuel's use case again. Agree. In case of ambiguity TAG1-TAG2-TAG3-PROP="" like we see here, we should prefer multiple shorter conditions: TAG1 && -TAG2 && -TAG3 && PROP="" When "TAG1-TAG2" is an actual tag name with dash, we may allow escaping. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at