emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Automatically Concluding a Habit.
@ 2017-06-18  7:51 Malcolm Purvis
  0 siblings, 0 replies; only message in thread
From: Malcolm Purvis @ 2017-06-18  7:51 UTC (permalink / raw)
  To: emacs-orgmode

I have a habit that I'd like to perform every day or so in the lead up
to an event, but after the event date I would like to be marked
permanently done and never again appear in the agenda.

Is there a way to do this automatically?  I've tried with a combination
of scheduled and deadlines, but the habit reappears after the deadline:

* Prepare for Event
DEADLINE: <2017-07-09 Sun> SCHEDULED: <2017-07-04 Tue .+1d>
:PROPERTIES:
:STYLE:    habit
:END:

Editing the habit to remove the '.+1d' results in the desired behaviour,
however I was hoping to avoid the manual edit.

Thanks,

Malcolm

-- 
	       Malcolm Purvis <malcolm@purvis.id.au>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-18  7:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-18  7:51 Automatically Concluding a Habit Malcolm Purvis

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).