emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Habits will not correctly reset timestamp [8.3.2 (release_8.3.2-570-gc17fcc @ /home/swflint/.emacs.d/org-mode/lisp/)]
@ 2016-01-27 20:56 Samuel W. Flint
  2016-01-28  8:04 ` Nicolas Goaziou
  0 siblings, 1 reply; 6+ messages in thread
From: Samuel W. Flint @ 2016-01-27 20:56 UTC (permalink / raw)
  To: emacs-orgmode

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


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------

See my previous bug report.  This still happens.

If I have a heading like so:

* TODO Something
SCHEDULED: <2016-01-17 Sun .+1w/2w>
:PROPERTIES:
:STYLE: habit
:END:

And execute C-c C-t d on the heading, the following appears:

* TODO Something
:PROPERTIES:
:STYLE: habit
:END:

This is incorrect behavior, and I'm unable to use org-habits correctly.

Thanks,

Sam

Emacs  : GNU Emacs 24.5.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.17.8)
 of 2015-09-11 on buildvm-21.phx2.fedoraproject.org
Package: Org-mode version 8.3.2 (release_8.3.2-570-gc17fcc @ /home/swflint/.emacs.d/org-mode/lisp/)

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bug: Habits will not correctly reset timestamp [8.3.2 (release_8.3.2-570-gc17fcc @ /home/swflint/.emacs.d/org-mode/lisp/)]
  2016-01-27 20:56 Bug: Habits will not correctly reset timestamp [8.3.2 (release_8.3.2-570-gc17fcc @ /home/swflint/.emacs.d/org-mode/lisp/)] Samuel W. Flint
@ 2016-01-28  8:04 ` Nicolas Goaziou
  2016-01-28 16:24   ` Samuel W. Flint
  0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Goaziou @ 2016-01-28  8:04 UTC (permalink / raw)
  To: Samuel W. Flint; +Cc: emacs-orgmode

Hello,

swflint@flintfam.org (Samuel W. Flint) writes:

> See my previous bug report.  This still happens.
>
> If I have a heading like so:
>
> * TODO Something
> SCHEDULED: <2016-01-17 Sun .+1w/2w>
> :PROPERTIES:
> :STYLE: habit
> :END:
>
> And execute C-c C-t d on the heading, the following appears:
>
> * TODO Something
> :PROPERTIES:
> :STYLE: habit
> :END:
>
> This is incorrect behavior, and I'm unable to use org-habits
> correctly.

I cannot reproduce it. With -Q, I get

  * TODO Something
  SCHEDULED: <2016-02-04 jeu. .+1w/2w>
  :PROPERTIES:
  :STYLE: habit
  :LAST_REPEAT: [2016-01-28 jeu. 09:03]
  :END:
  - State "DONE"       from "TODO"       [2016-01-28 jeu. 09:03]


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bug: Habits will not correctly reset timestamp [8.3.2 (release_8.3.2-570-gc17fcc @ /home/swflint/.emacs.d/org-mode/lisp/)]
  2016-01-28  8:04 ` Nicolas Goaziou
@ 2016-01-28 16:24   ` Samuel W. Flint
  2016-01-29 13:28     ` Nicolas Goaziou
  0 siblings, 1 reply; 6+ messages in thread
From: Samuel W. Flint @ 2016-01-28 16:24 UTC (permalink / raw)
  To: emacs-orgmode

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

:: Nicolas Goaziou writes:

NG> Hello, swflint@flintfam.org (Samuel W. Flint) writes:

>> See my previous bug report.  This still happens.
>>
>> If I have a heading like so:
>>
>> * TODO Something SCHEDULED: <2016-01-17 Sun .+1w/2w> :PROPERTIES:
>> :STYLE: habit :END:
>>
>> And execute C-c C-t d on the heading, the following appears:
>>
>> * TODO Something :PROPERTIES: :STYLE: habit :END:
>>
>> This is incorrect behavior, and I'm unable to use org-habits
>> correctly.

NG> I cannot reproduce it. With -Q, I get

