Hi Bernt,

good idea, I'll put this in.

- Carsten

On Feb 7, 2008, at 8:46 PM, Bernt Hansen wrote:

C-u C-c C-x C-r updates the first clock table in the org file.
If this task is folded the cursor moves to the task but you can't see the
result of the update.  The updated clock table is now immediately visible.
---

I use C-u C-c C-x C-r all the time to update my clock table and 99% of
the time it's folded so I can't see the result.  This patch works for me
but my * Timelog task does not have anything else but the clock table in
it.

I would prefer to display the task like org-cycle does and leave an
:PROPERTIES: drawers folded but I don't know how to do that...

This works for me. :)

-Bernt

org.el |    3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/org.el b/org.el
index c73218b..2db8863 100644
--- a/org.el
+++ b/org.el
@@ -18797,7 +18797,8 @@ When called with a prefix argument, move to the first clock table in the
buffer and update it."
  (interactive "P")
  (org-remove-clock-overlays)
-  (when arg (org-find-dblock "clocktable"))
+  (when arg (org-find-dblock "clocktable")
+  (org-show-entry))
  (if (org-in-clocktable-p)
      (goto-char (org-in-clocktable-p))
    (org-create-dblock (list :name "clocktable"
--
1.5.4.34.g053d9




_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode