emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kevin Buchs <kevin.buchs.junk@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: restoring clocks: should it work when the file is closed/opened and when emacs is restarted?
Date: Fri, 9 Nov 2012 12:28:59 -0600	[thread overview]
Message-ID: <CAEqjYhvwevph2XO3Pn+GzTUYr_+EGVbydgaprZ0vYXTF8_VPxQ@mail.gmail.com> (raw)

I am keeping clocking information in an org-mode file. With a clock in
progress, I save the file, indicate I don't want to clock out and
close emacs. When I restart emacs and open the file, I get the message
"Restoring clock data", but when I try to clock out of the current
task it complains: "byte-code: No active clock". Is this the expected
behavior?

My init file has these relevant statements:
       (setq org-clock-persist 'history) ; save clocks when exiting
       (org-clock-persistence-insinuate) ; restore clocks when starting

(and I can reduce my init file to be about 5 lines in testing and I
see the same behavior: only other commands are setting up load-path to
hit my custom build of org-mode)

             reply	other threads:[~2012-11-09 18:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-09 18:28 Kevin Buchs [this message]
2012-11-10  7:53 ` restoring clocks: should it work when the file is closed/opened and when emacs is restarted? Sebastien Vauban

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=CAEqjYhvwevph2XO3Pn+GzTUYr_+EGVbydgaprZ0vYXTF8_VPxQ@mail.gmail.com \
    --to=kevin.buchs.junk@gmail.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).