emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* icalendar: exporting times of day specified in heading?
@ 2010-01-16 14:38 Stephen Eglen
  2010-01-28 14:17 ` Carsten Dominik
  2010-02-02 13:16 ` Stephen Eglen
  0 siblings, 2 replies; 22+ messages in thread
From: Stephen Eglen @ 2010-01-16 14:38 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Stephen Eglen

Hi,

I often use org-agenda-diary-entry to make simple entries into
an agenda.org file.  I see that the agenda is clever enough to recognise
if a time range has been typed into the heading.  However, this time
range is not exported by the icalendar code.

Here's a simple example, independent of org-agenda-diary-entry, although
in reality, example 2 would be the type of entry I normally make.

if I have a test.org file containing:
----------------------------------------------------------------------
* <2010-01-16 Sat 08:00-08:30> example 1

* <2010-01-16 Sat> example 2 09:00-09:30
----------------------------------------------------------------------

then when I view the agenda I see:

Saturday   16 January 2010
  test:        8:00- 8:30 example 1
               8:00...... ----------------
  test:        9:00- 9:30  example 2 
              10:00...... ----------------

[There's an extra space before 'example 2', which I'm not sure about.]

So far, so good - the agenda has parsed 09:00-09:30 from the headline.
But now if I make an ics file (e.g. by 'C-c C-e i' in test.org) the
start and end time of the event are not recognised.  Here's a relevant
snippet from test.ics:

BEGIN:VCALENDAR
...
DTSTART:20100116T080000
DTEND:20100116T083000
SUMMARY: example 1
CATEGORIES:test
...
DTSTART;VALUE=DATE:20100116
DTEND;VALUE=DATE:20100117
SUMMARY: example 2 09:00-09:30

What I *think* I'd like is that for the 2nd calendar entry is

DTSTART:20100116T0900
DTEND:20100116T0930

Is that sensible/possible?  Alternatively, how about
org-agenda-diary-entry parsing the time specification and writing the
date and time within angle brackets?

(org-version)
"Org-mode version 6.33trans (release_6.33f.22.gcb8ce.dirty)"

Thanks, Stephen

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

end of thread, other threads:[~2010-03-18  7:00 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-16 14:38 icalendar: exporting times of day specified in heading? Stephen Eglen
2010-01-28 14:17 ` Carsten Dominik
2010-01-28 15:22   ` Stephen Eglen
2010-01-28 16:03     ` Eric S Fraga
2010-01-28 18:31     ` Carsten Dominik
2010-01-29 13:04       ` Eric S Fraga
2010-01-29 13:10       ` Stephen Eglen
2010-02-01 12:41       ` Stephen Eglen
2010-02-01 13:31         ` Carsten Dominik
2010-02-01 13:49           ` Eric S Fraga
2010-02-01 14:00           ` Stephen Eglen
2010-02-01 14:08             ` Stephen Eglen
2010-02-02 13:16 ` Stephen Eglen
2010-02-03 15:25   ` Carsten Dominik
2010-03-17 13:26   ` Matt Lundin
2010-03-17 13:40     ` Stephen Eglen
2010-03-17 15:28       ` Stephen Eglen
2010-03-17 15:55         ` Carsten Dominik
2010-03-17 18:51           ` Stephen Eglen
     [not found]             ` <0F399028-B7BE-4C90-AEA7-099AC05E9040@tsdye.com>
2010-03-17 20:15               ` Stephen Eglen
2010-03-18  2:17       ` Matthew Lundin
2010-03-18  5:37         ` Carsten Dominik

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