From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: outline-agenda sorting consistency Date: Fri, 13 Mar 2009 20:18:42 -0700 Message-ID: <20524da70903132018y458215b4yac4604ed3afb146d@mail.gmail.com> References: <20524da70902102136m43cc7206q88d9f992cd280bfe@mail.gmail.com> <12A93522-C936-4A08-AE29-3CE19A6B29CB@uva.nl> <20524da70903022009m618d7ef2u4c85a1fa5de55bea@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LiKOa-0003w6-T8 for emacs-orgmode@gnu.org; Fri, 13 Mar 2009 23:18:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LiKOa-0003vl-Bd for emacs-orgmode@gnu.org; Fri, 13 Mar 2009 23:18:44 -0400 Received: from [199.232.76.173] (port=60649 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LiKOa-0003vi-6C for emacs-orgmode@gnu.org; Fri, 13 Mar 2009 23:18:44 -0400 Received: from yw-out-1718.google.com ([74.125.46.158]:24991) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LiKOZ-0003Rk-I9 for emacs-orgmode@gnu.org; Fri, 13 Mar 2009 23:18:43 -0400 Received: by yw-out-1718.google.com with SMTP id 6so403058ywa.66 for ; Fri, 13 Mar 2009 20:18:42 -0700 (PDT) In-Reply-To: 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: Carsten Dominik Cc: emacs-orgmode@gnu.org On Wed, Mar 4, 2009 at 04:53, Carsten Dominik wrote: > you can now et faces for each priority, using the variable > org-priority-faces, in a way similar to the todo-keyword faces, > and the tag faces. Just note that the car in this alist must be > a character, not a string. This is much better, thanks. Makes it easier to distinguish and I can use C now. >> Here is how I might do it, were the facility to exist: >> >> - done-ish and unimportant stuff at the bottom, important >> stuff at the top, and uncategorized nodes (i.e. blank >> todo state, no priority, no urgency) in the middle. >> - alphabetical order for nodes with the same weight >> - to calculate the weight of a node: >> 1) priority a is worth +1000 >> 2) urgent tag gets +1000 >> 3) now tag gets +500 >> 4) todo-ish states (todo, next) get +100 >> 5) /blank todo state/ gets 0 >> 6) zombie states (wait etc.) get -100 >> 7) someday tag gets -500 >> 8) priority c gets -1000 >> 9) done-ish states (done, moot) get -3000 >> - example: an urgent todo would have a weight of 1100. >> when it is marked done, it would have a weight of -2000. > > Outline sorting can be done using a user-defined function, > so in principle this should be possible..... It is on my list, > but not with high priority.... OK. Thanks for thinking about it. -- Myalgic encephalomyelitis denialism is causing death (decades early; Jason et al. 2006) and severe suffering (worse than nearly all other diseases studied; e.g. Schweitzer et al. 1995) and *grossly* corrupting science. http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm