[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [PATCH] Fix reported file time for clock reports
From: |
Bernt Hansen |
Subject: |
[O] [PATCH] Fix reported file time for clock reports |
Date: |
Wed, 8 Jun 2011 15:41:45 -0400 |
* lisp/org-clock.el (org-clocktable-write-default):
---
Hi,
My agenda clock reports were not displaying total file time correctly anymore.
Since the patch for adding properties used up a placeholder when no properties
are
provided there was no place to put the total file time into the summary line.
I'm not completely sure the placeholder is in the right place for this but this
works for me.
Please double check before applying.
This patch is available at git://git.norang.ca/org-mode.git
fix-clock-report-file-time
Regards,
Bernt
lisp/org-clock.el | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index a3caa48..8d00c0a 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -2162,9 +2162,9 @@ from the dynamic block defintion."
(insert-before-markers "|-\n") ; a hline because a new file starts
;; First the file time, if we have multiple files
(when multifile
- ;; Summarize the time colleted from this file
+ ;; Summarize the time collected from this file
(insert-before-markers
- (format (concat "| %s %s | %s*" (nth 8 lwords) "* | *%s*|\n")
+ (format (concat "| %s %s | %s*" (nth 8 lwords) "* | %s *%s*|\n")
(file-name-nondirectory (car tbl))
(if level-p "| " "") ; level column, maybe
(if timestamp "| " "") ; timestamp column, maybe
--
1.7.6.rc0.12.g2c6b5
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] [PATCH] Fix reported file time for clock reports,
Bernt Hansen <=