emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: swflint@flintfam.org (Samuel W. Flint)
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>,
	Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: Bug: Org Habits does not recalculate the "Scheduled:" line [8.3.2 (release_8.3.2-441-ga87dea @ /home/swflint/.emacs.d/org-mode/lisp/)]
Date: Sat, 02 Jan 2016 15:17:15 -0500	[thread overview]
Message-ID: <87oad391o4.fsf@turing.flintfam.org> (raw)
In-Reply-To: <87wprshrd9.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sat, 02 Jan 2016 17:34:58 +0100")

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

>>>>> Nicolas Goaziou writes:

NG> swflint@flintfam.org (Samuel W. Flint) writes:
>>>>>>> Nicolas Goaziou writes:
>>
NG> Hello, swflint@flintfam.org (Samuel W. Flint) writes:
>>
>>>> I use Org's habit feature.  I expect that when I mark a task such
>>>> as the following as done:
>>>>
>>>> * TODO Weekly Review SCHEDULED: <2016-01-01 Fri .+1w/2w>
>>>> :PROPERTIES: :STYLE: habit :END:
>>>>
>>>> The SCHEDULED line should change, to reflect the new date.  As of
>>>> right now, it doesn't, and instead, the SCHEDULED line is removed,
>>>> rendering the "habit" useless.
>>
NG> I cannot reproduce your problem. Could you try again without any
NG> configuration on your side ?
>>
>> I went ahead and tried that, no configuration other than (require
>> 'org) and (require 'org-habit), and I had that same issue.  I then
>> tried removing my TODO states configuration (stored in the file), and
>> still have the same problem.

NG> Then I may be misunderstanding the issue. Would you mind describing
NG> it step by step (as a sequence of small buffer contents and
NG> keypresses) ?

Sure.

The buffer starts out like so:

* TODO Weekly Review
SCHEDULED: <2016-01-01 Fri .+1w/2w>
:PROPERTIES:
:STYLE:    habit
:END:

With the point on any part of the headline, C-c C-t switches to DONE,
and the SCHEDULED line is updated, as long as there isn't any
customization of TODO states, and is updated to look like so:

* TODO Weekly Review
  SCHEDULED: <2016-01-09 Sat .+1w/2w>
  :PROPERTIES:
  :STYLE:    habit
  :LAST_REPEAT: [2016-01-02 Sat 15:14]
  :END:
  - State "DONE"       from "TODO"       [2016-01-02 Sat 15:14]

If I have other TODO states setup, such as:
#+TODO: TODO(t) WORKING(w) | DONE(d!)
#+TODO: | CANCELED(c!)
the SCHEDULED line is not updated, but rather removed.

NG> Regards,

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 --]

  parent reply	other threads:[~2016-01-02 20:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-02  5:40 Bug: Org Habits does not recalculate the "Scheduled:" line [8.3.2 (release_8.3.2-441-ga87dea @ /home/swflint/.emacs.d/org-mode/lisp/)] Samuel W. Flint
2016-01-02 12:49 ` Nicolas Goaziou
     [not found]   ` <877fjs9dk5.fsf@turing.flintfam.org>
     [not found]     ` <87wprshrd9.fsf@nicolasgoaziou.fr>
2016-01-02 20:17       ` Samuel W. Flint [this message]
2016-01-03  9:32         ` 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=87oad391o4.fsf@turing.flintfam.org \
    --to=swflint@flintfam.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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).