all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Fernando Varesi <fvaresi@gmail.com>
To: emacs-orgmode@gnu.org
Subject: 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: Thu, 18 May 2017 13:54:20 -0300	[thread overview]
Message-ID: <87a86a85s3.fsf@gmail.com> (raw)

Hi everyone!

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?

Thanks and keep up the good work!

Fernando.

Emacs  : GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.12)
 of 2017-04-23, modified by Debian
Package: Org mode version 9.0.7 (9.0.7-elpaplus @ /home/fvaresi/.emacs.d/elpa/org-plus-contrib-20170515/)

             reply	other threads:[~2017-05-18 16:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-18 16:54 Fernando Varesi [this message]
2017-05-19  7:11 ` 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/)] Nicolas Goaziou

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a86a85s3.fsf@gmail.com \
    --to=fvaresi@gmail.com \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.