[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Org-mode release 4.58

From: Carsten Dominik
Subject: Re: [Orgmode] Org-mode release 4.58
Date: Wed, 6 Dec 2006 03:52:01 +0100

On Dec 5, 2006, at 22:14, Jason F. McBrayer wrote:
I've tried this with the example provided before, and also replaced a
lot of the functions that switch from the agenda buffer to the
corresponding org-mode buffer with functions that switch to the
subtree indirect buffer.

Now I've switched back to the original, default behaviour.  The
problem with what I tried was that I tended to clock-in to the
indirect buffer, with the result that org-clock-marker tended to get
lost, making switching tasks or clocking out break.  I consider this
my fault, though, not an org-mode issue.

Yes, in this case clocking out will only be possible as long as the
indirect buffer lives.  However, we can easily put the clock marker
into the base buffer.  Try the following patch:

--- org.el.orig 2006-12-06 03:45:40.000000000 +0100
+++ org.el      2006-12-06 03:46:45.000000000 +0100
@@ -6805,7 +6805,7 @@
       (insert org-clock-string " ")
(setq ts (org-insert-time-stamp (current-time) 'with-hm 'inactive))
-      (move-marker org-clock-marker (point))
+      (move-marker org-clock-marker (point) (buffer-base-buffer))
       (message "Clock started at %s" ts))))

 (defun org-clock-out (&optional fail-quietly)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]