From mboxrd@z Thu Jan 1 00:00:00 1970 From: torys.anderson@gmail.com (Tory S. Anderson) Subject: Duplicating DEADLINE and date in capture templates Date: Tue, 03 May 2016 09:25:48 -0600 Message-ID: <87lh3rrwn7.fsf@byu.edu> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axcDX-000307-1V for emacs-orgmode@gnu.org; Tue, 03 May 2016 11:26:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axcDK-000116-BV for emacs-orgmode@gnu.org; Tue, 03 May 2016 11:26:25 -0400 Received: from mail-pa0-x233.google.com ([2607:f8b0:400e:c03::233]:35848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axcDJ-0000uV-0n for emacs-orgmode@gnu.org; Tue, 03 May 2016 11:26:18 -0400 Received: by mail-pa0-x233.google.com with SMTP id bt5so11011060pac.3 for ; Tue, 03 May 2016 08:26:02 -0700 (PDT) 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" To: orgmode list I have some capture templates that supply both a deadline and a regular date. This is because I want the days-in-advance notice of deadlines when I view in my agenda, but deadlines are not exported to ICAL so I need a regular date as well. However, these two are always the same value. Any suggestions on how to clone them so I only need to enter them once? --8<---------------cut here---------------start------------->8--- ;; in my setq org-capture-templates ("tT" "Soon (tomorrow) TODO" entry (file+headline "/home/torysa/emacs/org/td.org" "Tomorrow") "* TODO %^{prompt} %^{Insert}T DEADLINE: %^{Deadline}T%?" :prepend t) --8<---------------cut here---------------end--------------->8--- -- Tory S. Anderson Computational Cognitive Narratologist & Application Developer http://toryanderson.com