From 652e5e0ecfe54b75097a7048ff31a7f0e971a2a4 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Wed, 21 Mar 2012 23:57:29 +0100 Subject: [PATCH] Bugfix: use the date as the value for the ITEM column when displaying a summary. * org-colview.el (org-columns-display-here): Bugfix: use the date as the value for the ITEM column when displaying a summary. Thanks to Rasmus Rempling for reporting this and to Nick Dokos for digging further. --- lisp/org-colview.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/org-colview.el b/lisp/org-colview.el index 04d2b626f..95228cc4f 100644 --- a/lisp/org-colview.el +++ b/lisp/org-colview.el @@ -194,7 +194,9 @@ This is the compiled version of the format.") (point-at-bol) (point-at-eol))))) ;; In agenda, just get the `txt' property (org-no-properties - (org-get-at-bol 'txt)))) + (or (org-get-at-bol 'txt) + (buffer-substring + (point) (progn (end-of-line) (point))))))) (assoc property props)) width (or (cdr (assoc property org-columns-current-maxwidths)) (nth 2 column)