From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Steve Cothern" Subject: Re: Cannot get clock history persist to work... Date: Tue, 14 Jul 2009 17:04:34 -0700 Message-ID: References: <7B78991E2FDA294B9C068313E716A9820174C3BB@J2EXCHANGE.j2global.com> Reply-To: Steve Cothern Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQs9Q-00057c-DK for emacs-orgmode@gnu.org; Tue, 14 Jul 2009 20:15:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQs9L-00057Q-Uy for emacs-orgmode@gnu.org; Tue, 14 Jul 2009 20:15:11 -0400 Received: from [199.232.76.173] (port=58826 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQs9L-00057N-P9 for emacs-orgmode@gnu.org; Tue, 14 Jul 2009 20:15:07 -0400 Received: from main.gmane.org ([80.91.229.2]:45479 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MQs9L-0007ff-6e for emacs-orgmode@gnu.org; Tue, 14 Jul 2009 20:15:07 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1MQs9G-0007tm-Tb for emacs-orgmode@gnu.org; Wed, 15 Jul 2009 00:15:02 +0000 Received: from 216.52.240.243 ([216.52.240.243]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Jul 2009 00:15:02 +0000 Received: from steve.cothern by 216.52.240.243 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Jul 2009 00:15:02 +0000 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 I found it -- I had a stale reference to org-mode-hook in a setq statement associated with font lock. "Steve Cothern" wrote in message news:7B78991E2FDA294B9C068313E716A9820174C3BB@J2EXCHANGE.j2global.com... Hi Folks, Subject says it all. I am following Bernt's excellent web resource in getting up and going on Org mode. I confirm that the history is being saved in ~/.emacs.d/org-clock-save.el. I have tried both (setq org-clock-persistence-insinuate) and (org-clock-persistence-insinuate) and have also tried using (require 'org-clock). Nothing works. Is there any other obvious thing I should check? I am currently using 6.28d with Emacs 22.3.1 on OS X 10.5.7. A shallow pass with 6.28e reveals the same behavior. TIA, Steve ;; ;; Resume clocking tasks when emacs is restarted (setq org-clock-persistence-insinuate) ;; ;; Yes it's long... but more is better ;) (setq org-clock-history-length 35) ;; Resume clocking task on clock-in if the clock is open (setq org-clock-in-resume t) ;; Change task state to STARTED when clocking in (setq org-clock-in-switch-to-state "STARTED") ;; Save clock data and notes in the LOGBOOK drawer (setq org-clock-into-drawer t) ;; Sometimes I change tasks I'm clocking quickly - this removes clocked tasks with 0:00 duration (setq org-clock-out-remove-zero-time-clocks t) ;; Don't clock out when moving task to a done state (setq org-clock-out-when-done nil) ;; Save the running clock and all clock history when exiting Emacs, load it on startup (setq org-clock-persist t) -------------- J. Steven Cothern Senior Software Engineer j2 Global Communications, Inc. voice (805) 692-4192 jConnect (805) 456-0425 . This email, its contents and attachments contain information from j2 Global Communications, Inc. and/or its affiliates which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution, or use of the contents of this message is prohibited. If you have received this email in error please notify the sender by reply e-mail and delete the original message and any copies. j2 Global Communications. 6922 Hollywood Blvd., Hollywood, CA 90028.. _______________________________________________ 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