emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Timestamps - anything goes?
@ 2014-01-30 16:54 Thorsten Jolitz
  2014-01-30 17:59 ` Bastien
  0 siblings, 1 reply; 8+ messages in thread
From: Thorsten Jolitz @ 2014-01-30 16:54 UTC (permalink / raw)
  To: emacs-orgmode


Hi List, 

(headline) timestamps, deadlines, scheduled and closed items are parsed
into timestamp lists with the following attributes:

- timestamp-type
- start date
- start time
- end date
- end time
- repeater-type
- repeater-value
- repeater-unit

Not all attributes seem to make sense for each element (closed as time
range? deadline with repeater?) and not all combinations of
timestamps/planning info seem reasonable (closed & scheduled later on). 

Is there any restriction in the use of planning/time info other than
common sense? If so, what are the ruled-out combinations and attribute
assignments? 

-- 
cheers,
Thorsten

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Timestamps - anything goes?
  2014-01-30 16:54 Timestamps - anything goes? Thorsten Jolitz
@ 2014-01-30 17:59 ` Bastien
  2014-01-30 18:17   ` Thorsten Jolitz
  0 siblings, 1 reply; 8+ messages in thread
From: Bastien @ 2014-01-30 17:59 UTC (permalink / raw)
  To: Thorsten Jolitz; +Cc: emacs-orgmode

Hi Thorsten,

Thorsten Jolitz <tjolitz@gmail.com> writes:

> Is there any restriction in the use of planning/time info other than
> common sense? If so, what are the ruled-out combinations and attribute
> assignments?

Common sense applies, but it applies best to examples.
I guess the question is too abstract for anyone to give
a useful answer -- what problem are you trying to solve?

-- 
 Bastien

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Timestamps - anything goes?
  2014-01-30 17:59 ` Bastien
@ 2014-01-30 18:17   ` Thorsten Jolitz
  2014-01-30 19:26     ` Bastien
  0 siblings, 1 reply; 8+ messages in thread
From: Thorsten Jolitz @ 2014-01-30 18:17 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg@gnu.org> writes:

Hi Bastien ,

> Thorsten Jolitz <tjolitz@gmail.com> writes:
>
>> Is there any restriction in the use of planning/time info other than
>> common sense? If so, what are the ruled-out combinations and attribute
>> assignments?
>
> Common sense applies, but it applies best to examples.
> I guess the question is too abstract for anyone to give
> a useful answer -- what problem are you trying to solve?

There are actually several questions:

 1. can deadlines be time-ranges?
 2. in time-ranges, can both entries have repeaters?
 3. can deadline and closed have repeaters?
 4. are any combinations of deadline and scheduled valid?
 5. ...

i.e. I want to find out which timestamp-attributes are (or should be)
neve used for which planning-element, and which combinations of these
elements are (or should be) strictly forbidden. 

-- 
cheers,
Thorsten

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Timestamps - anything goes?
  2014-01-30 18:17   ` Thorsten Jolitz
@ 2014-01-30 19:26     ` Bastien
  2014-01-31 12:39       ` Thorsten Jolitz
  0 siblings, 1 reply; 8+ messages in thread
From: Bastien @ 2014-01-30 19:26 UTC (permalink / raw)
  To: Thorsten Jolitz; +Cc: emacs-orgmode

Hi Thorsten,

Thorsten Jolitz <tjolitz@gmail.com> writes:

>  1. can deadlines be time-ranges?

No.

>  2. in time-ranges, can both entries have repeaters?

No.

>  3. can deadline and closed have repeaters?

No.

>  4. are any combinations of deadline and scheduled valid?

Yes!

> i.e. I want to find out which timestamp-attributes are (or should be)
> neve used for which planning-element, and which combinations of these
> elements are (or should be) strictly forbidden.

This does not really tell why, but maybe it's a secret :)

-- 
 Bastien

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Timestamps - anything goes?
  2014-01-30 19:26     ` Bastien
@ 2014-01-31 12:39       ` Thorsten Jolitz
  2014-02-03 12:36         ` Sebastien Vauban
  0 siblings, 1 reply; 8+ messages in thread
From: Thorsten Jolitz @ 2014-01-31 12:39 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg@gnu.org> writes:

