From mboxrd@z Thu Jan 1 00:00:00 1970 From: James TD Smith Subject: Re: [misc-new-features 1/5] Add two new special properties, SINCE and SINCE_IA. Date: Fri, 17 Jul 2009 19:22:43 +0100 Message-ID: <20090717182243.GB15275@yog-sothoth.mohorovi.cc> References: <1247473682-23338-1-git-send-email-ahktenzero@mohorovi.cc> <1247473682-23338-2-git-send-email-ahktenzero@mohorovi.cc> <87zlb344so.fsf@bzg.ath.cx> 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 1MRs59-0001Fr-5R for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 14:22:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRs54-0001E2-H7 for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 14:22:54 -0400 Received: from [199.232.76.173] (port=49940 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRs54-0001Dz-8m for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 14:22:50 -0400 Received: from 81-86-40-42.dsl.pipex.com ([81.86.40.42]:64831 helo=yog-sothoth.mohorovi.cc) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MRs53-00031V-JF for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 14:22:50 -0400 Received: from yog-sothoth.mohorovi.cc (localhost [127.0.0.1]) by yog-sothoth.mohorovi.cc (8.14.2/8.14.2) with ESMTP id n6HIMh4v047539 for ; Fri, 17 Jul 2009 19:22:43 +0100 (BST) (envelope-from ahktenzero@mohorovi.cc) Received: (from ahktenzero@localhost) by yog-sothoth.mohorovi.cc (8.14.2/8.14.2/Submit) id n6HIMhR6047538 for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 19:22:43 +0100 (BST) (envelope-from ahktenzero@mohorovi.cc) Content-Disposition: inline In-Reply-To: <87zlb344so.fsf@bzg.ath.cx> 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 Bastien On 2009-07-17 18:55:01(+0200), Bastien wrote: > sorry for the delay. As I said, I will let Carsten decides about this > patch. While I like the idea of displaying this information in column > view, I'm unsure whether it's relevant to add another special property. > > Two arguments: (1) this special property, contrary to other ones, is a > _relative_ property. The information it displays in the column view is > not displayed in the subtree, it is dynamically computed when displaying > the column. So it is a "special special property". (2) The 2nd argument > is that, it would be more useful to have a custom summary-type mechanism > rather than adding too many special properties. Displaying SINCE could > be done by such a mechanism. > > What do you think? Actually, I've been thinking the same thing. When I wrote the patch adding a new property looked like the easiest way to get what I wanted, but it's somewhat limited. It would be useful to be able to use a property for the creation time of an entry, rather than putting an inactive timestamp in the entry. There's also the problem of being dependent on the order of the contents of the entry (the TIMESTAMP and TIMESTAMP_IA special properties return the first timestamp in the entry), so it only does the right thing if the LOGBOOK and PROPERTIES drawers are at the top of the entry and in that order. Having a column view operator for calculating time since would avoid this problem and be much more flexible. I've been looking at the changes Mikael Fornius' patch to org-columnview added, and I think I can add a new operator for this fairly easily. I still might want to add another special property, for the latest clocked time for an entry. That way I can have a column for the creation time (stored in a property) and a column for the last time I worked on the entry. James -- |---|