emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Fernando Varesi <fvaresi@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: org-clocktable-write-default fails to display properties [9.0.7 (9.0.7-elpaplus @ /home/fvaresi/.emacs.d/elpa/org-plus-contrib-20170515/)]
Date: Fri, 19 May 2017 09:11:10 +0200	[thread overview]
Message-ID: <87zie9pbht.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87a86a85s3.fsf@gmail.com> (Fernando Varesi's message of "Thu, 18 May 2017 13:54:20 -0300")

Hello,

Fernando Varesi <fvaresi@gmail.com> writes:

> I'm trying to create a clocktable with the following header:
>
> #+BEGIN: clocktable :scope file-with-archives :tstart "2017-05-17 14:00" :tend "<now>" :link t :fileskip0 t :properties ("TODO")
>
> This should display every item with the TODO label (which was removed from headline in a recent release). However, the column is empty.
>
> Doing some debugging I found out that org-clock-get-table-data does return the required properties. However, the default formatter (org-clocktable-write-default) fails to display it.
>
> I think the problem is in line 2596:
>
> 	  ;; Get the list of node entries and iterate over it
> 	  (when (> maxlevel 0)
> 	    (pcase-dolist (`(,level ,headline ,ts ,time . ,props) entries)
>
> Removing the . solves the issue, but I'm not sure what's the purpose
> of it. Any clues on the best way to fix this?

This fix was already done in development branch. Since this is
a frequent request these day, I cherry-picked it onto maint branch.

Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2017-05-19  7:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-18 16:54 Bug: org-clocktable-write-default fails to display properties [9.0.7 (9.0.7-elpaplus @ /home/fvaresi/.emacs.d/elpa/org-plus-contrib-20170515/)] Fernando Varesi
2017-05-19  7:11 ` Nicolas Goaziou [this message]

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=87zie9pbht.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=fvaresi@gmail.com \
    /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).