From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Log change TODO state after clock-out Date: Sat, 05 Aug 2017 14:47:39 +0200 Message-ID: <873796i3kk.fsf@nicolasgoaziou.fr> References: <87shhgu159.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1deHyp-0001vW-5n for emacs-orgmode@gnu.org; Sun, 06 Aug 2017 05:36:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1deHym-0003Tv-11 for emacs-orgmode@gnu.org; Sun, 06 Aug 2017 05:36:15 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:58346) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1deHyl-0003TP-RR for emacs-orgmode@gnu.org; Sun, 06 Aug 2017 05:36:11 -0400 In-Reply-To: (Roman Rudakov's message of "Sat, 29 Jul 2017 16:52:16 +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: Roman Rudakov Cc: emacs-orgmode@gnu.org Hello, Roman Rudakov writes: > I've tried to remove line (org-inhibit-logging t) locally, it have solved > my problem partially. > > If I clock-in and then clock-out the same headline everything is ok (Task 1 > in my example) > . But if I clock-in Task 2, Then go to Task 3 and ckock it in, Task 2 > clocked out and have only CLOSED log entry, but it doesn't have log about > change state from PROGRESS to DONE. > > Example: > > * DONE Task 1 > CLOSED: [2017-07-29 Sat 16:45] > :LOGBOOK: > - State "DONE" from "PROGRESS" [2017-07-29 Sat 16:45] > - State "PROGRESS" from "TODO" [2017-07-29 Sat 16:45] > CLOCK: [2017-07-29 Sat 16:45]--[2017-07-29 Sat 16:45] => 0:00 > :END: > > * DONE Task 2 > CLOSED: [2017-07-29 Sat 16:45] > :LOGBOOK: > - State "PROGRESS" from "TODO" [2017-07-29 Sat 16:45] > CLOCK: [2017-07-29 Sat 16:45]--[2017-07-29 Sat 16:45] => 0:00 > :END: > > * PROGRESS Task 3 > :LOGBOOK: > - State "PROGRESS" from "TODO" [2017-07-29 Sat 16:45] > CLOCK: [2017-07-29 Sat 16:45] > :END: I cannot reproduce it. With your minimal configuration in a previous message and the document above, when clocking in "Task 3", I get prompted by `rr/after-clock-stop' function and the change state is properly recorded in "Task 2". Regards, -- Nicolas Goaziou