all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Subhan Tindall <subhan.tindall@rentrakmail.com>
To: help-gnu-emacs@gnu.org
Subject: Looking to view agenda for last 2 *non-weekend* days
Date: Fri, 1 Mar 2013 08:02:17 -0800	[thread overview]
Message-ID: <CAKKEbDsgYr8Emj-iPBTa4pyXORSdJo7yN69w3Oe7b5tHKiG9CA@mail.gmail.com> (raw)

I'm using a datetree & timestamped entries to do some work logging.
Mostly I want a report that shows log entries I made for today &
yesterday.  I've got this worked out, except when yesterday was a
sunday.  That is, I want to see Monday & the previous Friday on the
agenda report when I run it on Monday.
'(org-agenda-custom-commands (quote (
("wy" "Yesterday's Logs" ((agenda "Yesterday's Logs"
((org-agenda-start-on-weekday nil)

(org-agenda-start-day "-1d")

(org-agenda-span 2)))))
)))
This is currently what I'm using, works like a charm, but I don't want
to have to use a separate agenda just for Mondays.
Any ideas?
Ideally a solution would cover both holidays & weekends, but just
weekends would suffice.
Thanks!
Subhan

-- 
Subhan Michael Tindall | Software Developer
| smt@rentrakmail.com
RENTRAK | www.rentrak.com | NASDAQ: RENT



                 reply	other threads:[~2013-03-01 16:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKKEbDsgYr8Emj-iPBTa4pyXORSdJo7yN69w3Oe7b5tHKiG9CA@mail.gmail.com \
    --to=subhan.tindall@rentrakmail.com \
    --cc=help-gnu-emacs@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.