From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Buchs Subject: restoring clocks: should it work when the file is closed/opened and when emacs is restarted? Date: Fri, 9 Nov 2012 12:28:59 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWtK9-0002fd-7P for emacs-orgmode@gnu.org; Fri, 09 Nov 2012 13:29:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TWtK8-0007Xh-9f for emacs-orgmode@gnu.org; Fri, 09 Nov 2012 13:29:01 -0500 Received: from mail-ie0-f169.google.com ([209.85.223.169]:37342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWtK8-0007Xd-4l for emacs-orgmode@gnu.org; Fri, 09 Nov 2012 13:29:00 -0500 Received: by mail-ie0-f169.google.com with SMTP id 10so7791895ied.0 for ; Fri, 09 Nov 2012 10:28:59 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode I am keeping clocking information in an org-mode file. With a clock in progress, I save the file, indicate I don't want to clock out and close emacs. When I restart emacs and open the file, I get the message "Restoring clock data", but when I try to clock out of the current task it complains: "byte-code: No active clock". Is this the expected behavior? My init file has these relevant statements: (setq org-clock-persist 'history) ; save clocks when exiting (org-clock-persistence-insinuate) ; restore clocks when starting (and I can reduce my init file to be about 5 lines in testing and I see the same behavior: only other commands are setting up load-path to hit my custom build of org-mode)