From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Habit Logging in incorrect place [8.3.2 (release_8.3.2-490-g157f91 @ /home/swflint/.emacs.d/org-mode/lisp/)] Date: Tue, 12 Jan 2016 00:00:39 +0100 Message-ID: <877fjfraaw.fsf@nicolasgoaziou.fr> References: <87lh7xrlzx.fsf@turing.flintfam.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIlQB-0008AM-FG for emacs-orgmode@gnu.org; Mon, 11 Jan 2016 17:58:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aIlQA-0002vO-Di for emacs-orgmode@gnu.org; Mon, 11 Jan 2016 17:58:43 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:56009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIlQA-0002v7-7R for emacs-orgmode@gnu.org; Mon, 11 Jan 2016 17:58:42 -0500 In-Reply-To: <87lh7xrlzx.fsf@turing.flintfam.org> (Samuel W. Flint's message of "Sun, 10 Jan 2016 19:35:46 -0500") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Samuel W. Flint" Cc: emacs-orgmode@gnu.org Hello, swflint@flintfam.org (Samuel W. Flint) writes: > I use habits, and until recently, there was a problem with habit > repeaters. Now that this is fixed, there's a new problem. When I try > to set a habit's TODO state to DONE, aside from correctly setting the > SCHEDULED line, and the TODO state back to TODO, the logging is done > incorrectly. > > The buffer starts out as so: > * TODO Weekly Review > SCHEDULED: <2016-01-17 Sun .+1w/2w> > :PROPERTIES: > :STYLE: habit > :CREATED: <2015-12-21 Mon 17:42> > :LAST_REPEAT: [2016-01-10 Sun 19:23] > :END: > - State "DONE" from "TODO" [2016-01-10 Sun 19:23] > - State "DONE" from "TODO" [2016-01-02 Sat 00:05] > - State "DONE" from "TODO" [2015-12-29 Tue 18:22] > > When I run C-c C-t d on the headline, changing the TODO state to DONE, > the following occurs: > > - State "DONE" from "TODO" [2016-01-10 Sun 19:34] > * TODO Weekly Review > SCHEDULED: <2016-01-17 Sun .+1w/2w> > :PROPERTIES: > :STYLE: habit > :CREATED: <2015-12-21 Mon 17:42> > :LAST_REPEAT: [2016-01-10 Sun 19:34] > :END: > - State "DONE" from "TODO" [2016-01-10 Sun 19:23] > - State "DONE" from "TODO" [2016-01-02 Sat 00:05] > - State "DONE" from "TODO" [2015-12-29 Tue 18:22] > > I have no idea why this is. FWIW I cannot reproduce it. Could you try again with a minimal configuration? Regards, -- Nicolas Goaziou