From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Kowalczyk Subject: org-clock-save.el state unwanted Resume clock prompt Date: Sat, 17 Aug 2013 05:22:08 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45685) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAYy7-0001sH-Pc for emacs-orgmode@gnu.org; Sat, 17 Aug 2013 01:22:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VAYy2-00085h-Hh for emacs-orgmode@gnu.org; Sat, 17 Aug 2013 01:22:31 -0400 Received: from plane.gmane.org ([80.91.229.3]:58388) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAYy2-00085c-AX for emacs-orgmode@gnu.org; Sat, 17 Aug 2013 01:22:26 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VAYy1-0001Hv-5v for emacs-orgmode@gnu.org; Sat, 17 Aug 2013 07:22:25 +0200 Received: from 75-139-203-161.dhcp.knwc.wa.charter.com ([75.139.203.161]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Aug 2013 07:22:25 +0200 Received: from jtk by 75-139-203-161.dhcp.knwc.wa.charter.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Aug 2013 07:22:25 +0200 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: emacs-orgmode@gnu.org When opening any org mode files or using M-x org-mode on a buffer, I get the following prompt: : Resume clock (bsmith re: status update) (y or n) n Which refers to a specific heading in one specific org file, used all day most days. : ** DONE bsmith re: status update : CLOSED: [2013-08-06 Tue 13:12] : :LOGBOOK: : CLOCK: [2013-08-06 Tue 12:53]--[2013-08-06 Tue 13:12] => 0:19 : :END: The cause of the prompt is easily found (org-clock-save.el, source wrapped): : ;; org-persist.el - myhost at <2013-08-06 Tue 13:42> : (setq resume-clock '("/home/jtk/org/upwind.org" . 2049565)) : : (setq stored-clock-history : '(("/home/myuser/org/acme.org" . 2044203) : ("/home/myuser/org/acme.org" . 2044243) : ("/home/myuser/org/acme.org" . 2046954) : ("/home/myuser/org/acme.org" . 2049576) : ("/home/myuser/org/acme.org" . 2049494))) The above headline corresponds to the last position character mark, 2049494. My questions are: - What's different about that heading that it isn't closed? - Is there another lisp source of clock insinuate data besides org-persist.el? - What lisp data edit operation would safely clear the open clock status? On a few occasions I've deleted org-clock-save.el to clear the problem, and had a recurrence on a different heading some weeks later. There could be some behavior related to running clocks when emacs daemon stops abruptly on system or X shutdown. Thanks, Jeff