NG>   * TODO Something SCHEDULED: <2016-02-04 jeu. .+1w/2w> :PROPERTIES:
NG> :STYLE: habit :LAST_REPEAT: [2016-01-28 jeu. 09:03] :END: - State
NG> "DONE" from "TODO" [2016-01-28 jeu. 09:03]

With -Q, I still have the same problem.  It is not a top level heading,
but even as a top level heading, this doesn't happen.  The SCHEDULED
line is removed, rather than updated.

Thanks,

Sam

NG> Regards,

NG> -- Nicolas Goaziou

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bug: Habits will not correctly reset timestamp [8.3.2 (release_8.3.2-570-gc17fcc @ /home/swflint/.emacs.d/org-mode/lisp/)]
  2016-01-28 16:24   ` Samuel W. Flint
@ 2016-01-29 13:28     ` Nicolas Goaziou
  2016-01-30  1:46       ` Samuel W. Flint
  0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Goaziou @ 2016-01-29 13:28 UTC (permalink / raw)
  To: Samuel W. Flint; +Cc: emacs-orgmode

Hello,

swflint@flintfam.org (Samuel W. Flint) writes:

> With -Q, I still have the same problem.  It is not a top level heading,
> but even as a top level heading, this doesn't happen.  The SCHEDULED
> line is removed, rather than updated.

Very strange. At this point, I suggest to debug the functions to know
where and why this is happening. As a starting point, you may want to
look into `org-auto-repeat-maybe'.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bug: Habits will not correctly reset timestamp [8.3.2 (release_8.3.2-570-gc17fcc @ /home/swflint/.emacs.d/org-mode/lisp/)]
  2016-01-29 13:28     ` Nicolas Goaziou
@ 2016-01-30  1:46       ` Samuel W. Flint
  2016-01-30 23:17         ` Nicolas Goaziou
  0 siblings, 1 reply; 6+ messages in thread
From: Samuel W. Flint @ 2016-01-30  1:46 UTC (permalink / raw)
  To: emacs-orgmode

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

:: Nicolas Goaziou writes:

NG> Hello, swflint@flintfam.org (Samuel W. Flint) writes:

>> With -Q, I still have the same problem.  It is not a top level
>> heading, but even as a top level heading, this doesn't happen.  The
>> SCHEDULED line is removed, rather than updated.

NG> Very strange. At this point, I suggest to debug the functions to
NG> know where and why this is happening. As a starting point, you may
NG> want to look into `org-auto-repeat-maybe'.

It removes it in the last iteration of the ~while~ loop.  I couldn't
point out exactly when, but at some point, it gets removed.

HTH,

Sam

NG> Regards,

NG> -- Nicolas Goaziou

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bug: Habits will not correctly reset timestamp [8.3.2 (release_8.3.2-570-gc17fcc @ /home/swflint/.emacs.d/org-mode/lisp/)]
  2016-01-30  1:46       ` Samuel W. Flint
@ 2016-01-30 23:17         ` Nicolas Goaziou
  0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Goaziou @ 2016-01-30 23:17 UTC (permalink / raw)
  To: Samuel W. Flint; +Cc: emacs-orgmode

Hello,

swflint@flintfam.org (Samuel W. Flint) writes:

> It removes it in the last iteration of the ~while~ loop.  I couldn't
> point out exactly when, but at some point, it gets removed.
>
> HTH,

Unfortunately, it still doesn't ring any bell. You may want to edebug
and evaluate `org-auto-repeat-maybe' step by step, in order to find the
exact location of the problem (probably a call to `org-timestamp-change'
somewhere in the while loop).

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-01-30 23:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-27 20:56 Bug: Habits will not correctly reset timestamp [8.3.2 (release_8.3.2-570-gc17fcc @ /home/swflint/.emacs.d/org-mode/lisp/)] Samuel W. Flint
2016-01-28  8:04 ` Nicolas Goaziou
2016-01-28 16:24   ` Samuel W. Flint
2016-01-29 13:28     ` Nicolas Goaziou
2016-01-30  1:46       ` Samuel W. Flint
2016-01-30 23:17         ` Nicolas Goaziou

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).