emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Trevor Murphy <trevor.m.murphy@gmail.com>
To: Emacs-orgmode@gnu.org
Subject: How do you use `pre-scheduled' deadline skipping with repeaters?
Date: Tue, 23 Dec 2014 18:14:22 -0500	[thread overview]
Message-ID: <87h9wmt0vl.fsf@gmail.com> (raw)

I really like to use `pre-scheduled' as the value of 
`org-agenda-skip-deadline-prewarning-if-scheduled'.  Quoting the 
manual, "this can be used in a workflow where the first showing of 
the deadline will trigger you to schedule it, and then you don't 
want to be reminded of it because you will take care of it on the 
day when scheduled."

I started applying this to tasks with repeating deadlines.  So, 
for instance, I have the following in my agenda right now:

** REPEAT oil change 
   :drive:
SCHEDULED: <2014-12-23 Tue 09:00> DEADLINE: <2014-12-31 Wed .+6m>

When I mark this done, the deadline repeater updates as I expect. 
But the scheduling information stays there and I have to manually 
unschedule the task to get it out of my agenda.

I started looking into writing a function to unschedule after a 
repeat, but I'm having difficulty figuring out where to hook into 
`org-todo'.  Or do I want to hook into `org-auto-repeat-maybe'?

So, yeah.  Do others use this `pre-scheduled' workflow for 
repeating deadlines?  If so, is there an obvious solution to this 
little nuisance that I'm not seeing?
-- 
Trevor Murphy, ASA, MAAA
GnuPG Key: 0x83881C0A

             reply	other threads:[~2014-12-23 23:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-23 23:14 Trevor Murphy [this message]
2014-12-24 15:02 ` How do you use `pre-scheduled' deadline skipping with repeaters? Mike McLean

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=87h9wmt0vl.fsf@gmail.com \
    --to=trevor.m.murphy@gmail.com \
    --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 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).