emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-clock-persistence-insinuate not working anymore (25.0.5)
@ 2015-05-23 20:08 Tory S. Anderson
  2015-05-25 14:18 ` Tory S. Anderson
  0 siblings, 1 reply; 3+ messages in thread
From: Tory S. Anderson @ 2015-05-23 20:08 UTC (permalink / raw)
  To: orgmode list

I've been using the following code for several months to make it easy to clock back in to my frequent tasks as I track my time usage:

--8<---------------cut here---------------start------------->8---
(org-clock-persistence-insinuate)
(setq org-clock-persist t)
--8<---------------cut here---------------end--------------->8---

A few days ago I updated emacs to the dev master and my clock is no longer persisting; the list of recent tasks is perpetually "nil". Any ideas on how to fix this, or what happened?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-clock-persistence-insinuate not working anymore (25.0.5)
  2015-05-23 20:08 org-clock-persistence-insinuate not working anymore (25.0.5) Tory S. Anderson
@ 2015-05-25 14:18 ` Tory S. Anderson
  2015-05-25 18:39   ` Kyle Meyer
  0 siblings, 1 reply; 3+ messages in thread
From: Tory S. Anderson @ 2015-05-25 14:18 UTC (permalink / raw)
  To: orgmode list

How about any suggestions on how to debug this, since it isn't actually throwing any errors (and I'm a novice emacs-debugger)? The tasks  list will contain "interrupted task" and "recent task" but none of the actual task names. (this comes from passing a single arg to org-clock-in)

torys.anderson@gmail.com (Tory S. Anderson) writes:

> I've been using the following code for several months to make it easy to clock back in to my frequent tasks as I track my time usage:
>
> (org-clock-persistence-insinuate)
> (setq org-clock-persist t)
>
> A few days ago I updated emacs to the dev master and my clock is no longer persisting; the list of recent tasks is perpetually "nil". Any ideas on how to fix this, or what happened?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-clock-persistence-insinuate not working anymore (25.0.5)
  2015-05-25 14:18 ` Tory S. Anderson
@ 2015-05-25 18:39   ` Kyle Meyer
  0 siblings, 0 replies; 3+ messages in thread
From: Kyle Meyer @ 2015-05-25 18:39 UTC (permalink / raw)
  To: Tory S. Anderson; +Cc: orgmode list

[-- Attachment #1: Type: text/plain, Size: 1859 bytes --]

torys.anderson@gmail.com (Tory S. Anderson) wrote:
> I've been using the following code for several months to make it easy
> to clock back in to my frequent tasks as I track my time usage:
>
> (org-clock-persistence-insinuate)
> (setq org-clock-persist t)
>
> A few days ago I updated emacs to the dev master and my clock is no
> longer persisting; the list of recent tasks is perpetually "nil". Any
> ideas on how to fix this, or what happened?

torys.anderson@gmail.com (Tory S. Anderson) wrote:
> How about any suggestions on how to debug this, since it isn't
> actually throwing any errors (and I'm a novice emacs-debugger)? The
> tasks list will contain "interrupted task" and "recent task" but none
> of the actual task names. (this comes from passing a single arg to
> org-clock-in)

Since you think it was a recent change that is causing problems, you
could try some combination of the following.

- In the Emacs source directory, run 'git log -- lisp/org/org-clock.el'
  to see what's been done recently in the file.

- Come up with a minimum test config and Org file that you can run with
  'emacs -Q'.

- Run 'git bisect' between HEAD and the last commit that you know was
  behaving.  Come up with a simple test using the minimal configuration
  above to see if a given revision is good or bad.

- When you find a function that you suspect is causing issues, run
  eval-defun with EDEBUG-IT (C-u C-M-x) and walk through the call of
  that function.

I've been unable to reproduce the problem using a Emacs from a recent
commit (ac59d538982d040c) with the attached test files.

If I run

    emacs -Q -l org-clock-persistent.el

and clock in to the heading in org-clock-persistent.org and then kill
Emacs, the values in org-clock-save.el are non-nil.  Restarting emacs
with the command above and opening org-clock-persistent.org offers to
resume.


[-- Attachment #2: org-clock-persistent.el --]
[-- Type: application/emacs-lisp, Size: 121 bytes --]

[-- Attachment #3: org-clock-persistent.org --]
[-- Type: text/plain, Size: 4 bytes --]

* h

[-- Attachment #4: Type: text/plain, Size: 60 bytes --]


Can you reproduce the problem if you do the same?

--
Kyle

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-25 18:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-23 20:08 org-clock-persistence-insinuate not working anymore (25.0.5) Tory S. Anderson
2015-05-25 14:18 ` Tory S. Anderson
2015-05-25 18:39   ` Kyle Meyer

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).