From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id CAzVFncLO2abOQAAe85BDQ:P1 (envelope-from ) for ; Wed, 08 May 2024 07:19:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id CAzVFncLO2abOQAAe85BDQ (envelope-from ) for ; Wed, 08 May 2024 07:19:51 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=uberco.de header.s=fm2 header.b="j/x8rtYg"; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=Al0VQWUM; 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=1715145591; 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:dkim-signature; bh=Y2/v2XyhBIFZBVhLF+mHHYVuj9BdBXB95pHM33ItdiY=; b=cccsqtxjNaar9a9Of4cBxoHghWfeEPks+RQvajDzsJT1Vp5cujdsbf7+QGArB5ztgJPWsm H6ODMD4esXKLdFWK2cQdh10cx7wWnKGjJ5BuW84yER9gc3aLCdWnYEb/sWx7fD8ihiZ7yV 2SEPGsc9nq3KwzrAjDVn5kjZiaGjgwSeCvTIV7JwayNLen4ZtnewdGHtU2xZ4KHgMT8EXT hUpQ5GwVS5TsbFxDD/fYPfnhGRHFXfhmCA6C3vpg4sZ8yb9L/vm+lVM0ZONT3rovLP2mOM DEizc1DqTMzK4saJYIoJIWVS1pfxnV3eVRMiUiV3plMY6QgQW9M1kUKsv6pzJg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=uberco.de header.s=fm2 header.b="j/x8rtYg"; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=Al0VQWUM; 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=1715145591; a=rsa-sha256; cv=none; b=ibVLoaAkj2E+WrXZRYzF1tnu+oVlt9Ll8j1Lh1CYPbk1WzS388jkaWt0jX25/UKARnYlk0 hDyKoZS+ZrS86KYCwFjhMBB7GDvQ9Dg+beht4iVXGKtR+pc7u1mNXSJaqdrzFHkfJ/L7GI 3TjHJq61UwZzmdPXRQeQo0Xv5EjPhac+hhNhOFH3xkAJqM1h9GBdNB7gjAJ8FpU+SCu6iE fISBGBQf8cMsO7jeSsuiq5jgek9hqQzDCmTX1D85sO7cfi3YrMndlLYomNyOHoW6dsVSAA yj8y40TemPHheldXlpDlQXH52b7x/Tlbbla+H506iUxSqpK/Zg19NenJAQkqMw== 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 376573F03D for ; Wed, 8 May 2024 07:19:50 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4Zhq-0003Vw-PE; Wed, 08 May 2024 01:19:06 -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 1s4IkN-0001u5-6f for emacs-orgmode@gnu.org; Tue, 07 May 2024 07:12:35 -0400 Received: from wfout3-smtp.messagingengine.com ([64.147.123.146]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s4IkK-0003GJ-PP for emacs-orgmode@gnu.org; Tue, 07 May 2024 07:12:34 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfout.west.internal (Postfix) with ESMTP id 4F7A11C0018B; Tue, 7 May 2024 07:12:29 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 07 May 2024 07:12:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uberco.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:message-id:mime-version:reply-to :subject:subject:to:to; s=fm2; t=1715080348; x=1715166748; bh=Y2 /v2XyhBIFZBVhLF+mHHYVuj9BdBXB95pHM33ItdiY=; b=j/x8rtYgSFehqK5+Zw pvHH7dSPKmrAwBIY7nq8sMpvMWmq2gdTTc52EumzwJhEeKfmyRT5ey8s1+T9TWih RY1UtmG7DX65RkdHoTqlacqTHEBHNozO7Ahu25SIpWvbpRHLCm7W9j4IY0+/3cSj DVoA9ehL3EXbkGKqFhNLglyi0FIXgrxAzvCMDb+xQe6ocOIg+Mr+T9BOikULG4xE CtTmSOHDibYE5ZpdqjFPgPpshC/UnB0b2P5xWPqU6UbGLUdMhIMlGk4LeCyrkOta QstT8Z3iXK9/EhmL7fpHJCMGXULMErmJvNIFzDfRNOveSvfHHvNUCSCeS5f1KXTU XeQA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1715080348; x=1715166748; bh=Y2/v2XyhBIFZB VhLF+mHHYVuj9BdBXB95pHM33ItdiY=; b=Al0VQWUMd3jaStSxSge49Yr7eA987 DXEkDDB8bWOYV74SjdDes9mmOxAPWO+1tYJSHdY7o4Ujc/oawOvfbiaQ9/lVdrRS MrQwN8Xf3hFpFQMKZdzdcQ5Qv8cpUWwjcgWTo9lEQnhyPRKM8mKdzPB+/D4oVaow N9VFlNY125IDOYGAaly0sb7GTORcV1259SB9ReMNjWvy/8NlOYlXqqh3SJpVuI3h 9omUaSBwRJWBTacVZ5OjGtcoM5ce/uNOB1pi3vPvoVfoAC6lL1NDnESRdPGx9o9P ExIEDT8ocsdOZQ7WEKMxQq0ZcITUUIEsZrCiRXndhxFabRFaGaPScalGw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvddvkedgfeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfvvefhufgtgfesthejre dttddvjeenucfhrhhomhepfdfhvghlihigucfjrdcuffgrhhhlkhgvfdcuoehfhhgusehu sggvrhgtohdruggvqeenucggtffrrghtthgvrhhnpeehgeffjefgvdduhfdvveeijeejje ekjeeuheeigfffgeehjeevuefhtddtfeetkeenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehfhhgusehusggvrhgtohdruggv X-ME-Proxy: Feedback-ID: if85947a7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 7 May 2024 07:12:28 -0400 (EDT) Message-ID: <8acdd46f-4137-4957-bb52-827d817eb5e7@uberco.de> Date: Tue, 7 May 2024 13:12:26 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: emacs-orgmode@gnu.org Cc: info@protesilaos.com From: "Felix H. Dahlke" Subject: [BUG] clocktable match doesn't seem to support matching items based on parent property [9.6.15 (release_9.6.15 @ /snap/emacs/current/usr/share/emacs/29.3/lisp/org/)] Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=64.147.123.146; envelope-from=fhd@uberco.de; helo=wfout3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 08 May 2024 01:18:47 -0400 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: -9.49 X-Spam-Score: -9.49 X-Migadu-Queue-Id: 376573F03D X-Migadu-Scanner: mx13.migadu.com X-TUID: h56+hXQk9wIJ I want to create a clocktable report for all items under a specific heading, using the match keyword and the ITEM property. It appears that matching items this way won't include any subheadings, therefore not showing their times in the clocktable. My guess would be that agenda and clocktable share the same matching logic, and matching subheadings by the property of their parent does probably not make sense for the agenda. I'd argue that for clocktables, it would. Example: * Level 1 :level_1: ** Level 2 :PROPERTIES: :LEVEL: 1 :END: *** Level 3 :LOGBOOK: CLOCK: [2024-05-07 Tue 11:00]--[2024-05-07 Tue 12:00] => 1:00 :END: * Report matching the ITEM property doesn't work #+BEGIN: clocktable :scope file :match "ITEM=\"Level 1\"" #+CAPTION: Clock summary at [2024-05-07 Tue 13:00] | Headline | Time | |--------------+--------| | *Total time* | *0:00* | #+END: * Report matching an arbitrary property doesn't work #+BEGIN: clocktable :scope file :match "LEVEL=\"1\"" #+CAPTION: Clock summary at [2024-05-07 Tue 13:00] | Headline | Time | |--------------+--------| | *Total time* | *0:00* | #+END: Note that this _does_ work if ~org-use-property-inheritance~ is not ~nil~. * Report matching a tag works #+BEGIN: clocktable :scope file :maxlevel 2 :match "level_1" #+CAPTION: Clock summary at [2024-05-07 Tue 13:00] | Headline | Time | | |--------------+--------+------| | *Total time* | *1:00* | | |--------------+--------+------| | Level 1 | 1:00 | | | \_ Level 2 | | 1:00 | #+END: Workaround: As shown above, using either a tag or a custom property on the top-level heading I want to generate the clocktable for works. For the custom property to work, org-use-property-inheritance needs to be non-nil. Emacs : GNU Emacs 29.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2024-03-25 Package: Org mode version 9.6.15 (release_9.6.15 @ /snap/emacs/current/usr/share/emacs/29.3/lisp/org/)