Hi Bastien,

> Thorsten Jolitz <tjolitz@gmail.com> writes:
>
>>  1. can deadlines be time-ranges?
>
> No.
>
>>  2. in time-ranges, can both entries have repeaters?
>
> No.
>
>>  3. can deadline and closed have repeaters?
>
> No.
>
>>  4. are any combinations of deadline and scheduled valid?
>
> Yes!

Thanks, I had similar ideas but wanted to hear another opinion for
reinsurance. 

>> i.e. I want to find out which timestamp-attributes are (or should be)
>> neve used for which planning-element, and which combinations of these
>> elements are (or should be) strictly forbidden.

> This does not really tell why, but maybe it's a secret :)

Sort of ... maybe more info in the future ;)

-- 
cheers,
Thorsten

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Timestamps - anything goes?
  2014-01-31 12:39       ` Thorsten Jolitz
@ 2014-02-03 12:36         ` Sebastien Vauban
  2014-02-03 13:08           ` Thorsten Jolitz
  2014-02-03 14:54           ` Bastien
  0 siblings, 2 replies; 8+ messages in thread
From: Sebastien Vauban @ 2014-02-03 12:36 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Thorsten Jolitz wrote:
> Bastien <bzg-mXXj517/zsQ@public.gmane.org> writes:
>> Thorsten Jolitz <tjolitz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>>
>>>  3. can deadline and closed have repeaters?
>>
>> No.

Not true for the first item: deadlines _can_ have repeaters:

--8<---------------cut here---------------start------------->8---
** TODO Test
   DEADLINE: <2014-02-04 Tue +1d>
   :LOGBOOK:
   - State "TODO"        ->  "DONE"       [2014-02-03 Mon 13:35]
   :END:
   :PROPERTIES:
   :LAST_REPEAT: [2014-02-03 Mon 13:35]
   :END:
--8<---------------cut here---------------end--------------->8---

Best regards,
  Seb

-- 
Sebastien Vauban

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Timestamps - anything goes?
  2014-02-03 12:36         ` Sebastien Vauban
@ 2014-02-03 13:08           ` Thorsten Jolitz
  2014-02-03 14:54           ` Bastien
  1 sibling, 0 replies; 8+ messages in thread
From: Thorsten Jolitz @ 2014-02-03 13:08 UTC (permalink / raw)
  To: emacs-orgmode

"Sebastien Vauban" <sva-news@mygooglest.com>
writes:

> Thorsten Jolitz wrote:
>> Bastien <bzg@gnu.org> writes:
>>> Thorsten Jolitz <tjolitz@gmail.com>
>>> writes:
>>>
>>>>  3. can deadline and closed have repeaters?
>>>
>>> No.
>
> Not true for the first item: deadlines _can_ have repeaters:
>
> --8<---------------cut here---------------start------------->8---
> ** TODO Test
>    DEADLINE: <2014-02-04 Tue +1d>
>    :LOGBOOK:
>    - State "TODO"        ->  "DONE"       [2014-02-03 Mon 13:35]
>    :END:
>    :PROPERTIES:
>    :LAST_REPEAT: [2014-02-03 Mon 13:35]
>    :END:
> --8<---------------cut here---------------end--------------->8---

ok, makes sense

-- 
cheers,
Thorsten

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Timestamps - anything goes?
  2014-02-03 12:36         ` Sebastien Vauban
  2014-02-03 13:08           ` Thorsten Jolitz
@ 2014-02-03 14:54           ` Bastien
  1 sibling, 0 replies; 8+ messages in thread
From: Bastien @ 2014-02-03 14:54 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ



"Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
writes:

> Not true for the first item: deadlines _can_ have repeaters:

Of course, yes, I stand corrected.   Thanks Sébastien!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-02-03 14:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-30 16:54 Timestamps - anything goes? Thorsten Jolitz
2014-01-30 17:59 ` Bastien
2014-01-30 18:17   ` Thorsten Jolitz
2014-01-30 19:26     ` Bastien
2014-01-31 12:39       ` Thorsten Jolitz
2014-02-03 12:36         ` Sebastien Vauban
2014-02-03 13:08           ` Thorsten Jolitz
2014-02-03 14:54           ` Bastien

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).