* [BUG] Void variable org-clock-current-task
@ 2016-04-19 17:11 Kyle Meyer
2016-04-19 19:16 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Kyle Meyer @ 2016-04-19 17:11 UTC (permalink / raw)
To: Org-mode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [BUG] Void variable org-clock-current-task
2016-04-19 17:11 [BUG] Void variable org-clock-current-task Kyle Meyer
@ 2016-04-19 19:16 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2016-04-19 19:16 UTC (permalink / raw)
To: Kyle Meyer; +Cc: Org-mode
Hello,
Kyle Meyer <kyle@kyleam.com> writes:
> 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)
Fixed. Thank you.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-19 19:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-19 17:11 [BUG] Void variable org-clock-current-task Kyle Meyer
2016-04-19 19:16 ` Nicolas Goaziou
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).