From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: clocking in and out in remember buffers - seems to be buggy Date: Fri, 25 Jan 2008 14:12:07 +0100 Message-ID: References: <6E8F4EA5-D1B1-4B80-9601-70E1A8B5A849@science.uva.nl> <4798AB60.3080601@diplan.de> <2886D5B9-9516-4D38-97CF-DFCF8C622E4D@science.uva.nl> <4798AFF0.7010605@diplan.de> <4799DCB4.6020407@diplan.de> Mime-Version: 1.0 (Apple Message framework v915) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JIOLu-0002Yx-1H for emacs-orgmode@gnu.org; Fri, 25 Jan 2008 08:12:14 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JIOLs-0002Yl-9d for emacs-orgmode@gnu.org; Fri, 25 Jan 2008 08:12:13 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIOLs-0002Yi-6C for emacs-orgmode@gnu.org; Fri, 25 Jan 2008 08:12:12 -0500 Received: from ug-out-1314.google.com ([66.249.92.169]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JIOLr-0002gV-UG for emacs-orgmode@gnu.org; Fri, 25 Jan 2008 08:12:12 -0500 Received: by ug-out-1314.google.com with SMTP id a2so514605ugf.48 for ; Fri, 25 Jan 2008 05:12:11 -0800 (PST) In-Reply-To: <4799DCB4.6020407@diplan.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rainer Stengele Cc: emacs-orgmode@gnu.org This will be fixed in 5.20, by forcing you to explicitly clock out before storing the note. For now, just do it willingly. - Carsten On Jan 25, 2008, at 1:57 PM, Rainer Stengele wrote: > Carsten Dominik schrieb: >> >> On Jan 24, 2008, at 4:34 PM, Rainer Stengele wrote: >>>>>> >>>> I am not sure why things don't work. Take a look at the variable >>>> `remember-mode-hook'. What is its value? >>>> >>>> - Carsten >>>> >>>>> >>> >>> looks ok, includes the new function: >>> >>> (my-start-clock-if-needed org-remember-apply-template) >>> >>> is the template already "in" at that moment? >> >> >> No, it is not OK, the sequence is wrong. Try an 'append argument >> when >> adding the >> my-start-clock-if-needed function, and make sure this line is >> called after >> the template functin has been added to the hook. The restart emacs >> and >> double-check, it has to be: >> >> (org-remember-apply-template my-start-clock-if-needed) >> >> - Carsten >> >> >> _______________________________________________ >> 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 >> > > Excellent, the clock is now started whenever I have a "CLOCK-IN" > string in the template! > Leaving with C-u C-c C-c it I am asked if I want clock out. > > > Answering "y" it says: > > "Clock start time is gone" > > and the remeber buffer stays open. > > - Answering "n" the buffer is saved. Trying to find the clocked in > item by calling > org-gotro-clocked-in-entry > results in: > > "No active clock" > > > Both cases do not make sense for me. > Anyone has a comment/help? > > - Rainer