From: Charles Millar <millarc@verizon.net>
To: emacs-orgmode@gnu.org
Subject: Re: Is it possible to implement a TARGET date in addition to SCHEDULED and DEADLINE?
Date: Sat, 28 Mar 2015 08:21:11 -0400 [thread overview]
Message-ID: <55169CB7.7010803@verizon.net> (raw)
In-Reply-To: <D13BEC67.238DC%Elwood151@web.de>
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
prev parent reply other threads:[~2015-03-28 13:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55169CB7.7010803@verizon.net \
--to=millarc@verizon.net \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.