ls, I'm using clocktables and encountered an issue in calculating the percentage in the last column. Some columns have moved 1 left in the head-revision, but the generated formula was not changed. Hence the following patch. The percentages come out OK with this patch.
Can someone using clocktables verify that this patch is correct and doesn't break other stuff? diff --git a/lisp/org-clock.el b/lisp/org-clock.el index eb859df..0c7c73b 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -2173,9 +2173,9 @@ from the dynamic block defintion." (format "\n#+TBLFM: $%d='(org-clock-time%% @%d$%d $%d..$%d);%%.1f" pcol - (+ 2 (if narrow 1 0)) - (+ 3 (if multifile 1 0)) - (+ (if multifile 1 0) 3) + (+ 1 (if narrow 1 0)) + (+ 2 (if multifile 1 0)) + (+ (if multifile 1 0) 2) (1- pcol))) (setq recalc t)) ((stringp formula) regards, Joost Helberg -- Snow B.V. http://snow.nl _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode