emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "L.C. Karssen" <lennart@karssen.org>
To: emacs-orgmode@gnu.org
Subject: Re: Clock table quarterly block doesn't work anymore
Date: Wed, 14 Oct 2015 16:56:58 +0200	[thread overview]
Message-ID: <561E6D3A.9020005@karssen.org> (raw)
In-Reply-To: <561CFC63.2020807@karssen.org>

[-- Attachment #1: Type: text/plain, Size: 3019 bytes --]

Dear all,

On 13-10-15 14:43, L.C. Karssen wrote:
> Dear list,
> 
> I tried to generate a report on my activities of this year using org
> clock tables, and found out that the 'quarterly block option' doesn't
> seem to work any more.
> 
> This is what I do:
> #+begin_src org
> #+BEGIN: clocktable :maxlevel 2 :scope agenda-with-archives :block
> 2015-Q1 :tags "ProjectA"  :fileskip0
> #+END:
> #+end_src
> 
> Until some time ago this worked. However, when I run it now I get:
> #+begin_src org
> #+BEGIN: clocktable :maxlevel 2 :scope agenda-with-archives :block
> 2015-Q3 :tags "ProjectA"  :fileskip0
> #+CAPTION: Clock summary at [2015-10-13 di 10:51], for 4th quarter of 2015.
> | File               | Headline             |   Time |      |
> |--------------------+----------------------+--------+------|
> |                    | ALL *Total time*     | *2:08* |      |
> |--------------------+----------------------+--------+------|
> | todo.org           | *File time*          | *1:34* |      |
> |                    | Programming          |   0:36 |      |
> |                    | \_  support forum    |        | 0:36 |
> |                    | Courses              |   0:58 |      |
> |                    | \_  school 2016      |        | 0:58 |
> |--------------------+----------------------+--------+------|
> | todo_ProjectA.org  | *File time*          | *0:34* |      |
> |                    | Financial            |   0:21 |      |
> |                    | \_  Progress reports |        | 0:21 |
> |                    | WP4                  |   0:13 |      |
> |                    | \_  User support     |        | 0:13 |
> #+END:
> #+end_src
> 
> Notice how the caption mentions Q4 instead of Q3 like I asked. The same
> happens when I use Q1 or Q2.
> 
> Could this be related to the fact that I upgraded to org 8.3 earlier
> this year? I just upgraded to org 20151005 but that didn't fix it.

I just tried Org 8.2.10 and there things work as expected. So I guess
this is indeed a regression.

I tried to find the source of the problem by looking into the git
history, but haven't found anything yet. The most logical place, the
org-quarter-to-date function, hasn't changed since 2010.

Maybe it's in org-clock-special-range, which was changed extensively
(commit c76fef6b). Although I haven't yet grasped exactly what was
changed and how that could cause my problem.


Best,

Lennart.

> 
> 
> Any input is appreciated.
> 
> 
> Best regards,
> 
> Lennart Karssen.
> 
> --
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> L.C. Karssen
> Utrecht
> The Netherlands
> 
> lennart@karssen.org
> http://blog.karssen.org
> GPG key ID: A88F554A
> -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
> 

-- 
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
L.C. Karssen
Utrecht
The Netherlands

lennart@karssen.org
http://blog.karssen.org
GPG key ID: A88F554A
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]

  reply	other threads:[~2015-10-14 14:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-13 12:43 Clock table quarterly block doesn't work anymore L.C. Karssen
2015-10-14 14:56 ` L.C. Karssen [this message]
2015-10-14 22:12   ` Nicolas Goaziou
2015-10-14 22:32     ` L.C. Karssen

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=561E6D3A.9020005@karssen.org \
    --to=lennart@karssen.org \
    --cc=emacs-orgmode@gnu.org \
    /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).