From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2Bp9Ifx+xmMvYAAAbAwnHQ (envelope-from ) for ; Tue, 17 Jan 2023 11:57:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kDakIfx+xmOTPwEA9RJhRA (envelope-from ) for ; Tue, 17 Jan 2023 11:57:00 +0100 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 2E99B25068 for ; Tue, 17 Jan 2023 11:57:00 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHjdU-0007Yd-Pg; Tue, 17 Jan 2023 05:56:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHjdS-0007YN-0E for emacs-orgmode@gnu.org; Tue, 17 Jan 2023 05:56:10 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHjdP-0005RQ-Fi for emacs-orgmode@gnu.org; Tue, 17 Jan 2023 05:56:09 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 8B5D0240268 for ; Tue, 17 Jan 2023 11:56:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1673952965; bh=m398A4NgmtK8xhILQjG32/dIDAKDNIDePF0RpCxC/NE=; h=From:To:Cc:Subject:Date:From; b=IGkfQeGOPf3N1ly5jbbhCMAMs1lAlrx4UzP84Tlp5/Ke9onh8qJmguN4sp5JIvXMd 68QJ5/GaMKVXXXSZjx/tWwWtNbFOYFgcI/VKThAZrK4DUGG7kQU4AUVaejCkPi0QKy V1GyUybZJp62q1xMa8t9TPAhPQ540xKY1hUl8m6Xqh5AqzC3/1dT6esWWO6YxZf+OP pq1HplTCop6GxaBJ/Bmk5qnYXbwSy1Hlgx0GoYabdCReLTyzAAEWeMwCbrvxv2Kj4X 3AsGlqK229T9KWr0PXGuDFXeZHK4XunMACNqmKG9PZUoavoYsOPmX5xOovVpBIUkWy wvz+FPj9tKOgA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Nx5R61T39z6tqm; Tue, 17 Jan 2023 11:56:02 +0100 (CET) From: Ihor Radchenko To: David Masterson Cc: emacs-orgmode@gnu.org Subject: Re: org-todo-keywords and task sequence In-Reply-To: References: Date: Tue, 17 Jan 2023 10:56:32 +0000 Message-ID: <871qntig4f.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, 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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673953020; a=rsa-sha256; cv=none; b=Pzv/mRKWl0XZ1PPgUPvC99N4g3HpsBFJ+obv/g5y7C/cyEXdpIKurDHNKWJTLi43OjsMIK Sk0iHGNXTvgXK0QZy+DhVguU9uHT/cTSZVovJwKIe0bQVvmHFeBgsPdRe0wqSa/K9P8Hwj notxu4yyTdk4KZLRctQqy+NrM7qQxdvjwrySx6PmNvzfNrjKjokPWtSNIobFWF0lANYI6T OcHmpv4heU577ELpGJKjf7ySIpvJ37gjdCgZhTDfku5dDamw6Gp/l6tVJPPg3tv1qL/7KW ujIYC5BrUu3SM4bQJ3kVochZZbPicUw/7dgPwcNCTqtIJrTAZcS/uH/Eq2uI2Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=IGkfQeGO; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673953020; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZZXn7SWsdaGDl2japwCS5Hhk1Zq161MSlxKlywyxrj4=; b=kI5x9UlyT7FpWENWSHvqezWntxp97LmPcEfM9Ntv22j7VtMVLRPjBOoaxDdL69/dMkcQuS fB4ze72Yliib54boXsyS27cgVjdbf4GyZ9whKx5ao2XLWXvat2Il4gQt/eGPQ24J/0m4Su iibBM1rl81pvLMBuZqQ/+m3vAihybj8NOSXho1Lqf9eTemmMZCggXBBJO8JBwo0pnDDeT+ Bhk/IbQDaFwbK4MVeZllbYGFUkbuuxFx7mcdnxAvEUvrKFfVBwxTztgG7hSwaT+pb7AJZ4 SwsmrSHrazq7uCYvYfgVh0ZRiZMIqEU2lB6JVZmRZCXQCnbugEN2ERJ+2QJ1/A== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.97 X-Spam-Score: -6.97 X-Migadu-Queue-Id: 2E99B25068 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=IGkfQeGO; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-TUID: LPRk9l65isQe David Masterson writes: > I'm not sure I understand 'sequence' and 'type' in org-todo-keywords. > In particular, I can only think of the following simple sequence as > being possible in org-todo-keywords: > > TODO -> IN-PROCESS -> DONE > > If I want to add in (say) WAITING, the graph (represented as a table) > becomes: > > i\o | TODO | IN-P | WAIT | DONE > TODO | N | Y | N | N > IN-P | N | N | Y | Y > WAIT | N | Y | N | N > DONE | N | N | N | N The main purpose of the keyword sequences is working on tasks in steps. When a keyword is a part of sequence, you can just use S- S- to progress the task. For example: NEXT -> DOING -> REVIEW -> DONE Such sequence is only making sense when everything goes "as usual" with a task and you do not want to think about which keyword to assign. The transition IN-PROGRESS -> WAIT is something you have to decide consciously. Org cannot just read you mind and change IN-PROGRESS to WAIT. You will have set such transition manually. For your table, you can try something like #+TODO: WAIT IN-PROCESS #+TODO: TODO IN-PROCESS | DONE Note, however, that moving S- will be ambiguous. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at