emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: swflint@flintfam.org (Samuel W. Flint)
To: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <87si2365lg.fsf@turing.flintfam.org> (raw)
In-Reply-To: <877fjfraaw.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 12 Jan 2016 00:00:39 +0100")

[-- Attachment #1: Type: text/plain, Size: 1818 bytes --]

>>>>> 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 headline at position 1 in buffer test.org")

I have absolutely no idea why this happens.

NG> Regards,

NG> -- Nicolas Goaziou

Thanks,

Sam

--
Samuel W. Flint
4096R/266596F4
      (9477 D23E 389E 40C5 2F10  DE19 68E5 318E 2665 96F4)
(λs.s s) λs.s s

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

  reply	other threads:[~2016-01-11 23:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-11  0:35 Bug: Habit Logging in incorrect place [8.3.2 (release_8.3.2-490-g157f91 @ /home/swflint/.emacs.d/org-mode/lisp/)] Samuel W. Flint
2016-01-11 23:00 ` Nicolas Goaziou
2016-01-11 23:47   ` Samuel W. Flint [this message]
2016-01-12 20:31     ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87si2365lg.fsf@turing.flintfam.org \
    --to=swflint@flintfam.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).