[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature request: org-agenda-clockreport-mode to omit files with no c
From: |
Kyle Meyer |
Subject: |
Re: Feature request: org-agenda-clockreport-mode to omit files with no clocked time |
Date: |
Sun, 26 Apr 2020 18:56:10 +0000 |
Stig Brautaset <address@hidden> writes:
> I often end up with empty files in my org-agenda-clockreport-mode,
> something like this. (For the avoidance of doubt: this is an ECM ;-) )
>
> | File | Headline | Time | |
> |--------------+------------------+--------+---|
> | | ALL *Total time* | *0:42* | |
> |--------------+------------------+--------+---|
> | maybe.org | *File time* | *0:00* | |
> |--------------+------------------+--------+---|
> | projects.org | *File time* | *0:00* | |
> |--------------+------------------+--------+---|
> | tasks.org | *File time* | *0:42* | |
> | | Foo | 0:08 | |
> | | Bar | 0:24 | |
> | | Quux | 0:10 | |
>
> I would have liked it to hide all the uninteresting files (i.e. files
> with no clocked time) and instead shown me:
[...]
> It seems like a small-ish change I may brave to implement--unless
> someone beats me to it, which I'm fine with! I would appreciate some
> pointers:
>
> 1. Would I need to introduce an option, in case anyone relies on the
> empty sections? (I *think* not, as I gather the prevailing wind is to
> reduce the number of options.)
I haven't tried, but can you already do this via
org-agenda-clockreport-parameter-plist, in particular by adding
`:fileskip0 t'?