From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [Bug] element cache problem with repeating timestamps Date: Mon, 23 Jun 2014 12:32:11 +0200 Message-ID: <87vbrr29xw.fsf@nicolasgoaziou.fr> References: <87tx7c6yyp.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz1XJ-0008F1-F6 for emacs-orgmode@gnu.org; Mon, 23 Jun 2014 06:31:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wz1XB-0001G5-Ci for emacs-orgmode@gnu.org; Mon, 23 Jun 2014 06:31:41 -0400 Received: from relay5-d.mail.gandi.net ([2001:4b98:c:538::197]:46683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz1XB-0001Fw-7X for emacs-orgmode@gnu.org; Mon, 23 Jun 2014 06:31:33 -0400 In-Reply-To: <87tx7c6yyp.fsf@fastmail.fm> (Matt Lundin's message of "Sun, 22 Jun 2014 23:18:06 -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: Matt Lundin Cc: Orgmode List Hello, Matt Lundin writes: > A recent git pull broke logging with repeating todos. > > I'm guessing this has something to do with one of the recent changes to > the org element cache, since setting org-element-use-cache to nil solves > the problem. > > Recipe to replicate: > > 1. /usr/bin/emacs -Q -l ~/minimal.el > > Here is minimal.el: > > (add-to-list 'load-path "~/org-mode/lisp") > (setq org-log-into-drawer t) > > > 2. Open a file containing the following: > > > * TODO Repeating task > SCHEDULED: <2014-06-23 Mon 20:00 .+1d> > :LOGBOOK: > - State "DONE" from "TODO" [2014-06-22 Sun 23:01] > :END: > :PROPERTIES: > :LAST_REPEAT: [2014-06-22 Sun 23:01] > :END: > > 3. Hit org-todo on the headline. The buffer then looks like this: > > * TODO Repeating task > <2014-06-23 Mon 20:00 .+1d> SCHEDULED: > :LOGBOOK: > - State "DONE" from "TODO" [2014-06-22 Sun 23:10] > - State "DONE" from "TODO" [2014-06-22 Sun 23:10] > - State "DONE" from "TODO" [2014-06-22 Sun 23:01] > :END: > :PROPERTIES: > :LAST_REPEAT: [2014-06-22 Sun 23:10] > :END: It should be fixed. Thank you for reporting it. Regards, -- Nicolas Goaziou