From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-clock-report overrides default :scope argument Date: Wed, 14 Feb 2018 18:01:19 +0100 Message-ID: <873723pktc.fsf@nicolasgoaziou.fr> References: <1518540420.4161236.1269501784.0144713F@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1em0Qu-0002Am-6x for emacs-orgmode@gnu.org; Wed, 14 Feb 2018 12:01:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1em0Qt-0002CW-F5 for emacs-orgmode@gnu.org; Wed, 14 Feb 2018 12:01:24 -0500 Received: from relay2-d.mail.gandi.net ([2001:4b98:c:538::194]:45047) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1em0Qt-00029I-90 for emacs-orgmode@gnu.org; Wed, 14 Feb 2018 12:01:23 -0500 In-Reply-To: <1518540420.4161236.1269501784.0144713F@webmail.messagingengine.com> (Tyler Smith's message of "Tue, 13 Feb 2018 11:47:00 -0500") 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: Tyler Smith Cc: Emacs Org-Mode Help Hello, Tyler Smith 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