From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Log change TODO state after clock-out Date: Fri, 28 Jul 2017 15:44:18 +0200 Message-ID: <87shhgu159.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1db5Z3-000536-7S for emacs-orgmode@gnu.org; Fri, 28 Jul 2017 09:44:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1db5Z0-0008Bm-8U for emacs-orgmode@gnu.org; Fri, 28 Jul 2017 09:44:25 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:58175) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1db5Z0-0008Ak-1G for emacs-orgmode@gnu.org; Fri, 28 Jul 2017 09:44:22 -0400 In-Reply-To: (=?utf-8?B?ItCg0L7QvNCwINCg0YPQtNCw0LrQvtCyIidz?= message of "Wed, 26 Jul 2017 15:42:23 +0300") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: =?utf-8?B?0KDQvtC80LAg0KDRg9C00LDQutC+0LI=?= Cc: emacs-orgmode@gnu.org Hello, =D0=A0=D0=BE=D0=BC=D0=B0 =D0=A0=D1=83=D0=B4=D0=B0=D0=BA=D0=BE=D0=B2 writes: > Expected result: > > * DONE task 1 > CLOSED: [2017-07-26 Wed 15:39] > :LOGBOOK: > - State "DONE" from "PROGRESS" [2017-07-26 Wed 15:39] > - State "PROGRESS" from "TODO" [2017-07-26 Wed 15:37] > CLOCK: [2017-07-26 Wed 15:37]--[2017-07-26 Wed 15:38] =3D> 0:01 > :END: > * TODO task 2 > * TODO task 3 > * TODO task 4 > > > Actual result: > > * DONE task 1 > :LOGBOOK: > - State "PROGRESS" from "TODO" [2017-07-26 Wed 15:37] > CLOCK: [2017-07-26 Wed 15:37]--[2017-07-26 Wed 15:38] =3D> 0:01 > :END: > * TODO task 2 > * TODO task 3 > * TODO task 4 > > There is no CLOSED log entry and change state from PROGRESS to DONE > entry. Logging was inhibited when using `org-clock-out-switch-to-state', but not when using `org-clock-in-switch-to-state'. I assume this is a bug, so I removed it. I may be wrong though, so this change is in master only. Thank you. Regards, --=20 Nicolas Goaziou