From mboxrd@z Thu Jan 1 00:00:00 1970 From: swflint@flintfam.org (Samuel W. Flint) 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: Mon, 11 Jan 2016 18:47:55 -0500 Message-ID: <87si2365lg.fsf@turing.flintfam.org> References: <87lh7xrlzx.fsf@turing.flintfam.org> <877fjfraaw.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aImC3-0008Jq-Be for emacs-orgmode@gnu.org; Mon, 11 Jan 2016 18:48:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aImC0-0006BA-5T for emacs-orgmode@gnu.org; Mon, 11 Jan 2016 18:48:11 -0500 Received: from [2600:3c00::f03c:91ff:fe70:9de9] (port=56137 helo=mail.flintfam.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aImC0-0006B3-1E for emacs-orgmode@gnu.org; Mon, 11 Jan 2016 18:48:08 -0500 Received: from turing.flintfam.org.flintfam.org (resnet69-42.calvin.edu [153.106.69.42]) (Authenticated sender: swflint@flintfam.org) by mail.flintfam.org (Postfix) with ESMTPSA id 1E1B0846C for ; Mon, 11 Jan 2016 23:49:08 +0000 (UTC) In-Reply-To: <877fjfraaw.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 12 Jan 2016 00:00:39 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >>>>> Nicolas Goaziou writes: NG> 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. NG> FWIW I cannot reproduce it. Could you try again with a minimal NG> configuration? Sure, with emacs -q -Q, the same thing happens. I also get the following error: Error in post-command-hook (org-add-log-note): (error "Before first hea= dline at position 1 in buffer test.org") I have absolutely no idea why this happens. NG> Regards, NG> -- Nicolas Goaziou Thanks, Sam =2D- Samuel W. Flint 4096R/266596F4 (9477 D23E 389E 40C5 2F10 DE19 68E5 318E 2665 96F4) (=CE=BBs.s s) =CE=BBs.s s --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWlD8sAAoJEGjlMY4mZZb08sAP/Aqn0xvp+w31680UANcRaQiW SvAVjbwP1byy35MhXoMRlKe/5PoWIGYhESgUJ8ACX8W7F04LY3lwfAu4EMpuK2Fx nVTyGaa+XoFaO6tpN7kgih5PcBgmxmOPbq2fpud3kPEnY9n9J9iLg2pAL1HIgPk+ LKPhXIkPj3B8qEnu+zLbGUfETzFGWJatf+mXqnH8r0+LDuZf6x8aewS+Ez8QKriY yykap9PQxf4Ja09h+BDXEWIUCStO+sTeUjATgMQNxJp/SPYIBWE7F2F/8k0fDtM+ /DecyYzJLRwAypSXpet0zDJi1UEJvaToc5OQT269fwv0dktcrQ+3csWcAcOyGNiH asQK/I8bhkPUps6QFFyD4nJeSTa46JazqzL1Fgxq1sQpgKEPZNCXJLrpChsP2vy0 5/dWIkEGLmeyBcMMvtvkjHGSbf2hw8KiOA9u39UY+C4yrtCdk0+b/ddtjpVZBz8h Bhz/uizTdTpRCeGscyGg61WlQEDajhl2Crc90yflmkFScmpTqwyLwg1EtTbp5tzy YpY4Oo7c6CiSovlv2Y/Z0bKb7kIVN9ARWbCl/nV8XoHQiE1v1wQg/BIobeBTjT0L 8WV5mV0qGFVnfKH4NOUGWwPSSxSMs6aJrz8aNX/seihChFXMXqi3R6QkYSMY8chF WA57nAajeU8GCSuts/Wi =KVIA -----END PGP SIGNATURE----- --=-=-=--