From mboxrd@z Thu Jan 1 00:00:00 1970 From: umberto boccioni Subject: Bug? org-clock-report options order sensitive? [9.1.2 (9.1.2-25-g2567fe-elpa @ emacs/.emacs.d/elpa/org-20171030/)] Date: Wed, 1 Nov 2017 17:36:00 +1000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11444a325f1ab8055ce6ec2a" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9nZF-0000W3-1y for emacs-orgmode@gnu.org; Wed, 01 Nov 2017 03:36:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9nZD-0005ej-Ie for emacs-orgmode@gnu.org; Wed, 01 Nov 2017 03:36:05 -0400 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:48259) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e9nZD-0005eQ-3T for emacs-orgmode@gnu.org; Wed, 01 Nov 2017 03:36:03 -0400 Received: by mail-wm0-x234.google.com with SMTP id p75so3056423wmg.3 for ; Wed, 01 Nov 2017 00:36:02 -0700 (PDT) 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-orgmode@gnu.org --001a11444a325f1ab8055ce6ec2a Content-Type: text/plain; charset="UTF-8" Emacs : GNU Emacs 25.2.1 (x86_64-w64-mingw32) of 2017-04-25 Package: Org mode version 9.1.2 (9.1.2-25-g2567fe-elpa @ emacs/. emacs.d/elpa/org-20171030/) In a .org file (not an agenda buffer) using the clock-report (M-x org-clock-report) with otherwise default options, the order of options manually entered seems to change the output of the report. Is this a config thing on my end, or is this intended and I overlooked the relevant section in the manual? Below are the outputs of org-clock-report with only two options reversed (not sure if tables will come out aligned, but differences are obvious). With ":fileskip0" option last, the output is as expected, with the ":scope agenda" using all agenda files as sources for the clocks, and fileskip paring away tables from files not used. However, with the "fileskip0" option first, the "scope" option is not honored and only the clock from the current buffer (the default choice for clocktable) is shown. To do this, I manually reversed the options and then updated the dynamic block via (M-x org-dblock-update) with cursor on the "BEGIN" line. I get similar behavior with other options, e.g. ":link" Is anyone able to reproduce this? #+BEGIN: clocktable :scope agenda :fileskip0 #+CAPTION: Clock summary at [2017-11-01 Wed 16:09] | File | Headline | Time | | |-------------------+--------------------------------------- +------------+------| | | ALL *Total time* | *1d 16:50* | | |-------------------+--------------------------------------- +------------+------| | WorkTasks.org | *File time* | *1d 0:25* | | | | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx... | 1d 0:25 | | |-------------------+--------------------------------------- +------------+------| | Notesxxxxxxxx.org | *File time* | *7:14* | | | | xxxxxxxx | 7:14 | | |-------------------+--------------------------------------- +------------+------| | todo.org | *File time* | *9:11* | | | | xxxxxxxxxxxxxxxxxxxxxxs | 0:19 | | | | xxxxxxxxxxxxxx | 8:52 | | | | \_ sign xxxxx | | 8:52 | #+END: #+BEGIN: clocktable :fileskip0 :scope agenda #+CAPTION: Clock summary at [2017-11-01 Wed 16:52] | Headline | Time | |--------------+--------| | *Total time* | *7:14* | |--------------+--------| | xxxxxxxx | 7:14 | #+END: --001a11444a325f1ab8055ce6ec2a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: base64 PGRpdiBkaXI9Imx0ciI+PGRpdj48ZGl2PjxkaXY+RW1hY3PCoCA6IEdOVSBFbWFjcyAyNS4yLjEg KHg4Nl82NC13NjQtbWluZ3czMik8YnI+wqBvZiAyMDE3LTA0LTI1PGJyPlBhY2thZ2U6IE9yZyBt b2RlIHZlcnNpb24gOS4xLjIgKDkuMS4yLTI1LWcyNTY3ZmUtZWxwYSBAIGVtYWNzLy48d2JyPmVt YWNzLmQvZWxwYS9vcmctMjAxNzEwMzAvKTxicj48YnI+SW4gYS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