From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: Occurance property, or some similar name? Date: Wed, 13 Apr 2011 16:19:51 +0200 Message-ID: References: <87d3ksqujv.fsf@dustycloud.org> <87oc4bxoew.fsf@fastmail.fm> <8739lnnqfb.fsf@dustycloud.org> <87wriyl2o6.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA0vS-0002tI-L8 for emacs-orgmode@gnu.org; Wed, 13 Apr 2011 10:20:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QA0vB-0004dN-3Y for emacs-orgmode@gnu.org; Wed, 13 Apr 2011 10:20:10 -0400 Received: from mail-iw0-f169.google.com ([209.85.214.169]:36991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA0vB-0004cm-0L for emacs-orgmode@gnu.org; Wed, 13 Apr 2011 10:19:53 -0400 Received: by iwg8 with SMTP id 8so921867iwg.0 for ; Wed, 13 Apr 2011 07:19:51 -0700 (PDT) In-Reply-To: <87wriyl2o6.fsf@dustycloud.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Christopher Allan Webber Cc: Matt Lundin , emacs-orgmode@gnu.org On Wed, Apr 13, 2011 at 15:08, Christopher Allan Webber wrote: > Michael Brand writes: > >> The name could be critical. To avoid any confusions/collisions I would >> recommend to use just that name TIMESTAMP for easy get/set access: >> >> * _appointment_ that _occurs_ at bike shop >> =A0 :PROPERTIES: >> =A0 :TIMESTAMP: <2011-04-12 Tue 19:00> >> =A0 :END: >> > > Maybe you're already aware, but since TIMESTAMP is a "special property" > it currently isn't legal to use it as a property. =A0But maybe you're > suggesting changing that? Yes, I suggest to remove this limitation and would prefer TIMESTAMP much over OCCURANCE, APPOINTMENT (not every occurrance is an appointment) or any other name to avoid a second name for the same behavior of the existing special property TIMESTAMP and to avoid confusions/collisions at other places like e. g. selecting a property for a column view. In the sense of special properties I also suggest to allow different formats: * _appointment_ that _occurs_ at bike shop (keyword inside drawer) :PROPERTIES: :TIMESTAMP: <2011-04-12 Tue 19:00> :END: * _appointment_ that _occurs_ at bike shop (keyword outside drawer) :TIMESTAMP: <2011-04-12 Tue 19:00> * _appointment_ that _occurs_ at bike shop (keyword-less, at least for backward compatibility) <2011-04-12 Tue 19:00> With this I imagine that reading and writing the special property TIMESTAMP would address the first found with the chosen format or, if not found, for writing create one with the chosen format. The chosen format would of course default to the now only format "keyword-less", or with e. g. #+SPECIAL_PROPERTIES: TIMESTAMP=3Ddrawer:PROPERTIES <=3D example syntax only to get an idea could be changed to the first format "keyword inside drawer". The format "keyword-less" seems to overlap with the others which might need some more care. See also http://thread.gmane.org/gmane.emacs.orgmode/40801/focus=3D40813 Michael