From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Belohrad Subject: capture template for interval Date: Mon, 16 Jun 2014 16:36:32 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwY1X-0005mX-V3 for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 10:36:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WwY1T-0003F5-8y for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 10:36:39 -0400 Received: from beesknees.cern.ch ([137.138.197.99]:37339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwY1T-0003Ee-2q for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 10:36:35 -0400 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: org-mode Dear All, with a help of this mailinglist I have setup my capture template for appointments as follows: (setq org-capture-templates '( ("a" "Appointment (compulsory)" entry (file+datetree (concat my-org-files "diary.org")) "* %? :appt:\n%a\n%^T\n\nEntered on %U") )) This makes appointment in the diary.org file, it puts there a link to the actually visited file (notmuch buffer mostly) and then asks for a date+time. Now this appears in my agenda, but only as as a simple date. Now I'd like to get it done in a way that I enter one date time, and another one is 'offered' to me in 2 hours in the future from the date I have given as first. So basically if I do not put the second date, it will by default create an interval long 2 hours. any possibility how to do this? many thanks ..d