emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-clock-save.el state unwanted Resume clock prompt
@ 2013-08-17  5:22 Jeff Kowalczyk
  2013-10-29  8:33 ` Sebastien Vauban
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Kowalczyk @ 2013-08-17  5:22 UTC (permalink / raw)
  To: emacs-orgmode

When opening any org mode files or using M-x org-mode on a
buffer, I get the following prompt:

: Resume clock (bsmith re: status update) (y or n)  n

Which refers to a specific heading in one specific org file, used
all day most days.

: ** DONE bsmith re: status update
:    CLOSED: [2013-08-06 Tue 13:12]
:    :LOGBOOK:
:    CLOCK: [2013-08-06 Tue 12:53]--[2013-08-06 Tue 13:12] =>  0:19
:    :END:

The cause of the prompt is easily found (org-clock-save.el,
source wrapped):

: ;; org-persist.el - myhost at <2013-08-06 Tue 13:42>
: (setq resume-clock '("/home/jtk/org/upwind.org" . 2049565))
: 
: (setq stored-clock-history 
: '(("/home/myuser/org/acme.org" . 2044203)
:   ("/home/myuser/org/acme.org" . 2044243)
:   ("/home/myuser/org/acme.org" . 2046954)
:   ("/home/myuser/org/acme.org" . 2049576)
:   ("/home/myuser/org/acme.org" . 2049494)))

The above headline corresponds to the last position character
mark, 2049494.

My questions are:

- What's different about that heading that it isn't closed?

- Is there another lisp source of clock insinuate data besides
  org-persist.el?

- What lisp data edit operation would safely clear the
  open clock status?

On a few occasions I've deleted org-clock-save.el to clear
the problem, and had a recurrence on a different heading some
weeks later. There could be some behavior related to running
clocks when emacs daemon stops abruptly on system or X
shutdown.

Thanks,
Jeff

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

* Re: org-clock-save.el state unwanted Resume clock prompt
  2013-08-17  5:22 org-clock-save.el state unwanted Resume clock prompt Jeff Kowalczyk
@ 2013-10-29  8:33 ` Sebastien Vauban
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastien Vauban @ 2013-10-29  8:33 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hello Jeff,

Jeff Kowalczyk wrote:
> When opening any org mode files or using M-x org-mode on a
> buffer, I get the following prompt:
>
> : Resume clock (bsmith re: status update) (y or n)  n
>
> Which refers to a specific heading in one specific org file, used
> all day most days.
>
> : ** DONE bsmith re: status update
> :    CLOSED: [2013-08-06 Tue 13:12]
> :    :LOGBOOK:
> :    CLOCK: [2013-08-06 Tue 12:53]--[2013-08-06 Tue 13:12] =>  0:19
> :    :END:
>
> The cause of the prompt is easily found (org-clock-save.el,
> source wrapped):
>
> : ;; org-persist.el - myhost at <2013-08-06 Tue 13:42>
> : (setq resume-clock '("/home/jtk/org/upwind.org" . 2049565))
> : 
> : (setq stored-clock-history 
> : '(("/home/myuser/org/acme.org" . 2044203)
> :   ("/home/myuser/org/acme.org" . 2044243)
> :   ("/home/myuser/org/acme.org" . 2046954)
> :   ("/home/myuser/org/acme.org" . 2049576)
> :   ("/home/myuser/org/acme.org" . 2049494)))
>
> The above headline corresponds to the last position character
> mark, 2049494.
>
> My questions are:
>
> - What's different about that heading that it isn't closed?
>
> - Is there another lisp source of clock insinuate data besides
>   org-persist.el?
>
> - What lisp data edit operation would safely clear the
>   open clock status?
>
> On a few occasions I've deleted org-clock-save.el to clear
> the problem, and had a recurrence on a different heading some
> weeks later. There could be some behavior related to running
> clocks when emacs daemon stops abruptly on system or X
> shutdown.

Reading (late) your post.

I don't know the answer, but I confirm similar behaviors:

- duplicate entries in my history of clock items

- there are clock items for which I did not clock for years, and which suddenly
  become visible when doing C-u C-c C-x C-i.

Unfortunately, I've no idea why or when these problems occur. Hence, can't make
an ECM right now.

Best regards,
  Seb

-- 
Sebastien Vauban

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

end of thread, other threads:[~2013-10-29  8:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-17  5:22 org-clock-save.el state unwanted Resume clock prompt Jeff Kowalczyk
2013-10-29  8:33 ` Sebastien Vauban

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