From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph LANGE Subject: Re: Bug: org-dblock-update regression in case of :maxlevel 0 [9.0.5 (9.0.5-elpaplus @ c:/Users/clange/.emacs.d/elpa/org-plus-contrib-20170210/)] Date: Mon, 13 Feb 2017 17:28:58 +0100 Message-ID: References: <871sv2m6v0.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdJUx-0004zX-Ll for emacs-orgmode@gnu.org; Mon, 13 Feb 2017 11:29:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cdJUs-0005zw-Pk for emacs-orgmode@gnu.org; Mon, 13 Feb 2017 11:29:07 -0500 Received: from mail-wr0-x22a.google.com ([2a00:1450:400c:c0c::22a]:34638) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cdJUs-0005zm-JB for emacs-orgmode@gnu.org; Mon, 13 Feb 2017 11:29:02 -0500 Received: by mail-wr0-x22a.google.com with SMTP id o16so154207396wra.1 for ; Mon, 13 Feb 2017 08:29:02 -0800 (PST) In-Reply-To: <871sv2m6v0.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: "emacs-orgmode@gnu.org" Hi Nicolas, Nicolas Goaziou on 2017-02-13 16:46: > I can reproduce the problem. However, I'm not sure to understand the > meaning of ":maxlevel 0". Don't you mean ":maxlevel 1"? I have a clocktable that looks as follows. (Once more, I'll be happy to work this out as a minimum working example – later, don't have time right now.) #+BEGIN: clocktable :block 2017-W01 :maxlevel 0 :scope ("filename.org") :indent The output I got for this from an older Org version (9.0.something, definitely < 9.0.4) was: | File | Headline | Time | |--------------+------------------+--------| | | ALL *Total time* | *1:00* | |--------------+------------------+--------| | filename.org | *File time* | *1:00* | :maxlevel 1 would include level-1 headings _in_ this file, like this: | File | Headline | Time | |--------------+------------------+--------| | | ALL *Total time* | *1:00* | |--------------+------------------+--------| | filename.org | *File time* | *1:00* | | | Task 1 | 0:05 | | | Task 2 | 0:55 | where filename.org looks like * Task 1 * Task 2 ... > It sounds like a user error to me. Maybe the truth is that the handling of :maxlevel 0 was an undocumented feature? Cheers, Christoph -- Dr. Christoph Lange, Enterprise Information Systems Department Applied Computer Science @ University of Bonn; Fraunhofer IAIS http://langec.wordpress.com/about, Skype duke4701