emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Is it possible to implement a TARGET date in addition to SCHEDULED and DEADLINE?
@ 2015-03-28  4:28 M
  2015-03-28 12:21 ` Charles Millar
  0 siblings, 1 reply; 2+ messages in thread
From: M @ 2015-03-28  4:28 UTC (permalink / raw)
  To: emacs orgmode-mailinglist


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>

Background:

I often use "artificial deadlines" to specify that a certain task shall be
done until tomorrow (or another date).
And this date is neither the starting date nor is it a real deadline.

Up to now I'm using the DEADLINE date for this purpose, but I don't like
that solution, as it is confusing for me to know which deadlines are real
"hard" deadlines (e.g. I have to send in my tax declaration until a certain
date and not one day later) and those artificial ones, which  not carved in
stone. 

So is there an easy way (I don't know, how modular org-mode is set up) to
add this 3rd TARGET date to org-mode?

Martin

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Is it possible to implement a TARGET date in addition to SCHEDULED and DEADLINE?
  2015-03-28  4:28 Is it possible to implement a TARGET date in addition to SCHEDULED and DEADLINE? M
@ 2015-03-28 12:21 ` Charles Millar
  0 siblings, 0 replies; 2+ messages in thread
From: Charles Millar @ 2015-03-28 12:21 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-28 13:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-28  4:28 Is it possible to implement a TARGET date in addition to SCHEDULED and DEADLINE? M
2015-03-28 12:21 ` Charles Millar

Code repositories for project(s) associated with this 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).