From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Arkell Subject: View Agenda for last 7 days Date: Tue, 21 Jul 2009 16:58:18 -0400 Message-ID: <7EA78739DB6FF044926304E83668BF8222E02A3E@brewer.cmass.criticalmass.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTMQS-0005QU-S1 for emacs-orgmode@gnu.org; Tue, 21 Jul 2009 16:59:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTMQO-0005Oq-Df for emacs-orgmode@gnu.org; Tue, 21 Jul 2009 16:59:04 -0400 Received: from [199.232.76.173] (port=51562 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTMQO-0005Ol-3X for emacs-orgmode@gnu.org; Tue, 21 Jul 2009 16:59:00 -0400 Received: from brewer.cmass.criticalmass.com ([207.61.21.2]:57021) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.60) (envelope-from ) id 1MTMQN-0007vT-O2 for emacs-orgmode@gnu.org; Tue, 21 Jul 2009 16:58:59 -0400 Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" 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 als= o 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 (brok= en)") (org-agenda-ndays 7) (org-agenda-repeating-timestamp-show-all= t))) (agenda "" ((org-agenda-overriding-header "Next 30 D= ays") (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 r= e-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 th= ere 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 t= o be read only by the individual or entity named above or their designee. I= f 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 pr= ohibited. If you have received this message in error, please immediately no= tify the sender and delete or destroy any copy of this message.