emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: problem with removing logbook drawer with zero time on clockout and recording state transitions into the same drawer [7.9.3e (7.9.3e-956-g3943be.dirty @ /home/vdyadov/Work/Tools/emacs/org-mode/lisp/)]
@ 2013-02-18 16:06 Дядов Васил Стоянов
  2013-03-02 17:19 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Дядов Васил Стоянов @ 2013-02-18 16:06 UTC (permalink / raw)
  To: emacs-orgmode


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-mode mailing list.
------------------------------------------------------------------------

The problem is: when I clock-in into some task and then within 1 minute
change tasks state to DONE, information about state transition recorded
incorrectly (:LOGBOOK: drawer is removed because of zero time, and then
state transition recorded out of drawer :LOGBOOK:).

I've next variables set to true: 
org-clock-out-remove-zero-time-clocks
org-clock-out-when-done
org-clock-into-drawer

Variable org-log-into-drawer set to "LOGBOOK"

How to reproduce the bug:

step1:

,----
| * TODO Task1
|   [2013-02-18 Mon 17:40]
|   some-text here
`----

step2: clocking-in

,----
| * NEXT Task1
|   :LOGBOOK:
|   CLOCK: [2013-02-18 Mon 18:00]
|   :END:
|   [2013-02-18 Mon 17:40]
|   some-text here
`----

step3: within less than 1 minute : C-c C-t d 

,----
| * DONE Task1
|   CLOSED: [2013-02-18 Mon 18:00]
|   [2013-02-18 Mon 17:40] 
|   - State "DONE"       from "NEXT"       [2013-02-18 Mon 18:00]
|   some-text here
`----


Emacs  : GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.18.9)
 of 2012-12-25 on canopus-pc.elvees.com
Package: Org-mode version 7.9.3e (7.9.3e-956-g3943be.dirty @ /home/vdyadov/Work/Tools/emacs/org-mode/lisp/)

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

* Re: Bug: problem with removing logbook drawer with zero time on clockout and recording state transitions into the same drawer [7.9.3e (7.9.3e-956-g3943be.dirty @ /home/vdyadov/Work/Tools/emacs/org-mode/lisp/)]
  2013-02-18 16:06 Bug: problem with removing logbook drawer with zero time on clockout and recording state transitions into the same drawer [7.9.3e (7.9.3e-956-g3943be.dirty @ /home/vdyadov/Work/Tools/emacs/org-mode/lisp/)] Дядов Васил Стоянов
@ 2013-03-02 17:19 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2013-03-02 17:19 UTC (permalink / raw)
  To: Дядов Васил Стоянов
  Cc: emacs-orgmode

Hi,

vdyadov@elvees.com (Дядов Васил Стоянов) writes:

> The problem is: when I clock-in into some task and then within 1 minute
> change tasks state to DONE, information about state transition recorded
> incorrectly (:LOGBOOK: drawer is removed because of zero time, and then
> state transition recorded out of drawer :LOGBOOK:).

This is now fixed in the maint branch, thanks!

-- 
 Bastien

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

end of thread, other threads:[~2013-03-02 18:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-18 16:06 Bug: problem with removing logbook drawer with zero time on clockout and recording state transitions into the same drawer [7.9.3e (7.9.3e-956-g3943be.dirty @ /home/vdyadov/Work/Tools/emacs/org-mode/lisp/)] Дядов Васил Стоянов
2013-03-02 17:19 ` Bastien

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