2

In the org-mode Agenda view, I can add a clocktable by pressing R. However, in this table I would like to hide non-contributing files. In any other dynamic clocktable block, I would specify :fileskip0. How can I achieve this for the clocktable in the Agenda view? I would like this formatting by default, i.e. it should show up after just pressing R.

1 Answer 1

2

Hm, I should have dug a little deeper...

The solution is in the variable org-clocktable-defaults. I set it using

(setq org-clocktable-defaults '(:maxlevel 2 :lang "en" :scope file :block nil :wstart 1 :mstart 1 :tstart nil :tend nil :step nil :stepskip0 nil :fileskip0 t :tags nil :match nil :emphasize nil :link nil :narrow 40! :indent t :formula nil :timestamp nil :level nil :tcolumns nil :formatter nil))

which is all default values, except for :fileskip0, which I changed from nil to t.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.