From: Malcolm Purvis <malcolm@purvis.id.au>
To: emacs-orgmode@gnu.org
Subject: Automatically Concluding a Habit.
Date: Sun, 18 Jun 2017 17:51:57 +1000 [thread overview]
Message-ID: <m28tkpraw2.fsf@purvis.id.au> (raw)
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>
reply other threads:[~2017-06-18 7:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=m28tkpraw2.fsf@purvis.id.au \
--to=malcolm@purvis.id.au \
--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).