From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 eBxjAzHe22TKFwEASxT56A (envelope-from ) for ; Tue, 15 Aug 2023 22:21:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oIktAzHe22RDIAEAauVa8A (envelope-from ) for ; Tue, 15 Aug 2023 22:21:05 +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 3E0774FD89 for ; Tue, 15 Aug 2023 22:21:04 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692130864; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=j/tlMrURBAjO/i7RhiJ2C4regp/xxyuh1CQ+0X3+W+I=; b=XHD3SPwESvwGVYZSpwIhbTxD61UWu7hcGVmfzNMkZJZpqoCrd6CT9BRVL4WpS40WrXRthv qNM/fe4uXgMAQL5QSWkyRx68z5hFtJGYMDA/frBY6Oy6LbArTcgVxpBLjWI3I0rCc04UgI nzEInjCk7R75p0cFPj1qD2NBj55cqkekwqqOGEWGLQfgBoEl4A4pJfiybfGgwH0D5GzSPD /O33jk/l34j+aOeWgW39Kbj8oef/3yW4/OdRP2etcj42HnC/Mv3Fbc9OYV8nfn2Z4lgKF5 FqJb9ZqIzLgJTlqfaw32yg63ws19HSq/5IN5iW0mlxTFEQgRcEw0x2O9jk68Fw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692130864; a=rsa-sha256; cv=none; b=lvXWUllH1pWt/uV/+pxV1bSsPYOERcmaEmPUKym9qtcsFNLFYDcuC2o1kSDROoTqqgumHm lWiv345dfbmA3W00iXEOjDyJfPH4pIaViTYl5PJUGxuOYbIYINHHjruWcufcf1X/eFdxIO sYVdHTw6C9MbqUgQTMHUADHz8F1kkqfz75elseo1+UI+WQawK/EfuABoN9g5lhLxSVdCDB s+Ev8FJM3BD6eez8tTbmD/6MJcRyMHYcONQF7WzE3HsRvUdjIGHvkOyLwRn/78jCPDKY7+ 9R+X/1XcLIMqbDP1E77a6p29rhRvGp1ZFnldgqgIDicXXOU6mIj98T8SjwCmEQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qW0WK-0001vG-BR; Tue, 15 Aug 2023 16:20: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 1qW0WI-0001up-De for emacs-orgmode@gnu.org; Tue, 15 Aug 2023 16:20:02 -0400 Received: from mout.kundenserver.de ([212.227.17.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qW0WF-0005eX-SB for emacs-orgmode@gnu.org; Tue, 15 Aug 2023 16:20:02 -0400 Received: from shell.onfire.org ([217.196.148.42]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M58SY-1qX6Rp0vLA-001CpB; Tue, 15 Aug 2023 22:19:53 +0200 From: Christian Barthel To: emacs-orgmode@gnu.org Cc: adam@alphapapa.net Subject: org-ql and inherited tags (?) X-Gpg-Key: https://onfire.org/bch/pgp/pubkey.asc X-Archive: expiry=7 Date: Tue, 15 Aug 2023 22:19:52 +0200 Message-ID: <87y1icoy6v.fsf@shell.onfire.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:bcslRj6yc+7jzi9ROEV65lFlic2M9wcCYKhUb1NsMj688qK22YW kaz5QHhOp/35lLG1CoVBWTtsnD5nwwXKOgIh4V6ro4W5LDfH6mOwn1epUMrL2d8CCHJV+8d NyiZFHMxehBN8TwsSdEZXLLZ5YUcQdEmjwmNjwxbLe6nAb1LJrgWUeRy4K97UYZ87yNjQA9 BVgMekMaeDScqMFFYIwXA== UI-OutboundReport: notjunk:1;M01:P0:3l0FWhNbrag=;sJXoobJKMbUIeluCuhBMegWBuHb r+/VLzYkJQkwOfZIsA77pXMn5L8TluNV8cxMLo04JYzYACY7M4ss/TRUaUtQd/A2Y7qYAGxSr WnxO+fHDhfySVWKKGtRHCHNKn86ADhkVyX2auMjMWrqc7tqYMFlVN0xiHtaPOGrk6yZ2mEhVo 4w3nszmYui1kfXbeP1qSOaHeMzCRh55AtTZPANWHT7eSwcsJupDmri+0wCPnlQIRp9gp13lsE A0ErICGu6X1WTHqBLii0x2unuocEwBEUVbMr/SzyPv7Di9kd+RSuhMN3r0zeK3O+Cg1O6Y4nr 720ZdTcVPMuw0v7NM3x353Dcb6eS1tpEuXUwyA0ndzh2W01kEMfU+WtbK1jB0ZSALyZj7Xdn2 PF4nGOLpIW1Hqdp5EU9p6fQ7DaD+edE6Z9HdHIHJ9psZ55YYYLmMFP7egpJJnrRoznaq1A1Ay ODCVI67p4CloxT7D39iLb9DEH43lrhyoUEwguekIVj9awiGz/bKNJLXt8aVjhOCxquKRxCCBx zhI6KKxZ5FBa3Sn2CjGQXgQQj0cCqkhWbgldAJ70zJhe9jXN/VnXDyJcZc3r7dnQLa5scfJcy GAbIC2GyQcSkIuzS+lHdqDHMY11JUy24bDDjT0q/cj8L0Ma62jnEPdWu80sp5KDKl43HrUTS4 sF+NnkXFKEko774YjlIX21BZ4H23nfn8eViwWmMAyzE8mivLzj0dFEC+dhl5tuKwAJcWaUocT 7c3+HvYNzZt049jFmtBRAUK1WOrzUkjiexWfXVrIaGYa3AbkoBmAqA2ZREkTwuMDdRFQ28bto o50whcLpTlZFE68a3wOdtujMNBj3bbuNtDOigRHfN6qxkN50uCGFd8da7qu13SskiWf5OhRfP saOGDVyUXQmtkFg== Received-SPF: pass client-ip=212.227.17.13; envelope-from=bch@online.de; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=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-Queue-Id: 3E0774FD89 X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: -6.19 X-Migadu-Spam-Score: -6.19 X-TUID: mKw4U+fs4Kw5 Hello, i am using Emacs 29 and org-ql (20230525.1548). I am seeing an error message that I tracked down to setting org-use-property-inheritance. Short demo: Here is a small org-file: --8<---------------cut here---------------start------------->8--- ## file: ~/.emacs_29_test/foo.org * this :PROPERTIES: :ID: 123 :BLOCKEDBY: 123 :END: --8<---------------cut here---------------end--------------->8--- An org-query like the one below works as expected. --8<---------------cut here---------------start------------->8--- (setq org-agenda-files "~/.emacs_29_test/foo.org") (org-ql-search org-agenda-files "(and (level <=3D 3) (property \"BLOCKEDBY\= " \"123\"))") ;; this finds one item `this` --8<---------------cut here---------------end--------------->8--- When I am setting `org-use-property-inheritance` and use the same query, I get an error message: --8<---------------cut here---------------start------------->8--- (setq org-use-property-inheritance '("DIR")) (setq org-agenda-files "~/.emacs_29_test/foo.org") (org-ql-search org-agenda-files "(and (level <=3D 3) (property \"BLOCKEDBY\= " \"123\"))") ;; Error message: byte-compile-log-warning: Invalid Org QL query: "Invalid Org QL query: \"= =E2=80=98DIR=E2=80=99 is a malformed function\", :warning", :error --8<---------------cut here---------------end--------------->8--- I think that this might be related: Any idea whats going wrong? --=20 Christian Barthel