From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Welle Subject: Re: Trouble with logbook drawers Date: Fri, 18 Nov 2016 18:35:38 +0100 Message-ID: <87bmxcwv11.fsf@luisa.c0t0d0s0.de> References: <87inrlvz9a.fsf@luisa.c0t0d0s0.de> <87lgwgn5sf.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7n4m-0001qH-SW for emacs-orgmode@gnu.org; Fri, 18 Nov 2016 12:35:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7n4j-0000WJ-M9 for emacs-orgmode@gnu.org; Fri, 18 Nov 2016 12:35:48 -0500 Received: from mout.gmx.net ([212.227.17.20]:61065) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c7n4j-0000Vf-8W for emacs-orgmode@gnu.org; Fri, 18 Nov 2016 12:35:45 -0500 Received: from stella.c0t0d0s0.de ([89.204.138.111]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MGnPx-1c33yZ3QvJ-00DVhW for ; Fri, 18 Nov 2016 18:35:42 +0100 Received: from Stella (stella.c0t0d0s0.de [192.168.42.1]) by stella.c0t0d0s0.de (Postfix) with ESMTP id BB7E7C4175 for ; Fri, 18 Nov 2016 18:35:38 +0100 (CET) In-Reply-To: <87lgwgn5sf.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Fri, 18 Nov 2016 16:53:20 +0100") 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: emacs-orgmode@gnu.org Hello, Nicolas Goaziou writes: > Hello, > > Michael Welle writes: > >> I have a few repeating tasks with defective logbook drawers: >> >> :LOGBOOK: >> .... >> :LOGBOOK: >> .... >> :END: >> ... >> :END: >> >> As you can see, two drawers got nested somehow. They both hold data that >> belongs to the task. I can't say if data is missing, but there seems to >> be no duplication of data. >> >> From time to time I fix them manually, but they tend to come back after >> some time. Any hints? > > No idea. An ECM would help. that's not so easy I guess. I found a few occurrences where that issue occurred and the order of the log entries in the drawer was out of order, like this: :LOGBOOK: - State "DONE" from "OPEN" [2016-10-19 Wed 10:08] - State "DONE" from "OPEN" [2016-10-15 Sat 09:17] - State "OPEN" from "OPEN" [2016-10-15 Sat 09:16] - State "DONE" from "OPEN" [2016-10-07 Fri 12:58] :LOGBOOK: - State "OPEN" from "OPEN" [2016-10-19 Wed 10:07] - State "OPEN" from "OPEN" [2016-10-07 Fri 12:58] :END: - State "DONE" from "OPEN" [2016-09-29 Thu 10:35] ... :END: Judging from the time stamps all tasks suffering from the issue got defective at the some day. But most of the time the order of the entries is still correct, so I can't really say if the issue happened at a certain point in time or gradually. > Also, what Org version are you using? What The git version from october. But I observed that issue with earlier versions as well. I've upgraded from git now, let's see what happens. > is the value of `org-log-into-drawer'? It's set to t. Regards hmw