Uwe Brauer <o...@mat.ucm.es> writes: > ** All groups > #+BEGIN: columnview :hlines 2 :match "H1" :maxlevel 2 :skip-empty-rows t > :indent nil :format "%5TODO(Status) %5Id(Group) %5Ex(Exercise) > %5Sheet(Sheet) %7ST1(Status){X/}" > | Status | Group | Exercise | Sheet | Status | > |--------+-------+----------+-------+--------| > | | | | | [1/2] | > |--------+-------+----------+-------+--------| > | DONE | G1 | E1 | H1 | [ ] | > |--------+-------+----------+-------+--------| > | DONE | G2 | E3 | H1 | [X] | > |--------+-------+----------+-------+--------| > | TODO | G3 | E2 | H2 | | > #+END > I don't understand why the line > | TODO | G3 | E2 | H2 | | > appears in the table, it does not fit condition
Try on latest master ;) > I deleted the maxlevel condition > > > #+BEGIN: columnview :hlines 2 :match "H1" :skip-empty-rows t :indent nil > :format "%5TODO(Status) %5Id(Group) %5Ex(Exercise) %5Sheet(Sheet) > %7ST1(Status){X/}" > | Status | Group | Exercise | Sheet | Status | > |--------+-------+----------+-------+--------| > | DONE | G1 | E1 | H1 | [ ] | > |--------+-------+----------+-------+--------| > | DONE | G2 | E3 | H1 | [X] | > #+END > > But now the row > > | | | | | [1/2] | > > Is missing. I am confused, I thought maybe exclude-tags could help This is expected. The first heading does not match the condition. > #+BEGIN: columnview :hlines 2 :exclude-tags (H2) :skip-empty-rows t > :indent nil :format "%5TODO(Status) %5Id(Group) %5Ex(Exercise) > %5Sheet(Sheet) %7ST1(Status){X/}" > | Status | Group | Exercise | Sheet | Status | > |--------+-------+----------+-------+--------| > | | | | | [1/2] | > |--------+-------+----------+-------+--------| > | DONE | G1 | E1 | H1 | [ ] | > |--------+-------+----------+-------+--------| > | DONE | G2 | E3 | H1 | [X] | > |--------+-------+----------+-------+--------| > | TODO | G3 | E2 | H2 | | > #+END > > But not really, help would be appreciated. Add quotes around H2: #+BEGIN: columnview :hlines 2 :exclude-tags ("H2") :skip-empty-rows t :indent nil :format "%5TODO(Status) %5Id(Group) %5Ex(Exercise) %5Sheet(Sheet) %7ST1(Status){X/}" Best, Ihor