From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wCklHgjQi18DZwAA0tVLHw (envelope-from ) for ; Sun, 18 Oct 2020 05:18:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CI3sGQjQi1+6RAAAB5/wlQ (envelope-from ) for ; Sun, 18 Oct 2020 05:18:00 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B0760940112 for ; Sun, 18 Oct 2020 05:17:59 +0000 (UTC) Received: from localhost ([::1]:47998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kU14u-0006dK-Lx for larch@yhetil.org; Sun, 18 Oct 2020 01:17:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kU149-0006dC-7f for emacs-orgmode@gnu.org; Sun, 18 Oct 2020 01:17:09 -0400 Received: from mail-ot1-x330.google.com ([2607:f8b0:4864:20::330]:46062) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kU147-0005gW-IF for emacs-orgmode@gnu.org; Sun, 18 Oct 2020 01:17:08 -0400 Received: by mail-ot1-x330.google.com with SMTP id f37so7337404otf.12 for ; Sat, 17 Oct 2020 22:17:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6l01cEScCKJ2IEOckDDA95Pr7TmIdGKzIx8X2mY0nno=; b=BN0GhDxDzHUddrKIkGFreuQO3YJknKgpTrzLsUYG2hbWDNWsUtmv+Bsqn3mK4mG895 EgY4KVu7p90OMkr4DiVo+A1QGO2IKkpROPdRYFfJFQwKJmDPSnWI/8pHahm59jcgl0xK X25g7pxK3TxIWgFR8OBeAnxxzCtNIKl9AdZ7T9mV7ToToXAaxH7JQVQAnsbU06xMyG9d og5K0bYG4dKDAw1DGgn5CO3PHyy8++rOxLAyN8LsldlHo/0XdOnsLadjU3iUGOcqTl85 VTioc/o3Cdos1Nz3I/8Oa2P2i30Szn3nSVp5fPAFpfqLy/Ko1fY5xRzunyeF4lZv1sZ/ u9iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6l01cEScCKJ2IEOckDDA95Pr7TmIdGKzIx8X2mY0nno=; b=i+qF+YTeCnyAg+t0sG+aKrVhQvnHfW580pXsYD9FZTSimQBT1fSyrWHXCOl/lDOImr JYVaKg6oQW7lTnXlE8ystTSKs434c3p2lPMvhsxD8943ebO/gdwmxh8ivSjW2znbhGXK niZj/uxVIYZTMHaW47OFvEZXe55/M9QD0L7ryEnGrtk3OkbqAnoa/pFa67NPf3JwCGOM EMpQ3hqY64JxLCuRZQze02I+tXFmNffoe5gOd5oelFRHTuJB1Uw1vuGlvWBAM9VgdY+6 37P/d6a0U5Rjnbeo5n6kargSvI187VM7af0/qHn5Hw1tTRaJ/wrR1olfXMJ4N5qPNp+p zCPA== X-Gm-Message-State: AOAM533Tmga0yFeN3pMhPXYjjdyFWvqM7j4gZ8cQO8W7vVTrPd/tTDQf kattn9QJDa+FHosG57Qc13N7JO4ocJUre4V1CvU= X-Google-Smtp-Source: ABdhPJwHJ0xd6IDnlGWiQjLlwdWH0TNOfn2wyZeUqvhxAqEOxaOtNRc9agOUds2T8o5dhO/+CxeR4RuyvjNJ/PEW0kY= X-Received: by 2002:a05:6830:141:: with SMTP id j1mr7856329otp.132.1602998225670; Sat, 17 Oct 2020 22:17:05 -0700 (PDT) MIME-Version: 1.0 References: <87k0xzamdy.fsf@kyleam.com> <87v9hihldf.fsf@localhost> <87tux0wu29.fsf@kyleam.com> In-Reply-To: <87tux0wu29.fsf@kyleam.com> From: Daniel Dinnyes Date: Sun, 18 Oct 2020 06:16:29 +0100 Message-ID: Subject: Re: Bug: org-agenda-todo applied to wrong line item [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.1/lisp/org/)] To: Kyle Meyer Content-Type: multipart/alternative; boundary="000000000000d114fe05b1eb1b1f" Received-SPF: pass client-ip=2607:f8b0:4864:20::330; envelope-from=dinnyesd@gmail.com; helo=mail-ot1-x330.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org, Ihor Radchenko Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=BN0GhDxD; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: QNp3holtadZb --000000000000d114fe05b1eb1b1f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I am currently on the master branch, and it seems to have been fixed indeed= ! On Tue, 18 Aug 2020 at 03:45, Kyle Meyer wrote: > Dinny=C3=A9s D=C3=A1niel writes: > > > I have tried reproducing it with a minimal example, and this seems to > work > > for me: > > > > * FOO > > ** TODO baz1 > > SCHEDULED: <2020-08-16 Sun> > > > > some text > > > > * BAR > > ** TODO baz2 > > SCHEDULED: <2020-08-16 Sun> > > *** DONE baz3 > > SCHEDULED: <2020-08-16 Sun> > > *** TODO baz4 > > SCHEDULED: <2020-08-16 Sun> > > > > When in the agenda, on the front line of item baz, setting it to DONE > state > > works fine. > > OTOH, when going to the end of the line on the item baz, trying to set = it > > to DONE results in the error message: > > TODO state change from TODO to DONE blocked (by "TODO baz4") > > > > Also, I have (org-enforce-todo-dependencies t), which causes the > blocking, > > and (org-agenda-dim-blocked-tasks (quote invisible)), which hides baz2 > from > > the agenda... because of this baz1 is followed directly by baz4 in my > > agenda window. > > Thanks for the minimal example and configuration. I can trigger the > issue using that file and > > (setq org-enforce-todo-dependencies t) > (setq org-agenda-dim-blocked-tasks 'invisible) > > with commit 5e4542d69 checked out. > > The issue doesn't happen with the current release (v9.3.7) or the master > branch. It went away with 27e4d7ce4 (Prevent infinite loop when showing > new time in agenda, 2020-02-14). I haven't taken a closer look, though. > > --000000000000d114fe05b1eb1b1f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I am currently on the master branch, and it seems to = have been fixed indeed!

On Tue, 18 Aug 2020 at 03:45, Kyle Meyer &= lt;kyle@kyleam.com= > wrote:
Dinn= y=C3=A9s D=C3=A1niel writes:

> I have tried reproducing it with a minimal example, and this seems to = work
> for me:
>
> * FOO
> ** TODO baz1
> SCHEDULED: <2020-08-16 Sun>
>
> some text
>
> * BAR
> ** TODO baz2
> SCHEDULED: <2020-08-16 Sun>
> *** DONE baz3
> SCHEDULED: <2020-08-16 Sun>
> *** TODO baz4
> SCHEDULED: <2020-08-16 Sun>
>
> When in the agenda, on the front line of item baz, setting it to DONE = state
> works fine.
> OTOH, when going to the end of the line on the item baz, trying to set= it
> to DONE results in the error message:
> TODO state change from TODO to DONE blocked (by "TODO baz4")=
>
> Also, I have (org-enforce-todo-dependencies t), which causes the block= ing,
> and (org-agenda-dim-blocked-tasks (quote invisible)), which hides baz2= from
> the agenda... because of this baz1 is followed directly by baz4 in my<= br> > agenda window.

Thanks for the minimal example and configuration.=C2=A0 I can trigger the issue using that file and

=C2=A0 =C2=A0 (setq org-enforce-todo-dependencies t)
=C2=A0 =C2=A0 (setq org-agenda-dim-blocked-tasks 'invisible)

with commit 5e4542d69 checked out.

The issue doesn't happen with the current release (v9.3.7) or the maste= r
branch.=C2=A0 It went away with 27e4d7ce4 (Prevent infinite loop when showi= ng
new time in agenda, 2020-02-14).=C2=A0 I haven't taken a closer look, t= hough.

--000000000000d114fe05b1eb1b1f--