From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo He Subject: Re: Bug: org-habit treats all repeat tasks as ".+" type [7.9.3f (release_7.9.3f-17-g7524ef @ /usr/share/emacs/24.3/lisp/org/)] Date: Sat, 7 Mar 2015 14:29:30 +0800 Message-ID: References: <87385i9yix.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bea40cc6665870510acecc3 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YU8Eu-0005FK-ID for emacs-orgmode@gnu.org; Sat, 07 Mar 2015 01:29:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YU8Et-0000kd-Hz for emacs-orgmode@gnu.org; Sat, 07 Mar 2015 01:29:32 -0500 Received: from mail-wg0-x230.google.com ([2a00:1450:400c:c00::230]:45601) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YU8Et-0000jc-7z for emacs-orgmode@gnu.org; Sat, 07 Mar 2015 01:29:31 -0500 Received: by wggx13 with SMTP id x13so16919131wgg.12 for ; Fri, 06 Mar 2015 22:29:30 -0800 (PST) In-Reply-To: <87385i9yix.fsf@nicolasgoaziou.fr> 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, kuangdash@163.com --047d7bea40cc6665870510acecc3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks for your help, Nicolas and kungdash. I've tried both 8.2.10 (installing via elpa) and the git repository (8.3-beta and master branches), but still the same. I also tried with putting those DONE logs after the properties, but nothing change. On 6 March 2015 at 19:05, Nicolas Goaziou wrote: > Hello, > > =E4=BD=95=E5=88=A9=E5=8B=87 writes: > > > It looks like org-habit only handle the ".+" repeater correctly, though > > the document says it supports ".+", "++" and "+". > > > > For example, when create agenda for the following org content. > > > > * TODO Test_+ > > SCHEDULED: <2015-03-02 Mon +1w> > > - State "DONE" from "TODO" [2015-02-23 Mon 10:56] > > - State "DONE" from "TODO" [2015-02-16 Mon 10:56] > > - State "DONE" from "TODO" [2015-02-10 Tue 10:56] > > - State "DONE" from "READY" [2015-02-02 Mon 10:56] > > :PROPERTIES: > > :STYLE: habit > > :LAST_REPEAT: [2015-02-23 Mon 10:56] > > :ID: e960c39e-4f92-4ef0-a5ee-a4d3fcfd26bf > > :END: > > > > * TODO Test_++ > > SCHEDULED: <2015-03-02 Mon ++1w> > > - State "DONE" from "TODO" [2015-02-23 Mon 10:56] > > - State "DONE" from "TODO" [2015-02-15 Sun 10:56] > > - State "DONE" from "READY" [2015-02-02 Mon 10:56] > > :PROPERTIES: > > :STYLE: habit > > :LAST_REPEAT: [2015-02-23 Mon 10:56] > > :END: > > I don't think this bug still exists in a recent Org. Could you update > Org (preferably to development version) and test it again? > > Note that in development version, entries above are somewhat invalid > because properties drawer must be located just after "SCHEDULED" line. > > Thank you. > > > Regards, > > -- > Nicolas Goaziou > --047d7bea40cc6665870510acecc3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks for your help, Nicolas and kungdash.
<= /div>I've tried both 8.2.10 (installing via elpa) and the git repositor= y (8.3-beta and master branches), but still the same.

I also tried w= ith putting those DONE logs after the properties, but nothing change.

On 6 Ma= rch 2015 at 19:05, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
Hello,

=E4=BD=95=E5=88=A9=E5=8B=87 <l= eodream2008@gmail.com> writes:

> It looks like org-habit only handle the ".+" repeater correc= tly, though
> the document says it supports ".+", "++" and "= ;+".
>
> For example, when create agenda for the following org content.
>
> * TODO Test_+
> SCHEDULED: <2015-03-02 Mon +1w>
> - State "DONE"=C2=A0 =C2=A0 =C2=A0 =C2=A0from "TODO&quo= t;=C2=A0 [2015-02-23 Mon 10:56]
> - State "DONE"=C2=A0 =C2=A0 =C2=A0 =C2=A0from "TODO&quo= t;=C2=A0 [2015-02-16 Mon 10:56]
> - State "DONE"=C2=A0 =C2=A0 =C2=A0 =C2=A0from "TODO&quo= t;=C2=A0 [2015-02-10 Tue 10:56]
> - State "DONE"=C2=A0 =C2=A0 =C2=A0 =C2=A0from "READY&qu= ot; [2015-02-02 Mon 10:56]
> :PROPERTIES:
> :STYLE:=C2=A0 =C2=A0 habit
> :LAST_REPEAT: [2015-02-23 Mon 10:56]
> :ID:=C2=A0 =C2=A0 =C2=A0 =C2=A0e960c39e-4f92-4ef0-a5ee-a4d3fcfd26bf > :END:
>
> * TODO Test_++
> SCHEDULED: <2015-03-02 Mon ++1w>
> - State "DONE"=C2=A0 =C2=A0 =C2=A0 =C2=A0from "TODO&quo= t;=C2=A0 [2015-02-23 Mon 10:56]
> - State "DONE"=C2=A0 =C2=A0 =C2=A0 =C2=A0from "TODO&quo= t;=C2=A0 [2015-02-15 Sun 10:56]
> - State "DONE"=C2=A0 =C2=A0 =C2=A0 =C2=A0from "READY&qu= ot; [2015-02-02 Mon 10:56]
> :PROPERTIES:
> :STYLE:=C2=A0 =C2=A0 habit
> :LAST_REPEAT: [2015-02-23 Mon 10:56]
> :END:

I don't think this bug still exists in a recent Org. Could you u= pdate
Org (preferably to development version) and test it again?

Note that in development version, entries above are somewhat invalid
because properties drawer must be located just after "SCHEDULED" = line.

Thank you.


Regards,

--
Nicolas Goaziou

--047d7bea40cc6665870510acecc3--