emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Clock table quarterly block doesn't work anymore


From: L.C. Karssen
Subject: Re: [O] Clock table quarterly block doesn't work anymore
Date: Wed, 14 Oct 2015 16:56:58 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

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
> 
> address@hidden
> http://blog.karssen.org
> GPG key ID: A88F554A
> -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
> 

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

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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]