emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Cannot get clock history persist to work...
@ 2009-07-14 18:57 Steve Cothern
  2009-07-15  0:04 ` Steve Cothern
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Cothern @ 2009-07-14 18:57 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 2175 bytes --]

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..

[-- Attachment #1.2: Type: text/html, Size: 8385 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Cannot get clock history persist to work...
  2009-07-14 18:57 Cannot get clock history persist to work Steve Cothern
@ 2009-07-15  0:04 ` Steve Cothern
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Cothern @ 2009-07-15  0:04 UTC (permalink / raw)
  To: emacs-orgmode

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 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-15  0:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-14 18:57 Cannot get clock history persist to work Steve Cothern
2009-07-15  0:04 ` Steve Cothern

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).