From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 qP7mOvXd5WR9igAASxT56A (envelope-from ) for ; Wed, 23 Aug 2023 12:22:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CD3gOfXd5WQaCwEAG6o9tA (envelope-from ) for ; Wed, 23 Aug 2023 12:22:45 +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 7D9EA42D67 for ; Wed, 23 Aug 2023 12:22:45 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=vodafonemail.de header.s=vfde-mb-mr2-21dec header.b=K7KSRjdY; 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=quarantine) header.from=vodafonemail.de ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692786165; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=EWEE4MkJKdtLM6vmVRErVbw53760fh7wpXzFto+IiF8=; b=KCIJm4ulILY7WESWUx2Sp6IvWYG2o/UF9rlqcGV+Dk3SwAhssAMAxxo84yyPMumi2hbIc7 HYxPfF3XrcD6fRJB5Zpu1fSNnuY4mcZsydrH7xU85yHoUVCX58jdqIWTKoieHYmcWt/VWY d0Y1NjD97zZCTXng3KO/tj0DMRxzfLGW0JPC2o7ekYSosATVjFCwnFcqeosrMDDJJKqieL W1ZAVBCrGoMF873TwpDvIU2oXONnBXER+45Njq0pBZfRWsN1jdboOnH88C3vSy8P9b10Ai VoEQZPC495gyuu541uV/9WkNH81FA7p8ZqCnvowFKtGcbxNlSHsNM/9o0Z7qxg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692786165; a=rsa-sha256; cv=none; b=nrRzwd5/Jgo1cpvTjO9eHY5BbevLEHXGOeMt7gCjhP1bhMlY3BE24nGzd1Wz0dM18u3yOW 0LxPopT3J1bYRmMT9Q/Rec4rXlT9XYorBI4wAXtcFXZxegWUeCKbzVyeA6zTYb+0XkGKyV pcqypNAdm/LSRjc6aLouoKAVgc+aMPqrUBGW/S8ArEyfi4wPzfHv1cya/p/ZHHMt1h/V8v +ahitLZuknMr9jSAqH2RFHIcNaXaYxlRfXGQlj/gQoPIFBjAsvF2uoXwf6AlKKYVWIRzYN OG2EiM0NXlba1rO71N5qgSYwnioIFWZfjuUHcZKhHXVB9Y35keXvlToaVrDwbw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=vodafonemail.de header.s=vfde-mb-mr2-21dec header.b=K7KSRjdY; 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=quarantine) header.from=vodafonemail.de Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYkzo-0006vM-QY; Wed, 23 Aug 2023 06:21:52 -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 1qYkzl-0006v6-7D for emacs-orgmode@gnu.org; Wed, 23 Aug 2023 06:21:49 -0400 Received: from mr4.vodafonemail.de ([145.253.228.164]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYkzj-0001I2-1N for emacs-orgmode@gnu.org; Wed, 23 Aug 2023 06:21:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-21dec; t=1692786098; bh=EWEE4MkJKdtLM6vmVRErVbw53760fh7wpXzFto+IiF8=; h=Message-ID:Date:User-Agent:Subject:To:References:Content-Language: From:In-Reply-To:Content-Type:From; b=K7KSRjdYFao28o9pLuYEohTA5T5PokJ0i1ZNigu3AdfvkvEyuJowPPZUuvjxDrvnN 3OHr8EypVC4QLKBfbo8dw7GjTDLYnlTxmXvF4lpQNFHDDV5PL+9AHwMZNnMHN8GbjX 4a9LtkivXDU1H4UTwbyeuPaMR93VjtsEx+aublnk= Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr4.vodafonemail.de (Postfix) with ESMTPS id 4RW2Lp1PZYz1y3W; Wed, 23 Aug 2023 10:21:38 +0000 (UTC) Received: from [192.168.0.138] (unknown [86.33.74.50]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4RW2Lb05jPz9s6J; Wed, 23 Aug 2023 10:21:23 +0000 (UTC) Message-ID: Date: Wed, 23 Aug 2023 12:21:16 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [BUG?] Matching tags: & operator no more implicit between tags and special property To: Samuel Loury , emacs-orgmode@gnu.org, Ihor Radchenko References: <87h6oq2nu1.fsf@gmail.com> Content-Language: de-DE-frami, en-US From: Jens Schmidt In-Reply-To: <87h6oq2nu1.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-purgate-type: clean X-purgate: clean X-purgate-size: 947 X-purgate-ID: 155817::1692786093-607DDE22-393B9259/0/0 Received-SPF: pass client-ip=145.253.228.164; envelope-from=jschmidt4gnu@vodafonemail.de; helo=mr4.vodafonemail.de X-Spam_score_int: -45 X-Spam_score: -4.6 X-Spam_bar: ---- X-Spam_report: (-4.6 / 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, NICE_REPLY_A=-1.767, RCVD_IN_DNSWL_LOW=-0.7, 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.95 X-Spam-Score: -6.95 X-Migadu-Queue-Id: 7D9EA42D67 X-Migadu-Scanner: mx1.migadu.com X-TUID: CMfDijSohZWB Thanks for the detailed report! On 2023-08-23 09:57, Samuel Loury wrote: > The following tags query used to implicitly behave as a AND > "-tag-TODO=\"TODO\"". > Before commit f689eb44f175fbbdc4e8ef0ad6f5201b10863438, this showed only > "nothing", as expected. That was my short-sighted attempt to allow for unquoted minus signs in property names, and your query right now matches all entries having a property "tag-TODO" different from "TODO". TBH, I didn't think about your use case, where two negations are concatenated directly after each other. 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.