From mboxrd@z Thu Jan 1 00:00:00 1970 From: "L.C. Karssen" Subject: Re: Clock table quarterly block doesn't work anymore Date: Wed, 14 Oct 2015 16:56:58 +0200 Message-ID: <561E6D3A.9020005@karssen.org> References: <561CFC63.2020807@karssen.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4wA73Ds46WCjeSxXvfUDBNEgd8991jHFI" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmNUY-0005t7-2Q for emacs-orgmode@gnu.org; Wed, 14 Oct 2015 10:57:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmNUS-0007Ft-VZ for emacs-orgmode@gnu.org; Wed, 14 Oct 2015 10:57:21 -0400 Received: from lb1-smtp-cloud3.xs4all.net ([194.109.24.22]:56306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmNUS-0007DQ-Or for emacs-orgmode@gnu.org; Wed, 14 Oct 2015 10:57:16 -0400 In-Reply-To: <561CFC63.2020807@karssen.org> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --4wA73Ds46WCjeSxXvfUDBNEgd8991jHFI Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Dear all, On 13-10-15 14:43, L.C. Karssen wrote: > Dear list, >=20 > 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. >=20 > 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 >=20 > 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 2= 015. > | 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 >=20 > Notice how the caption mentions Q4 instead of Q3 like I asked. The same= > happens when I use Q1 or Q2. >=20 > 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. >=20 >=20 > Any input is appreciated. >=20 >=20 > Best regards, >=20 > Lennart Karssen. >=20 > -- > *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* > L.C. Karssen > Utrecht > The Netherlands >=20 > lennart@karssen.org > http://blog.karssen.org > GPG key ID: A88F554A > -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- >=20 --=20 *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* L.C. Karssen Utrecht The Netherlands lennart@karssen.org http://blog.karssen.org GPG key ID: A88F554A -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- --4wA73Ds46WCjeSxXvfUDBNEgd8991jHFI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAlYebUEACgkQIAMUC9qc1Qk7ygD/e6kB76GoCRERWmc7guDuQ8Jq pOq433l+RuaTF8EP8kwA/jN5wcDoTtqz6xhcX4WLk+6QaBMcLkDNncy4KnawP6fQ =4nf7 -----END PGP SIGNATURE----- --4wA73Ds46WCjeSxXvfUDBNEgd8991jHFI--