From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IP6VBdcKx2JnMAAAbAwnHQ (envelope-from ) for ; Thu, 07 Jul 2022 18:33:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EMyCBdcKx2JukgAAauVa8A (envelope-from ) for ; Thu, 07 Jul 2022 18:33:27 +0200 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 D6A1A43F25 for ; Thu, 7 Jul 2022 18:33:26 +0200 (CEST) Received: from localhost ([::1]:37804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9URR-0005m7-UM for larch@yhetil.org; Thu, 07 Jul 2022 12:33:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9UQE-0005l5-LL for emacs-orgmode@gnu.org; Thu, 07 Jul 2022 12:32:19 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:42569) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o9UQB-0001gB-E2 for emacs-orgmode@gnu.org; Thu, 07 Jul 2022 12:32:09 -0400 Received: by mail-wr1-x42b.google.com with SMTP id s1so27085945wra.9 for ; Thu, 07 Jul 2022 09:32:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:mime-version:content-disposition; bh=IdXy34jdjSbEqmBm1vwtczsCzp7xbHtMUW0Zh9/U1fM=; b=PzF1VqqUTNDkUEJrPPzC1JXKwL0qVd/VtEecb8RgXT0WU/Qr427APjLznjkn98p2GG Xs9hYQRMH3N6YZPHzHKSzXDDgbrKZwwqR9sCs+Q9IkfTr9hRvXrkGvgbgBAsNEhzVlhR 8/NwQYVgbCLiwYIq0LsqbTYzOPt+RgUFta0mmki4qbV6ykfomF+bntYWdOdAGi9bTip8 PAw4RWz+ldge1F4ZzY2UH/VlKDGKa3QeOwguxHROLBVf1qWLQVkTc7CjYYzef1gmSVey 1/6blno1K0u6BZoCz7MOgeD9EQZn2cPk6bJ9PFQOHbCps6SLbfMl0jOCQAhPrbBM7Xfp Haiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition; bh=IdXy34jdjSbEqmBm1vwtczsCzp7xbHtMUW0Zh9/U1fM=; b=IYSjDdXY6118ye5USHY19MN4ysWyzDrqw2Oc3fZctge3IOlZe9pqv2z8ATYC8s3+T0 lIaxFTKmnDaI2hrVA4DehjuMvKWCN9bqAoBVOFhEbiBjhoU0ZAgoM9/76hpgSTghtqwk 1pJkDsQDhUyfCqEZhtbvMqpiAQhUCJ2PStiEjp7q/3/PXV3PZckO05yT437TnrqP4r+2 slS8+LYUj8g+DedoHY7GyTZUPmVBDZzH/JhhCNyrOEMtUaezzHTaIebJrW5PKjRnSZgf M9VrHU+rNTC+otAapTTO1dcmGlT3Ey/xQDBNN6Ssn9St7iE3bsPXq3z2d4cPMbMfCD8I SpMQ== X-Gm-Message-State: AJIora8bsy/Cg6bjJ4CxnwuO3EWpz9wKsr3HaDgKaMUiNtYgarn8+6rX SLy1RiFKqIgLQRKMKJqWCXCO3R5wupM= X-Google-Smtp-Source: AGRyM1uicsM6RVNdOt2FLvCLio1IDP7tLgqwSthYY/E7+h66THvWtMj1MX82yz2EicBBAwWcG0eEMw== X-Received: by 2002:a5d:5955:0:b0:21d:854d:3322 with SMTP id e21-20020a5d5955000000b0021d854d3322mr4569345wri.503.1657211522536; Thu, 07 Jul 2022 09:32:02 -0700 (PDT) Received: from localhost ([37.228.245.235]) by smtp.gmail.com with ESMTPSA id bg39-20020a05600c3ca700b003a18de85a64sm22110197wmb.24.2022.07.07.09.32.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 09:32:01 -0700 (PDT) Date: Thu, 7 Jul 2022 17:32:00 +0100 From: Bob Heffernan To: emacs-orgmode@gnu.org Subject: Problem with defining stuck projects Message-ID: <20220707163200.ug43xhgzr52t5lyc@bob-mtu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=bob.heffernan@gmail.com; helo=mail-wr1-x42b.google.com 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657211606; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=IdXy34jdjSbEqmBm1vwtczsCzp7xbHtMUW0Zh9/U1fM=; b=ebpSL4bMGt9zhebVwuLPygdgYEBi0EPqUcDYelYxRIiNa9FPoJfdsTZOme2oPEiSH+7p/T 0m5VlHfARbwDLq0izQ6X8PH6zbYz6vvGRUyW/6zb6o4hN0BBjZNxznGETMSisTOWEiH6f9 TdlJG/WNdOejucPF+2WB6anGbbpXUZVyfuCr124vduFfe5dl8GpmYu4fM6u9GNtkwHts2A BcC+3WQj14L6XvnSOw86zPc3wHsrwCBnCChSXDUNPG7ltleIebO2m6YobRv1QBS0bTYcJj //SN1hM2E7T8c6u+s2hdHIglhptxrNhq60B4X895BdDWnv4txh2sSfAkXSdl+A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657211606; a=rsa-sha256; cv=none; b=VcW8/fP2ifzV4fJFxNlj1oGyFvK74YvuYBY8y31Apnzgg+d+3s6L78Zyey8f5akxQ1F9/h F0M8sLBvtefjhfDM84/kDCORkWEy8nFesDM4qs+cZ3scUg4wIP276eF0HV+CeX9NbDb5ge n9zGO9nWLDMWjhGOS6c1zs7OMMFmzjws+Z7Q+2KQqBghqYvUQR/CqAfGb7ugvihyoEM1El tU42UIzZbmgQGYwSRFYcfmpEBmjhKkE/9w1VFcEwrboJsb2+z1eWFCwOr9ufHj/KkEKPzn KGhsQ/2B9j0Cf5ueOo689FJrArlQ2rH1z6AxBVr/yqfV0SKR4DvALCKYG8I1Mg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=PzF1VqqU; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Spam-Score: -7.25 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=PzF1VqqU; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Queue-Id: D6A1A43F25 X-Spam-Score: -7.25 X-Migadu-Scanner: scn0.migadu.com X-TUID: xvpQapNRQXIK Dear all, I am having trouble setting org-stuck-projects in a way that works for me. My org-files are organised something like this... * Non-project header - blah, blah ** Foo * TODO Project 1 ** TODO Do this CLOSED: [2022-07-06 Wed 17:10] SCHEDULED: <2022-07-06 Wed> ** TODO Do these *** TODO First thing CLOSED: [2022-07-06 Wed 17:20] SCHEDULED: <2022-07-06 Wed> *** TODO Second thing * TODO Project 2 ** TODO Something SCHEDULED: <2022-07-07 Thu> I want the following: 1. A project is a level 1 header marked as TODO 2. A project is not stuck if it has any sub-header that is scheduled but not closed. So, in the example above Project 1 counts as stuck, but Project 2 does not. What I've got so far is this: (setq org-stuck-projects '("+LEVEL=1/TODO-DONE" nil nil "SCHEDULED:") But this will clearly mark both projects 1 and 2 as stuck. I need some way of specifying the "but not closed" part, but am at a loss as to how I can do this. Any help is appreciated. Regards, Bob Heffernan