From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: capture template for .ics invitation in vm Date: Tue, 5 Jan 2016 09:01:47 +0000 Message-ID: <87h9isbds4.fsf@delle7240.chemeng.ucl.ac.uk> References: <22132.31141.344059.773077@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGPQl-0006nm-Oz for emacs-orgmode@gnu.org; Tue, 05 Jan 2016 06:05:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGPQi-00051b-JZ for emacs-orgmode@gnu.org; Tue, 05 Jan 2016 06:05:35 -0500 Received: from mail-am1on0129.outbound.protection.outlook.com ([157.56.112.129]:61104 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGPQi-00050Y-B9 for emacs-orgmode@gnu.org; Tue, 05 Jan 2016 06:05:32 -0500 In-Reply-To: <22132.31141.344059.773077@localhost.localdomain> (prayner@unimelb.edu.au's message of "Sat, 19 Dec 2015 08:24:53 +1100") 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: prayner@unimelb.edu.au Cc: emacs-orgmode@gnu.org On Saturday, 19 Dec 2015 at 08:24, prayner@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