From: Daniel Borchmann <daniel.borchmann@tu-dresden.de>
To: emacs-orgmode@gnu.org
Subject: Bug: Lexical scoping in org-clock.el seems to break `org-clock-load' [9.0 (9.0-elpaplus @ /home/exot/.emacs.d/elpa/org-plus-contrib-20161102/)]
Date: Sun, 06 Nov 2016 11:38:43 +0100 [thread overview]
Message-ID: <87ins0sxjg.fsf@algebra20.de> (raw)
Remember to cover the basics, that is, what you expected to happen and
what in fact did happen. You don't know how to make a good report? See
http://orgmode.org/manual/Feedback.html#Feedback
Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------
Loading a persistent clock does not work anymore: the hooks installed by
‘org-clock-persistence-insinuate’ call ‘org-clock-load’ as usual, but
the latter does not resume the clock: it prints "Restoring clock data",
but nothing else happens.
A closer look into ‘org-clock-load’ reveals that it introduces a local
variable ‘resume-clock’. This variable is supposedly set by the line
‘(load-file filename)’ (line 2977 of org-clock.el), where ‘filename’ is
bound to ‘org-clock-persist-file’. However, this call does not change
the local value of ‘resume-clock’ (it stays nil), but instead introduces
the variable ‘resume-clock’ with the corresponding value to the global
namespace. Consequently, the clock is not resumed.
Emacs : GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2016-10-24, modified by Debian
Package: Org mode version 9.0 (9.0-elpaplus @ /home/exot/.emacs.d/elpa/org-plus-contrib-20161102/)
--
Daniel Borchmann
GPG (Mail) 0849 473E 6BF0 B504 DF0B D640 455E 3610 01FF 778F
.
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
next reply other threads:[~2016-11-06 10:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-06 10:38 Daniel Borchmann [this message]
2016-11-06 12:32 ` Bug: Lexical scoping in org-clock.el seems to break `org-clock-load' [9.0 (9.0-elpaplus @ /home/exot/.emacs.d/elpa/org-plus-contrib-20161102/)] Nicolas Goaziou
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ins0sxjg.fsf@algebra20.de \
--to=daniel.borchmann@tu-dresden.de \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.