emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [BUG] agenda column view summaries missing in block agendas


From: Matt Lundin
Subject: [O] [BUG] agenda column view summaries missing in block agendas
Date: Mon, 16 Jan 2017 16:02:52 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

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 <address@hidden>
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]