emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Jeffrey Brent McBeth <mcbeth@broggs.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: relative deadlines
Date: Tue, 09 Dec 2014 17:10:35 +0100	[thread overview]
Message-ID: <877fy0dcsk.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <20141209150726.GK20333@broggs.org> (Jeffrey Brent McBeth's message of "Tue, 9 Dec 2014 10:07:26 -0500")

Jeffrey Brent McBeth <mcbeth@broggs.org> writes:

> This is where I fall down.  I don't see how that meets my basic need
> case.

If you want to repeat the main task and sub-tasks, the function will
preserve difference between the timestamps.

> I know that certain sub tasks need to start 90 days before the final
> deadline (for example), I can hand count back 90 days and then do the
> shifting of timestamps, but then the core relevant information is lost
> of -90d.

You can also modify (advice) `org-deadline' and `org-scheduled' so their
base value is the one above in the subtree instead of current date.

Another option is to add a keymap to
`org-read-date-minibuffer-local-map' that would set the base date to the
last one computed. You could then choose your date incrementally (e.g.,
first move to the deadline date of the task, then backwards 90 days
with -90d). I'm unsure about the net benefit, tho.


Regards,

  reply	other threads:[~2014-12-09 16:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-08  2:10 relative deadlines Jeffrey Brent McBeth
     [not found] ` <87bnndcggb.fsf@nicolasgoaziou.fr>
2014-12-09 15:07   ` Jeffrey Brent McBeth
2014-12-09 16:10     ` Nicolas Goaziou [this message]
2014-12-09 17:05 ` J. David Boyd

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877fy0dcsk.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=mcbeth@broggs.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 public 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).