On 2022-12-27, at 08:48, Ihor Radchenko <yanta...@posteo.net> wrote:
> Marcin Borkowski <mb...@mbork.pl> 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