Hi Martin,
On 03/28/2015 12:28 AM, M wrote:
I wonder how difficult it would be to add a 3rd "TARGET" date to
headings/tasks, which is treated similar to Deadline and Scheduled dates
(can be used in agenda, can be easily set and modified, ...) :
example:
* TODO [#A] My org-mode task
TARGET: <2015-04-01 Mi> SCHEDULED: <2015-03-30 Mo>
Maybe something like this in your .emacs or init.el? I just added the
"target dates" entry; good idea!
;;; Added the following on 2013-08-11; used Sacha Chua's code
;;; for ledger entries as a template
;;; intended for different TODO type of entries
(setq org-capture-templates
;;; tasks todo on a specific date, not appointments
(append '(("t" "Todo entries")
("ts" "Scheduled" entry
(file "~/Data/Emacs-Files/Org-Files/Bucket.org")
"* TODO %?%^{What do you want to do?} %i\ SCHEDULED:
%^{enter a timestamp}t\n\t:OTHERINFO:\n\t\t%^{Enter other pertinent
info} %i\n\t:END:\n\t\tDate Entered %U\n"
:empty-lines 1)
;; tasks wtih a target date
("tt" "Target dates" entry
(file "~Data/Emacs-Files/Org-Files/Bucket.org")
"* TODO %?%^{What do you want to do?} %i\ TARGET-DATE:
%^{enter a timestamp}t\n\t:OTHERINFO:\n\t\t%^{Enter other pertinent
info} %i\n\t:END:\n\t\tDate Entered %U\n"
:empty-lines 1)
;; tasks with definite deadlines
("td" "Deadline" entry
(file "~/Data/Emacs-Files/Org-Files/Bucket.org")
"* TODO %?%^{What do you want to do?} %i\ DEADLINE:
%^{enter a timestamp}t\n\t:OTHERINFO:\n\t\t%^{Enter other pertinent
info} %i\n\t:END:\n\t\tDate Entered %U\n"
:empty-lines 1)
;; plain vanilla task todo's
("tt" "PlainTODO" entry
(file "~/Data/Emacs-Files/Org-Files/Bucket.org")
"* TODO %?%^{What do you want to do?} %i\ %^{enter a
timestamp}t\n\t:OTHERINFO:\n\t\t%^{Enter other pertinent info}
%i\n\t:END:\n\t\tDate Entered %U\n"
:empty-lines 1))
org-capture-templates))
Regards,
Charlie Millar