From: Michael Brand <michael.ch.brand@gmail.com>
To: Christopher Allan Webber <cwebber@dustycloud.org>
Cc: Matt Lundin <mdl@imapmail.org>, emacs-orgmode@gnu.org
Subject: Re: Occurance property, or some similar name?
Date: Wed, 13 Apr 2011 16:19:51 +0200 [thread overview]
Message-ID: <BANLkTik_UXhoCSWxUs+MgCHbwwnY6R-sNQ@mail.gmail.com> (raw)
In-Reply-To: <87wriyl2o6.fsf@dustycloud.org>
On Wed, Apr 13, 2011 at 15:08, Christopher Allan Webber
<cwebber@dustycloud.org> wrote:
> Michael Brand <michael.ch.brand@gmail.com> 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
>> :PROPERTIES:
>> :TIMESTAMP: <2011-04-12 Tue 19:00>
>> :END:
>>
>
> Maybe you're already aware, but since TIMESTAMP is a "special property"
> it currently isn't legal to use it as a property. But 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=drawer:PROPERTIES <= 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=40813
Michael
next prev parent reply other threads:[~2011-04-13 14:20 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-11 22:42 Occurance property, or some similar name? Christopher Allan Webber
2011-04-12 4:22 ` theo
2011-04-12 14:41 ` Christopher Allan Webber
2011-04-12 19:28 ` Matt Lundin
2011-04-12 19:25 ` Matt Lundin
2011-04-12 20:52 ` Christopher Allan Webber
2011-04-13 1:01 ` Matt Lundin
2011-04-13 13:07 ` Christopher Allan Webber
2011-04-13 8:19 ` Michael Brand
2011-04-13 13:08 ` Christopher Allan Webber
2011-04-13 14:19 ` Michael Brand [this message]
2011-04-13 14:43 ` Christopher Allan Webber
2011-04-13 15:42 ` Michael Brand
2011-04-13 15:57 ` Christopher Allan Webber
2011-04-12 20:00 ` Memnon Anon
2011-04-12 20:24 ` Richard Riley
2011-04-13 15:34 ` Carsten Dominik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BANLkTik_UXhoCSWxUs+MgCHbwwnY6R-sNQ@mail.gmail.com \
--to=michael.ch.brand@gmail.com \
--cc=cwebber@dustycloud.org \
--cc=emacs-orgmode@gnu.org \
--cc=mdl@imapmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).