emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Is it possible to implement a TARGET date in addition to SCHEDUL


From: Charles Millar
Subject: Re: [O] Is it possible to implement a TARGET date in addition to SCHEDULED and DEADLINE?
Date: Sat, 28 Mar 2015 08:21:11 -0400
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.5.0

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]