emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jonathan Arkell <jonathana@criticalmass.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: View Agenda for last 7 days
Date: Tue, 21 Jul 2009 16:58:18 -0400	[thread overview]
Message-ID: <7EA78739DB6FF044926304E83668BF8222E02A3E@brewer.cmass.criticalmass.com> (raw)

Hi Org peeps

I'd like to have a custom agenda block to show the previous 7 days, or even the last week for GTD style weekly reviews, but I can't figure out how to make it go.  So if I view the agenda on the 21st of july, I should see July 14th through 20th.  If it is easier, seeing the 3rd week in July would also be fine (13th-19th)

So far this is what I have for my org-agenda-custom-commands:

            ("W" "Weekly Review"
                 ((agenda ""
                          ((org-agenda-overriding-header "Last 7 Days (broken)")
                                   (org-agenda-ndays 7)
                                   (org-agenda-repeating-timestamp-show-all t)))
                  (agenda ""
                                  ((org-agenda-overriding-header "Next 30 Days")
                                   (org-agenda-ndays 30)
                                   (org-agenda-include-diary t)
                                   (org-agenda-files nil)
                                   (org-agenda-show-all-dates t)
                                   (org-agenda-use-time-grid nil)))
                  (stuck "")
                  ,(jonnay-org-tags-todo "PROJECTs that are waiting to be re-understood" (list "_reproject") "PROJECT")
                  (todo "PROJECT")
                  (todo "TODO")
                  (todo "WAITING"))
                 nil
                 ("weekly.html" "weekly.ps" ))

I tried setting org-agenda-ndays to -7, but that didn't really work.  Is there some way to tell org-agenda to start at a different date?

Jonathan Arkell
Sr. Developer
Inspired by Drum + Bass, Scheme, Kawaii
402 - 11 Avenue SE
Calgary, AB T2G 0Y4
t: 403.206.4377
www.criticalmass.com


The information contained in this message is confidential. It is intended to be read only by the individual or entity named above or their designee. If the reader of this message is not the intended recipient, you are hereby notified that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message.

             reply	other threads:[~2009-07-21 20:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-21 20:58 Jonathan Arkell [this message]
2009-07-21 21:24 ` View Agenda for last 7 days Bernt Hansen
2009-07-21 21:42 ` Bastien

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=7EA78739DB6FF044926304E83668BF8222E02A3E@brewer.cmass.criticalmass.com \
    --to=jonathana@criticalmass.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).