emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christoph LANGE <math.semantic.web@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
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	[thread overview]
Message-ID: <e49381a6-b5b6-e0be-0a3e-0e9c820a107c@gmail.com> (raw)
In-Reply-To: <871sv2m6v0.fsf@nicolasgoaziou.fr>

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

  reply	other threads:[~2017-02-13 16:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-12 19:54 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/)] Christoph LANGE
2017-02-13 15:46 ` Nicolas Goaziou
2017-02-13 16:28   ` Christoph LANGE [this message]
2017-02-13 20:34     ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e49381a6-b5b6-e0be-0a3e-0e9c820a107c@gmail.com \
    --to=math.semantic.web@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).