emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mandar Mitra <mandar.mitra@gmail.com>
To: emacs-orgmode@gnu.org
Subject: how to schedule over a range of dates?
Date: Sun, 22 Apr 2012 20:28:08 +0530	[thread overview]
Message-ID: <20120422145808.GA13490@gmail.com> (raw)

I understand that "SCHEDULED" is intended to only specify a start date,
but I'd like to be able to use a range of dates with SCHEDULED, and get
consistent behaviour in the Agenda view. This helps when I'm looking at
the Agenda view and trying to find free days to schedule other stuff.

Currently (version 7.8.09), if I have something like

    SCHEDULED: <2012-04-21 Sat>--<2012-04-24 Tue>

then the agenda view gives me 2 lines of the form:

  TODO:       Sched. 2x:  [#0] <some work>
  TODO:       (2/4):  [#0] <same work as above>

I have org-agenda-skip-additional-timestamps-same-entry set to t, but
perhaps I've misunderstood the intention of this variable?

If I leave just the timestamp (no SCHEDULED), then the behaviour is
almost like what I want, with two exceptions:

1. Once the end date is past, the item disappears from the agenda
   irrespective of whether I've marked it DONE.
   (I have org-agenda-skip-timestamp-if-done set to nil.)
   This does not happen for a SCHEDULED item (which I have to explicitly
   mark DONE).

2. (minor) The corresponding line in the agenda view does not have any
   face associated with it, so I can't customise its appearance.

Is there an easy way of achieving something like the following in the
agenda view?

Sunday     22 April 2012
  TODO:       Sched. 2x (or 2/4): [#0] <some work>
Monday     23 April 2012 W17
  TODO:       Sched. 3x (or 3/4):  [#0] <same work as above>

And later, if I've left the work not done, 

On some future date
  TODO:        Sched. Nx (or N/4, or similar):  [#0] <same work as above>


Haven't found an answer in TFM. Grateful for any pointers.

Thanks,
Mandar.

             reply	other threads:[~2012-04-22 14:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-22 14:58 Mandar Mitra [this message]
2012-04-22 17:05 ` how to schedule over a range of dates? Detlef Steuer
2012-04-22 18:48   ` Mandar Mitra
2012-04-22 20:58     ` Detlef Steuer
2012-04-23  3:55       ` Mandar Mitra

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=20120422145808.GA13490@gmail.com \
    --to=mandar.mitra@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).