From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YFMCMYNttGMRgQEAbAwnHQ (envelope-from ) for ; Tue, 03 Jan 2023 19:01:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gDz+MINttGOjtwAA9RJhRA (envelope-from ) for ; Tue, 03 Jan 2023 19:01:39 +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 772FA2D082 for ; Tue, 3 Jan 2023 19:01:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pClam-0003m4-Fx; Tue, 03 Jan 2023 13:00:52 -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 1pClag-0003li-Ip for emacs-orgmode@gnu.org; Tue, 03 Jan 2023 13:00:46 -0500 Received: from mail.mojserwer.eu ([195.110.48.8]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pClae-0002Qf-IZ for emacs-orgmode@gnu.org; Tue, 03 Jan 2023 13:00:46 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 4FF4D7EAFA0; Tue, 3 Jan 2023 19:00:34 +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 2NimV34MDeWH; Tue, 3 Jan 2023 19:00:30 +0100 (CET) Received: from localhost (178235147151.dynamic-3-poz-k-0-1-0.vectranet.pl [178.235.147.151]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 546D7BA239D; Tue, 3 Jan 2023 19:00:30 +0100 (CET) References: <87ilhysixb.fsf@mbork.pl> <87wn6er3nb.fsf@localhost> <87h6xishve.fsf@mbork.pl> <87tu1ir2oi.fsf@localhost> <87edsls4iu.fsf@mbork.pl> <87h6xhz3rb.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: <87h6xhz3rb.fsf@localhost> Date: Tue, 03 Jan 2023 19:00:27 +0100 Message-ID: <877cy3a478.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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672768899; 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=UE7E2Vbr6ig+2gQzDUkIsHxYmjicEAEBoI57oW8g8Lg=; b=Jk1RRGNOPfNbhisXSuwLVU/oZNKMeAe2z0eMos7TkudU8LJ9wfPQYc2eVryEpTKy8MCpoT Q1lied/g78gZMR1W8fyp1xbwgjhgIFC9+BB8cP2NcK43ioiw0b0GEL/mL4cpOqnOOSq8f9 MqPeHXrcSwPbIqEKqDSV1KnWCctLr8cA1ywbzlm4JhnpVpSgY9i+JoGmryZW2Itykyr/rD GsOhF3HA7Y1g/E3xrzF7Gw+swOVbSfk6XcKui8+tS742Ls0cdj6bHKkQ6cdKbPmMEwW0H/ dnubelEV9lnTtUWX5V6TnHfEDJZuNzOGMkNrNM+6A55HHGagAFj8/pabElrhsA== 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=1672768899; a=rsa-sha256; cv=none; b=d5Jcc/n89JknFyYjpHDUsLRBWL3uuQkDXIICSLnZxtgBPpIL3VBQHOIizvD4ydnmGbwtMW LObos6GbN3EK06fqUCjG1r65ZNV8XYiB7aNfvtW1H32YKT/q5XWfYhx5efODTWx8hKN47z c0OhHZXQIRtnosP6wO4K88VOy7m/vS8UrSNcQ9AjekCmVkB0ld/OXD0dyhfG7nSNno7vM1 OffvximeNSe9CU3zssfK/xowM2qXqmTp0CaiAZQ+n8YWb08TAgpxUsWJsF9kSbPqOJ6jSY FxOqrvjy2lFebQCxCBpkIW9R9XvpJ++dRaCtoOsHPmu6Dzr2Vdj+f5MRAalbVQ== X-Spam-Score: -2.96 X-Migadu-Queue-Id: 772FA2D082 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-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.96 X-TUID: a5C2U5HmqktM On 2022-12-27, at 08:48, Ihor Radchenko wrote: > Marcin Borkowski writes: > >>> If you have interest, going through org-colview.el code would be >>> helpful. It is a bit messy and deserves more cleaning and commenting. >> >> Since org-colview is pretty long, I decided to look into the manual >> instead. But I couldn't make the column view to do what I wanted, i.e., >> count the TODO, DONE etc. items in various subtrees. (What I want is >> more or less "select status, count(*) group by status" for every level-1 >> tree.) And I don't see the equivalent of "count()" among the possible >> "summary types": https://orgmode.org/manual/Column-attributes.html. > > You will likely need to implement a new summary type and add it to > org-columns-summary-types 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 :-) Thanks, -- Marcin Borkowski http://mbork.pl