[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] need: custom agenda for last 7 days
From: |
Nick Dokos |
Subject: |
Re: [O] need: custom agenda for last 7 days |
Date: |
Thu, 21 Feb 2013 10:04:15 -0500 |
Samuel Loury <address@hidden> wrote:
> ╭────
> │ (defun my/org-last-week ()
> │ (- (org-today) 7)
> │ )
> │
> │
> │ (add-to-list 'org-agenda-custom-commands
> │ '("w" "Weekly Logs"
> │ (
> │ (agenda nil
> │ (
> │ (org-agenda-overriding-header
> │ "Review for last week")
> │ (org-agenda-span 8)
> │ )
> │ )
> │ )
> │ (
> │ (org-agenda-start-day 'my/org-last-week)
I think that's wrong: there is no support afaik for this variable to have
a function value. Should that be
(org-agenda-start-day (my/org-last-week))
perhaps?
Nick
> │ (org-agenda-start-with-clockreport-mode t)
> │ (org-agenda-start-with-log-mode t)
> │ (org-agenda-archives-mode t)
> │ (org-agenda-show-log 'clockcheck)
> │ )
> │ )
> │ )
> ╰────
> Hope it helps.
> --
> Konubinix
> GPG Key : 7439106A
> Fingerprint: 5993 BE7A DA65 E2D9 06CE 5C36 75D2 3CED 7439 106A