From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Egli Subject: Re: Use case of TIMESTAMP, SCHEDULED and DEADLINE Date: Tue, 11 Apr 2006 15:45:04 +0200 Message-ID: <1144763104.7781.19.camel@elrond.novell.com> References: <1144668069.8041.87.camel@elrond.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FTJBO-0006gj-LC for emacs-orgmode@gnu.org; Tue, 11 Apr 2006 09:45:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FTJBK-0006dq-58 for emacs-orgmode@gnu.org; Tue, 11 Apr 2006 09:45:25 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FTJBK-0006dl-1a for emacs-orgmode@gnu.org; Tue, 11 Apr 2006 09:45:22 -0400 Received: from [195.33.99.129] (helo=gwia-smtp.id2.novell.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FTJGB-00039o-SI for emacs-orgmode@gnu.org; Tue, 11 Apr 2006 09:50:24 -0400 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: emacs-orgmode@gnu.org Hi Carsten On Tue, 2006-04-11 at 12:30 +0200, Carsten Dominik wrote: > On Apr 10, 2006, at 13:21, Christian Egli wrote: > > > > 1. What is the use case of TIMESTAMP? > > The *intended* difference (which may have nothing to do with > the way things are being used...) is the following: Thanks, that makes it much more clear. > > 2. I would like tasks that are scheduled to no longer show up as > > "CURRENTLY OPEN TODO ITEMS". For me open items are items that > > have not been scheduled yet and that I need to schedule. > > Hmmm, yes, I can see how this would be useful, but this is > not how it works now. I'll put this on my list to think about. I'll see if I can hack on this. > > 3. The sorting of items within a day is a mystery to me. I would > > like to sort them by state (TODO, DONE) and priority. Sorting > > by > > priority seems to work for the CURRENTLY OPEN TODO ITEMS but > > not > > for a specific day. I modified the to '(time-up priority-down), > > but it still sorts by category for the days. I tried to debug > > this but did not find my way around the code > > ((org-finalize-agenda-entries). > > OK, let me explain sorting, maybe this will make things clearer. Yes, thanks this helps a lot. > Here is some information about priorities, which is not yet > documented. > > A TODO entry has priority 1. > > Timestamps and ranges, and diary entries have priority 0. > > A deadline has priority 100 on the day it is due. On days before > becoming due the deadline has priority 10-(days to due-date) > > A scheduled item has priority 99 on the day it is due. So it is > going to be high in the list, but still below deadlines due today. > > Explicitly specified priorities #A, #B, and #C add a value > of 2000, 1000, 0, respectively. Items without explicit priority > are treated as being #B. > > So a TODO entry normally has priority 1001. OK, understood. > In the agenda you can check the priority of an item with the "P" key, > by the priority is not updated when you change the date or TODO state > of an item. Refresh the agenda with "r" to make sure the correct > priorities are listed for "P". This is interesting. Still using CVS Emacs (and org mode), "P" tells me 1001 for "OPEN TODO ITEMS" (2001 for #A, 1 for #C). However scheduled TODOs which show up on a certain day all have priority -1000 regardless of their explicitly set priorities. Is this intended? > If you want to get the TODO entries taken apart by keyword, I guess > I would have to assign different priorities for different TODO > keywords. Or make a special TODO sorting key that could be added > to `org-agenda-sorting-strategy'. I'll look into this. -- Christian Egli, Senior Consultant Novell (Schweiz) AG, Leutschenbachstrasse 41, 8050 Zürich Tel. +41 43 299 75 46 direct, Tel. +41 43 299 78 00, Fax: +41 43 299 75 01