From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou 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 Message-ID: <87zie9pbht.fsf@nicolasgoaziou.fr> References: <87a86a85s3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBc4F-0001V2-DP for emacs-orgmode@gnu.org; Fri, 19 May 2017 03:11:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBc4C-0005Vc-4W for emacs-orgmode@gnu.org; Fri, 19 May 2017 03:11:19 -0400 Received: from relay7-d.mail.gandi.net ([2001:4b98:c:538::200]:42710) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dBc4B-0005VW-Tx for emacs-orgmode@gnu.org; Fri, 19 May 2017 03:11:16 -0400 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by relay7-d.mail.gandi.net (Postfix) with ESMTPS id D568DBA3 for ; Fri, 19 May 2017 09:11:12 +0200 (CEST) In-Reply-To: <87a86a85s3.fsf@gmail.com> (Fernando Varesi's message of "Thu, 18 May 2017 13:54:20 -0300") 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" To: Fernando Varesi Cc: emacs-orgmode@gnu.org Hello, Fernando Varesi 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 "" :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