[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-clock-report overrides default :scope argument
From: |
Nicolas Goaziou |
Subject: |
Re: [O] org-clock-report overrides default :scope argument |
Date: |
Wed, 14 Feb 2018 18:01:19 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello,
Tyler Smith <address@hidden> writes:
> 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))
Fixed. Thank you.
Regards,
--
Nicolas Goaziou