emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Clock table quarterly block doesn't work anymore
@ 2015-10-13 12:43 L.C. Karssen
  2015-10-14 14:56 ` L.C. Karssen
  0 siblings, 1 reply; 4+ messages in thread
From: L.C. Karssen @ 2015-10-13 12:43 UTC (permalink / raw)
  To: emacs-orgmode

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

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.


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
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Clock table quarterly block doesn't work anymore
  2015-10-13 12:43 Clock table quarterly block doesn't work anymore L.C. Karssen
@ 2015-10-14 14:56 ` L.C. Karssen
  2015-10-14 22:12   ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: L.C. Karssen @ 2015-10-14 14:56 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Clock table quarterly block doesn't work anymore
  2015-10-14 14:56 ` L.C. Karssen
@ 2015-10-14 22:12   ` Nicolas Goaziou
  2015-10-14 22:32     ` L.C. Karssen
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2015-10-14 22:12 UTC (permalink / raw)
  To: L.C. Karssen; +Cc: emacs-orgmode

Hello,

> 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.

This is fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Clock table quarterly block doesn't work anymore
  2015-10-14 22:12   ` Nicolas Goaziou
@ 2015-10-14 22:32     ` L.C. Karssen
  0 siblings, 0 replies; 4+ messages in thread
From: L.C. Karssen @ 2015-10-14 22:32 UTC (permalink / raw)
  To: emacs-orgmode

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



On 15-10-15 00:12, Nicolas Goaziou wrote:
> Hello,
> 
>> 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.
> 
> This is fixed. Thank you.

Thank you for fixing it this quickly!


Lennart.


> 
> Regards,
> 

-- 
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-10-14 22:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-13 12:43 Clock table quarterly block doesn't work anymore L.C. Karssen
2015-10-14 14:56 ` L.C. Karssen
2015-10-14 22:12   ` Nicolas Goaziou
2015-10-14 22:32     ` L.C. Karssen

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).