emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Duplicating DEADLINE and date in capture templates
@ 2016-05-03 15:25 Tory S. Anderson
  0 siblings, 0 replies; only message in thread
From: Tory S. Anderson @ 2016-05-03 15:25 UTC (permalink / raw)
  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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-03 15:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-03 15:25 Duplicating DEADLINE and date in capture templates Tory S. Anderson

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