From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 y5CSJoijqmMlGwEAbAwnHQ (envelope-from ) for ; Tue, 27 Dec 2022 08:49:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KPzjJIijqmO/FgAAG6o9tA (envelope-from ) for ; Tue, 27 Dec 2022 08:49:28 +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 08B4A230EA for ; Tue, 27 Dec 2022 08:49:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pA4hU-0003BW-7Y; Tue, 27 Dec 2022 02:48:40 -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 1pA4hJ-0003B3-Un for emacs-orgmode@gnu.org; Tue, 27 Dec 2022 02:48:34 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pA4hH-0004Ih-S1 for emacs-orgmode@gnu.org; Tue, 27 Dec 2022 02:48:29 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 56C3A240147 for ; Tue, 27 Dec 2022 08:48:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1672127305; bh=sUm/s7l74N+V7wzBcfn661h8kERXZ/CKBhYHr+dFtCQ=; h=From:To:Cc:Subject:Date:From; b=iZ5rPloqO33RnD1D58p9RG6eTBRLLCoFXovgALmsNAky2R9DIJtUjn5ubtRRyaDeH OqgQd85Cf5e4E8wkr2Zk0c5lyeZ9fN7DUorZARJBEH94lbkiTZBxxMLrqBz2hMvufQ 4bmIW1Rcv9dXic33PkBvScCi//TrguvqrmHWt+aQAsmJhLCNgRXXoqR3Qxk9hyX1E6 g8o1N3csAOVXCwI5lnvSVsbDJka8KXeOvfL/PNdRkYSHMr+54BlZTxuOvlwxSAcxDt DAOoTE0+W9Z7f0aSOLCdWKQ0wv/gnuP3TJ99rRoUxElfkDwAkKdZjiRXLl/AqGchVA IdOP3TytPKAzg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Nh6GG1CJGz6tm9; Tue, 27 Dec 2022 08:48:19 +0100 (CET) From: Ihor Radchenko To: Marcin Borkowski Cc: Org-Mode mailing list Subject: Re: Feature request: "task table" (similar to clock table) In-Reply-To: <87edsls4iu.fsf@mbork.pl> References: <87ilhysixb.fsf@mbork.pl> <87wn6er3nb.fsf@localhost> <87h6xishve.fsf@mbork.pl> <87tu1ir2oi.fsf@localhost> <87edsls4iu.fsf@mbork.pl> Date: Tue, 27 Dec 2022 07:48:08 +0000 Message-ID: <87h6xhz3rb.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H2=-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-Seal: i=1; s=key1; d=yhetil.org; t=1672127367; a=rsa-sha256; cv=none; b=bSM0gQRYOBROGlZp1mB6Z3LcmsBRf42elvfzyp2TWJrUVZeaaBJuf5dtwvNvc3eK3eD4iO WMTEfrB+FKsVLkZPrEqbUQarJXSF4tFUwzdIUrOnjka9IsfzD9gfJcviHbepmEdcUXBOll WqOvENyQVSyOd+tnv7TE8Z+VUCnCDhz6MJttsEFWTKutW3h2rp2Ip2UPWedMnd2V1oLZh5 tO892GfYlDxOrRozQFYAvd4iRVc8oxDzYuOaCt9vSVdArsV9U65TXJUWCrL9ju24eiSjVy AK6L879tux6L+FVLoNwf1TsMcy0AAfy2LvVgxcvUIr8Y/u0T/1sln0pGw2SVvg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=iZ5rPloq; 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=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672127367; 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:dkim-signature; bh=PS5kUSEYLje0WsL0Sopia9jq2I5IgN2IIdTYxWf+JaE=; b=iH1nTxMGh6rugFsIGmCIU0nlWfG8NofRzb9CElCFWLMrBCy8ntgnvfBPJsiK1spEHLYMU8 lvCssgYruGoC/URwlFTimnLJ905wh3LREWz/wC3VKVpWM4qk6yAHReasBc+sgMZM5btvwT ZBBgIr1LYVT4h+6M7Q0kBzYBFi5SstAcVP4r1c8JMYfev/FXRk1dAtrWtGOGpK8nzxu7ob uTNwPz+uiZ2I3X8kl4k/GkpHHxLEIX9ZIo2bIhPpByKI7BBEUQL8BJBy/HPyClTbqKlTUW ycIFfBv2PtplqyD5IEL1EGvl8kOXfooRwrmO01QAaIThbwC8XQl5dGpXYiEXlw== X-Spam-Score: -6.27 X-Migadu-Queue-Id: 08B4A230EA Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=iZ5rPloq; 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=none) header.from=posteo.net X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -6.27 X-TUID: 0+cw2RbLOPdI 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 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at