On Saturday, 19 Dec 2015 at 08:24, pray...@unimelb.edu.au wrote: > I'm trying to make a capture template for turning the very frequent > invitations I get in .ics format (I think) into org agenda items. > The basis is the ical2org awk script maintained by Eric Fraga. > My template is defined as follows: > ("i" "invite" entry (file+headline "~/.org/todo.org" "Tasks") > "* TODO %(org-capture-vm-invite)\n" :immediate-finish t)
Maybe have a look at the implementation of gnus-icalendar functions which do what you want albeit for gnus and not vm? gnus-icalendar.el should be in your emacs distribution but, if not, it can be found in the git version of gnus. -- : Eric S Fraga (0xFFFCF67D), Emacs 24.5.1, Org release_8.3.2-416-g369955