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 sN5+EPhAO19uHwAA0tVLHw (envelope-from ) for ; Tue, 18 Aug 2020 02:46:16 +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 8NBfDPhAO18iSAAAB5/wlQ (envelope-from ) for ; Tue, 18 Aug 2020 02:46:16 +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 92096940215 for ; Tue, 18 Aug 2020 02:46:15 +0000 (UTC) Received: from localhost ([::1]:32974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7rde-00050N-Ho for larch@yhetil.org; Mon, 17 Aug 2020 22:46:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7rd7-0004yY-6n for emacs-orgmode@gnu.org; Mon, 17 Aug 2020 22:45:41 -0400 Received: from pb-smtp1.pobox.com ([64.147.108.70]:56017) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7rd4-0003AL-1e for emacs-orgmode@gnu.org; Mon, 17 Aug 2020 22:45:40 -0400 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 0A4CC728B5; Mon, 17 Aug 2020 22:45:36 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=vZNh5M5kI2rk bVqKpYNZ0IgCzS8=; b=rrh46oCJpnl9OYH9M3ZXewgcPxxCLFTkrXRADI3Y7pM1 O10oCw0a1TClYIugw/3pn83D5ZBMVfnwI0WBW+9tgl4xRb95y8xOnvOyCYa8wV2r DgkXIPD/tIxMMlDN2iwJ+XoRf55kM6s/JHPnRpuNr1wx8LP8Qq2VfbUpDiOrQ+I= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 03525728B4; Mon, 17 Aug 2020 22:45:36 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:cc:subject:in-reply-to:references:date:message-id:mime-version:content-type:content-transfer-encoding; s=mesmtp; bh=aCRx6G4Nj5P4vYWV4K+fPp6UTSnSpRPvQt/qnTMDfPs=; b=GJ2BX7B1FLLETEMRiISo3el7WKlRyBcdykDoG9LxtIQSdHaejVTOkWn7peMgV3xXxKrYEZ4tDIeWIlVvn5QecMbZzN0+uwF9qTe+cQBHE7uolsgjs8s/rz7c8mAcF1N88pSnBEatnu4vg+kjULUOHg3sl0cXS4UPuTA9gKEmszQ= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 7DF50728B1; Mon, 17 Aug 2020 22:45:35 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: =?utf-8?Q?Dinny=C3=A9s_D=C3=A1niel?= 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/)] In-Reply-To: References: <87k0xzamdy.fsf@kyleam.com> <87v9hihldf.fsf@localhost> Date: Mon, 17 Aug 2020 22:45:34 -0400 Message-ID: <87tux0wu29.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Pobox-Relay-ID: E454D05E-E0FC-11EA-BDB9-01D9BED8090B-24757444!pb-smtp1.pobox.com Received-SPF: pass client-ip=64.147.108.70; envelope-from=kyle@kyleam.com; helo=pb-smtp1.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/17 22:16:20 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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=pobox.com header.s=sasl header.b=rrh46oCJ; dkim=fail (rsa verify failed) header.d=kyleam.com header.s=mesmtp header.b=GJ2BX7B1; dmarc=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.01 X-TUID: 9hXa9uENxxUi 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 sta= te > 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 fr= om > 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.