emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bizarre: checkbox in properties, counting does not work with subhead


From: Ihor Radchenko
Subject: Re: bizarre: checkbox in properties, counting does not work with subheadings
Date: Mon, 17 Oct 2022 08:08:50 +0000

Uwe Brauer <oub@mat.ucm.es> writes:

> #+BEGIN: columnview :maxlevel 2 :skip-empty-rows t :hlines 1 :indent nil  
> :format "%5TODO(Status) %5Nr(Nr) %5Comp1(Comp1){X/} %5Comp2(Comp2){X/}"
> | Status | Nr | Comp1 | Comp2 |
> |--------+----+-------+-------|
> |        |    | [3/4] | [3/4] |
> | DONE   |  1 | [X]   | [X]   |
> | TODO   |  2 | [X]   | [X]   |
> | DONE   |  3 | [ ]   | [X]   |
> | WAIT   |  4 | [X]   | [ ]   |
> #+END:
>
>
> #+end_src
>
> Everything is as expected, now I will lower the level of the first and
> last subheaders and the statistics of the checkbox turns nuts:

Confirmed.
The culprit is org-columns--compute-spec.
I do not fully understand how it works, but it feels like your scenario
breaks some implicit assumption in the function.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]