Mehul Sanghvi <mehul.sang...@gmail.com> writes:

> I was clocked-in and I absentmindedly quit out of emacs without doing
> a clock-out.
> How do I get the clock working and picking up from where it left off ?
>   Or have I lost
> what I had for today ?

I have the following settings in my .emacs

--8<---------------cut here---------------start------------->8---
;;
;; Resume clocking tasks when emacs is restarted
(org-clock-persistence-insinuate)
;; Do not prompt to resume an active clock
(setq org-clock-persist-query-resume nil)
;; Save the running clock and all clock history when exiting Emacs, load it on 
startup
(setq org-clock-persist t)
--8<---------------cut here---------------end--------------->8---

so simply going to the agenda (C-c a a) resumes whatever was running
after I restart emacs.

HTH,
Bernt

Reply via email to