From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer Stengele Subject: Re: clocking in and out in remember buffers - seems to be buggy Date: Fri, 25 Jan 2008 13:57:24 +0100 Message-ID: <4799DCB4.6020407@diplan.de> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JIO7b-0001ER-WF for emacs-orgmode@gnu.org; Fri, 25 Jan 2008 07:57:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JIO7b-0001Dl-0v for emacs-orgmode@gnu.org; Fri, 25 Jan 2008 07:57:27 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIO7a-0001Df-KT for emacs-orgmode@gnu.org; Fri, 25 Jan 2008 07:57:26 -0500 Received: from ns.diplan.de ([212.34.188.4] helo=mail.diplan.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JIO7a-0007Dl-4I for emacs-orgmode@gnu.org; Fri, 25 Jan 2008 07:57:26 -0500 In-Reply-To: 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: Carsten Dominik Cc: emacs-orgmode@gnu.org 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