From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: [PATCH] Fix typographical errors in stuck project help Date: Mon, 23 Apr 2007 21:04:48 -0400 Message-ID: <877is24m6n.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hg9d9-00043v-Mm for emacs-orgmode@gnu.org; Mon, 23 Apr 2007 21:15:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hg9d9-000438-2f for emacs-orgmode@gnu.org; Mon, 23 Apr 2007 21:15:43 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hg9d8-00042z-S5 for emacs-orgmode@gnu.org; Mon, 23 Apr 2007 21:15:42 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Hg9Xf-0006Zh-Ra for emacs-orgmode@gnu.org; Mon, 23 Apr 2007 21:10:04 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Hg9Xe-00031p-Eq for emacs-orgmode@gnu.org; Tue, 24 Apr 2007 03:10:02 +0200 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([74.119.210.211]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Apr 2007 03:10:02 +0200 Received: from bernt by cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Apr 2007 03:10:02 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Carsten, I stumbled across some typos today in version 4.71 when reading through the org-stuck projects messages. Patch follows. I'm having difficulty getting org-stuck-projects working correctly. When I use the default settings C-a # still wants to include DONE projects in my stuck project view. It's probably something silly I'm not getting right. Here's my test org file: ---- test.org #+SEQ_TODO: TODO NEXT | DONE * First Heading ** TODO Project 1A ** DONE Project 1B CLOSED: [2007-04-23 Mon 20:29] * Second Heading ** Project 2A *** NEXT Task 1 *** TODO Task 2 ** Project 2B *** TODO Task 1 *** TODO Task 2 ---- end of test.org org-stuck-projects is defined as: (setq org-stuck-projects '("+LEVEL=2/-DONE" ("NEXT") ("INFO"))) but when I ask for stuck projects on this file I get: List of stuck projects: test: .TODO Project 1A test: .DONE Project 1B test: .Project 2B Why does project 1B show up in the list? It's DONE. I'm confused. :) Thanks for a great tool! Bernt diff -ru orig/org.el new/org.el --- orig/org.el 2007-04-23 20:39:46.000000000 -0400 +++ new/org.el 2007-04-23 20:45:14.000000000 -0400 @@ -1815,12 +1815,12 @@ This is a list of three items: 1. A tags/todo matcher string that is used to identify a project. The entire tree below a headline matched by this is considered a project. -2. A list of TODO keywords itentifying non-stuck projects. +2. A list of TODO keywords identifying non-stuck projects. If the project subtree contains any headline with one of these todo - keywords, the project is consitered to be not stuck. + keywords, the project is considered to be not stuck. 3. A list of tags identifying non-stuck projects. If the project subtree contains any headline with one of these tags, - the project is consitered to be not stuck. + the project is considered to be not stuck. After defining this variable, you may use \\[org-agenda-list-stuck-projects] or `C-c a #' to produce the list."