From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: [BUG] agenda column view summaries missing in block agendas Date: Mon, 16 Jan 2017 16:02:52 -0600 Message-ID: <87mveqacj7.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cTFMf-0002Hp-P8 for emacs-orgmode@gnu.org; Mon, 16 Jan 2017 17:02:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cTFMc-0000Qi-KV for emacs-orgmode@gnu.org; Mon, 16 Jan 2017 17:02:57 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:54239) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cTFMc-0000Qe-Br for emacs-orgmode@gnu.org; Mon, 16 Jan 2017 17:02:54 -0500 Received: from archdesk (wcnat-96-12.wheaton.edu [209.147.96.12]) by mail.messagingengine.com (Postfix) with ESMTPA id 52DCE24731 for ; Mon, 16 Jan 2017 17:02:53 -0500 (EST) 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: Org Mode I'd like to report another bug in agenda column view summary displays. If one uses a custom agenda command with multiple blocks, column summaries in the agenda display do not display for all blocks. Steps to replicate: emacs -Q -l ~/minimal.el Where minimal contains.... --8<---------------cut here---------------start------------->8--- (add-to-list 'load-path "~/org-mode/lisp/") (add-to-list 'load-path "~/org-mode/contrib/lisp/") (require 'org) (setq org-agenda-files '("~/test.org")) (setq org-columns-default-format "%40ITEM(Task) %8Effort(Estimate){:} %8CLOCKSUM %20SCHEDULED %20DEADLINE %20TIMESTAMP") (setq org-agenda-custom-commands '(("n" "Now" ((todo "TODO") (agenda ""))))) --8<---------------cut here---------------end--------------->8--- and ~/test.org contains... --8<---------------cut here---------------start------------->8--- * TODO Buy groceries SCHEDULED: <2017-01-16 Mon> :PROPERTIES: :Effort: 0:10 :END: * TODO Mow lawn SCHEDULED: <2017-01-16 Mon> * TODO Clean house SCHEDULED: <2017-01-16 Mon> --8<---------------cut here---------------end--------------->8--- If I call the custom agenda command above and then org-agenda-columns, no summary data is displayed for the first block (the todo block). Summary data does appear at the top of the agenda block. A git bisect reveals that this bug was introduced in 2015 with the following commit. Earlier versions of org display independent column summaries for all agenda blocks. --8<---------------cut here---------------start------------->8--- f1ee487218da00962eb8b67d1f5ec1f54a5a04db is the first bad commit commit f1ee487218da00962eb8b67d1f5ec1f54a5a04db Author: Nicolas Goaziou Date: Tue Jun 2 21:56:50 2015 +0200 org-colview: Handle user-defined inheritance in agenda colview * lisp/org-colview.el (org-agenda-columns): Use `org-entry-get' instead of `org-entry-properties' to handle inheritance for user-provided properties. :040000 040000 6348c8dd00846a942b50d6495800f5137c99620a eedfa94ed29964ee0af9ed22735fcef8158ebea8 M lisp --8<---------------cut here---------------end--------------->8--- Best, Matt