Re: [O] 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

2013-03-02 Thread Bastien
Hi,

vdya...@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



[O] 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-mod

2013-02-18 Thread Дядов Васил Стоянов

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