From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carl Bolduc Subject: Strange behavior with org-remember and clock Date: Tue, 16 Feb 2010 12:31:03 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NhRGM-0006xx-4J for emacs-orgmode@gnu.org; Tue, 16 Feb 2010 12:31:06 -0500 Received: from [140.186.70.92] (port=40174 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NhRGL-0006xb-Ja for emacs-orgmode@gnu.org; Tue, 16 Feb 2010 12:31:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NhRGK-0002ma-RN for emacs-orgmode@gnu.org; Tue, 16 Feb 2010 12:31:05 -0500 Received: from mail-ew0-f216.google.com ([209.85.219.216]:35526) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhRGK-0002mR-Lv for emacs-orgmode@gnu.org; Tue, 16 Feb 2010 12:31:04 -0500 Received: by ewy8 with SMTP id 8so6654538ewy.9 for ; Tue, 16 Feb 2010 09:31:03 -0800 (PST) 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: emacs-orgmode@gnu.org Hi, I am trying to build a remember template to log a journal of my activities, and some entries involve clocks. Here is my template: ("Journal" ?j "* %U %?\n" "j:/org/journal.org" date-tree) When I call this template and start a clock, I get a weird behavior when exiting remember. First, I get this (expected): The clock is running in this buffer. Clock out now? (y or n) I type "n" Then, I get this: Clock-out in buffer *Remember* before killing it (y or n) I type "n" once again. Now, if I visit my journal and try to clock out of this item, I get this: No active clock Now, if I modify my template to include any text after the %?, clocking works as expected: ("Journal" ?j "* %U %?\ntest" "j:/org/journal.org" date-tree) When I close remember, I get this: The clock is running in this buffer. Clock out now? (y or n) I type "n", don't get any more message, visit the journal file, and I can clock out. I am clueless... and I would prefer not having dummy text in my journal entries just to make clocking work correctly. Thanks, Carl