From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Millar 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 Message-ID: <55169CB7.7010803@verizon.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbqdZ-0003t2-5O for emacs-orgmode@gnu.org; Sat, 28 Mar 2015 09:18:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YbqdW-0002X3-08 for emacs-orgmode@gnu.org; Sat, 28 Mar 2015 09:18:53 -0400 Received: from vms173009pub.verizon.net ([206.46.173.9]:43879) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbqdV-0002Wd-Rx for emacs-orgmode@gnu.org; Sat, 28 Mar 2015 09:18:49 -0400 Received: from [192.168.1.4] ([96.238.154.15]) by vms173009.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0NLX00MDA8UM8600@vms173009.mailsrvcs.net> for emacs-orgmode@gnu.org; Sat, 28 Mar 2015 07:18:24 -0500 (CDT) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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