emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Steve Cothern" <steve.cothern@j2global.com>
To: emacs-orgmode@gnu.org
Subject: Re: Cannot get clock history persist to work...
Date: Tue, 14 Jul 2009 17:04:34 -0700	[thread overview]
Message-ID: <h3j6j8$t6q$1@ger.gmane.org> (raw)
In-Reply-To: 7B78991E2FDA294B9C068313E716A9820174C3BB@J2EXCHANGE.j2global.com

I found it -- I had a stale reference to org-mode-hook in a setq statement 
associated with font lock.

"Steve Cothern" <Steve.Cothern@j2global.com> 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 

      reply	other threads:[~2009-07-15  0:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-14 18:57 Cannot get clock history persist to work Steve Cothern
2009-07-15  0:04 ` Steve Cothern [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='h3j6j8$t6q$1@ger.gmane.org' \
    --to=steve.cothern@j2global.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).