From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tyler Smith Subject: org-clock-report overrides default :scope argument Date: Tue, 13 Feb 2018 11:47:00 -0500 Message-ID: <1518540420.4161236.1269501784.0144713F@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47369) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eldjV-0002gE-Nv for emacs-orgmode@gnu.org; Tue, 13 Feb 2018 11:47:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eldjS-0001a0-LU for emacs-orgmode@gnu.org; Tue, 13 Feb 2018 11:47:05 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:34663) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eldjS-0001Zj-EU for emacs-orgmode@gnu.org; Tue, 13 Feb 2018 11:47:02 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id BB89621433 for ; Tue, 13 Feb 2018 11:47:00 -0500 (EST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Emacs Org-Mode Help 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