1 Apr 2012 01:59
[PATCH 2/2] Allow org-collector to display heading indentation by passing ':indent t' to the propview block.
Nicolas Girard <girard.nicolas <at> gmail.com>
2012-03-31 23:59:27 GMT
2012-03-31 23:59:27 GMT
---
contrib/lisp/org-collector.el | 22 +++++++++++++++++-----
1 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/contrib/lisp/org-collector.el b/contrib/lisp/org-collector.el
index da612e9..2f5e598 100644
--- a/contrib/lisp/org-collector.el
+++ b/contrib/lisp/org-collector.el
<at> <at> -91,6 +91,7 <at> <at>
;;; Code:
(require 'org)
+(require 'org-clock)
(require 'org-table)
(defvar org-propview-default-value 0
<at> <at> -98,6 +99,11 <at> <at>
value is calculated either through lack of required variables for
a column, or through the generation of an error.")
+(defvar org-propview-indent-function 'org-clocktable-indent-string
+ "A function called with the heading level. Should return a
+string which will be concatenated to the ITEM property when
+':indent t' is passed to the propview block.")
+
(defun and-rest (list)
(if (listp list)
(if (> (length list) 1)
<at> <at> -121,6 +127,7 <at> <at> preceeding the dblock, then update the contents of the dblock."
(scope (plist-get params :scope))
(Continue reading)
RSS Feed