From: Kyle Meyer <kyle@kyleam.com>
To: Org-mode <emacs-orgmode@gnu.org>
Subject: [BUG] Void variable org-clock-current-task
Date: Tue, 19 Apr 2016 13:11:30 -0400 [thread overview]
Message-ID: <87r3e14j7h.fsf@kyleam.com> (raw)
Hi Nicolas,
4743d43 (Properly handle ‘org-tag-persistent-alist’, 2016-04-17) removed
the initial value for org-clock-current-task:
- (defvar org-clock-current-task nil)
+ (defvar org-clock-current-task)
As a result, org-clock-current-task is undefined if org-clock.el is not
yet loaded, leading to org-agenda-mark-clocking-task signaling a
void-variable error when org-agenda is called.
Debugger entered--Lisp error: (void-variable org-clock-current-task)
(if org-clock-current-task
(progn (save-restriction ...)))
org-agenda-mark-clocking-task()
...
call-interactively(org-agenda nil nil)
command-execute(org-agenda)
--
Kyle
next reply other threads:[~2016-04-19 17:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-19 17:11 Kyle Meyer [this message]
2016-04-19 19:16 ` [BUG] Void variable org-clock-current-task 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
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=87r3e14j7h.fsf@kyleam.com \
--to=kyle@kyleam.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).