From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: continuing org-clock after accidental emacs-kill Date: Fri, 08 Jun 2012 17:38:57 -0400 Message-ID: <87wr3hmqku.fsf@norang.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sd6ti-0006mp-PM for emacs-orgmode@gnu.org; Fri, 08 Jun 2012 17:39:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sd6tg-0008Ge-AB for emacs-orgmode@gnu.org; Fri, 08 Jun 2012 17:39:10 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:42478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sd6tg-0008Fh-6e for emacs-orgmode@gnu.org; Fri, 08 Jun 2012 17:39:08 -0400 In-Reply-To: (Mehul Sanghvi's message of "Fri, 8 Jun 2012 13:51:37 -0400") 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: Mehul Sanghvi Cc: emacs-orgmode@gnu.org Mehul Sanghvi 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