emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard Lawrence <richard.lawrence@berkeley.edu>
To: emacs-orgmode@gnu.org
Subject: Re: Shifting only past timestamps
Date: Sat, 25 Jul 2015 10:04:39 -0700	[thread overview]
Message-ID: <87zj2kxj6g.fsf@berkeley.edu> (raw)
In-Reply-To: 55B292EC.4010601@gmx.co.uk

Hi Edward,

Edward Guyatt <edwardguyatt@gmx.co.uk> writes:

> I like to be reminded to check my post on Mondays and Thursdays, every
> week. When I've done it on Monday, I mark it 'DONE' so that I can stop
> org-mode reminding me until Thursday. Here's how I used to achieve
> this:
>
> *** URGENT [#A] Check post                                      :important:
> DEADLINE: <2015-07-27 Mon +1w -0d>
> DEADLINE: <2015-07-30 Thu +1w -0d>

This is, I believe, technically invalid by the current standards of Org
syntax.  See http://orgmode.org/worg/dev/org-syntax.html under "Clock,
Diary Sexp, and Planning"; planning elements have to be on the same
line, and I am pretty sure you can't have two deadlines.  I am surprised
Org operates on the second one at all.

I solve this problem by just having two different headlines, each with
their own deadline, like:

*** URGENT [#A] Check post                                      :important:
DEADLINE: <2015-07-27 Mon +1w -0d>

*** URGENT [#A] Check post                                      :important:
DEADLINE: <2015-07-30 Thu +1w -0d>

I know it may not seem terribly elegant, but it's simple, and it's the
only way I can think of to have the deadlines recur on fixed days of the
week.  (If that's not important to you, you could use habits instead of
two headlines.)

Best,
Richard

      reply	other threads:[~2015-07-25 17:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-24 19:33 Shifting only past timestamps Edward Guyatt
2015-07-25 17:04 ` Richard Lawrence [this message]

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=87zj2kxj6g.fsf@berkeley.edu \
    --to=richard.lawrence@berkeley.edu \
    --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).