emacs-orgmode
[Top][All Lists]
Advanced

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

[O] org-clock-report overrides default :scope argument


From: Tyler Smith
Subject: [O] org-clock-report overrides default :scope argument
Date: Tue, 13 Feb 2018 11:47:00 -0500

Hi,

I have set org-clock-clocktable-default-properties to:

    (:scope agenda :stepskip0 t :fileskip0 t :compact t :block today)

However, if I'm in a subtree and I try to insert a new clock table via ~C-c C-x 
C-r~ / ~org-clock-report~, org sets the options to ~:scope subtree~, ignoring 
my customiztion.  

This appears to be by design. However, it's unexpected, as there's nothing in 
the org manual to indicate that the ~:scope~ option is treated differently than 
the others with respect to customization. It might be nicer to users to give 
their preferred options a higher priority than the automatically generated 
ones, i.e., change

    (org-create-dblock
           (org-combine-plists org-clock-clocktable-default-properties props))

to

    (org-create-dblock
           (org-combine-plists props org-clock-clocktable-default-properties))

In the body of ~org-clock-report~. Alternatively, perhaps the org-info manual 
and/or the documentation for ~org-clock-clocktable-default-properties~ could be 
updated to indicate that a custom ~:scope~ setting will be ignored when invoked 
from a subtree?

Best,

Tyler 

Org mode version 9.1.6 (9.1.6-44-ge6f891-elpaplus
GNU Emacs 26.0.90 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.24) of 
2017-12-21



-- 
plantarum.ca



reply via email to

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