From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eChCHRDzzmMDhgAAbAwnHQ (envelope-from ) for ; Mon, 23 Jan 2023 21:50:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cNVWHRDzzmMAeAEA9RJhRA (envelope-from ) for ; Mon, 23 Jan 2023 21:50:24 +0100 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 F053815DA for ; Mon, 23 Jan 2023 21:50:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pK3kr-0007pi-By; Mon, 23 Jan 2023 15:49:25 -0500 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 1pK3kd-0007l8-FV for emacs-orgmode@gnu.org; Mon, 23 Jan 2023 15:49:14 -0500 Received: from mail.mojserwer.eu ([195.110.48.8]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pK3kb-0004C5-24 for emacs-orgmode@gnu.org; Mon, 23 Jan 2023 15:49:11 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id AACCE679A1A; Mon, 23 Jan 2023 21:49:03 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QIkMzJ-2EIjT; Mon, 23 Jan 2023 21:48:55 +0100 (CET) Received: from localhost (178235147027.dynamic-3-poz-k-0-1-0.vectranet.pl [178.235.147.27]) by mail.mojserwer.eu (Postfix) with ESMTPSA id DC68C7B3A36; Mon, 23 Jan 2023 21:48:54 +0100 (CET) References: <87ilhysixb.fsf@mbork.pl> <87wn6er3nb.fsf@localhost> <87h6xishve.fsf@mbork.pl> <87tu1ir2oi.fsf@localhost> <87edsls4iu.fsf@mbork.pl> <87h6xhz3rb.fsf@localhost> <877cy3a478.fsf@mbork.pl> <87o7rfii9u.fsf@localhost> User-agent: mu4e 1.1.0; emacs 29.0.50 From: Marcin Borkowski To: Ihor Radchenko Cc: Org-Mode mailing list Subject: Re: Feature request: "task table" (similar to clock table) In-reply-to: <87o7rfii9u.fsf@localhost> Date: Mon, 23 Jan 2023 21:48:53 +0100 Message-ID: <87sfg1nfii.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=195.110.48.8; envelope-from=mbork@mbork.pl; helo=mail.mojserwer.eu X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=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-Country: US X-Migadu-Flow: FLOW_IN 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=1674507024; a=rsa-sha256; cv=none; b=RlnOsgpUuk/mcJHHQ5c0fd5V08YU5G3pIohOV/fVJ4T0OGlOREomdf0GTB644kPxcN1m8Y ekK++hEaN5jbUVzHeoA8+sI519ybD2nKkLDyFOZuwuUufjlAHO2iOGcjEbmuheqccSX31H 8NWTolkWAgI4GWZXF6gbf36r6Q+ukYVp7J2nQiwEf4ygrnfUQrHTg1St1Mo4fDRvryCxd9 Z0pVYklfWGH2AwGTn0rGCAlI+aaiBVY+95NqjbYlH58/bxeHPTC9/aRHSAzifBWHAPZGs1 0FFlCiU1p0ZYXMQsAgxiHSfpI/OiW6K3sTtRA0Up8mh3nXniNAaJTJob7ss9dQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674507024; 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; bh=ieaBbQXSzIVmqKZ3+vLVG6GFxNwKGGGAyY0lhl80als=; b=C+T/XerhDOVm/5wPEpjh78IhY9CtmG5jginvReEGrlqgawwzr6Fle4c91ndvNyb2LrGIdl DQ2y376otFZQ88+sCqwkdh23ALd5vnoCQeT1V++S8/e9GYmdCo2WFz+jxhS4BM6nQr4rjD tq2b/0NY6kV2yKFsWv0AlB1ztv80/0kqAjLn8/vZC+/e8jyy4utATiCmpicFbhfK3ZuA2x hap7kejmJLNNXFqNJylvt68AUD0sCRnunwBlPSh5NoppisyH5bRoV56djpdzIip+iEZ2Zw 362EYbcXGDzRUtzJUvFIWAInVldVTiAqG5ZbMvHwZh6dnv+v9P/MOLYjzEmgBQ== X-Spam-Score: -1.49 X-Migadu-Queue-Id: F053815DA X-Migadu-Scanner: scn0.migadu.com 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 X-Migadu-Spam-Score: -1.49 X-TUID: GVCsKqCl44r4 On 2023-01-03, at 19:29, Ihor Radchenko wrote: > Marcin Borkowski writes: > >> I see. I think I'll go another route then - in fact, I already started, >> see https://mbork.pl/2023-01-02_Computing_Org_mode_TODO_stats :-) > > That will also work. > > But why `plist-get' + `org-element-at-point-no-context'? > > You can instead use `org-element-property' + `org-element-at-point'. > `org-element-property' will be resilient against internal AST > representation changes and `org-element-at-point' will make use of > caching. FYI: here is my finished code: https://mbork.pl/2023-01-09_TODO_stats_table https://mbork.pl/2023-01-23_TODO_stats_table_with_parameters Thanks, -- Marcin Borkowski http://mbork.pl