From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Subhan Tindall Newsgroups: gmane.emacs.help Subject: Looking to view agenda for last 2 *non-weekend* days Date: Fri, 1 Mar 2013 08:02:17 -0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1362153758 18213 80.91.229.3 (1 Mar 2013 16:02:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Mar 2013 16:02:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 01 17:03:02 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UBSQG-0000Xs-OT for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Mar 2013 17:03:00 +0100 Original-Received: from localhost ([::1]:36643 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBSPv-000123-Ha for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Mar 2013 11:02:39 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBSPf-0000yD-Bw for help-gnu-emacs@gnu.org; Fri, 01 Mar 2013 11:02:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UBSPb-0002jX-7e for help-gnu-emacs@gnu.org; Fri, 01 Mar 2013 11:02:23 -0500 Original-Received: from mail-lb0-f181.google.com ([209.85.217.181]:49190) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBSPb-0002jQ-0k for help-gnu-emacs@gnu.org; Fri, 01 Mar 2013 11:02:19 -0500 Original-Received: by mail-lb0-f181.google.com with SMTP id gm6so2315933lbb.26 for ; Fri, 01 Mar 2013 08:02:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=wGWl0Tsx9dieyPa+rXv7+fTigo59liVWpF8PS1CKEF4=; b=fE2t7qoAScePW9zNx3niApnbXwf430JwR5vT0Y4PznlKmGDfrnZ2V+maUKlyG/wKvN BJtAUx9t4DZeWUl2ZVGKYZCWIxUFFCcVK6MNldFfA42m0Er/C5p7AZU1muxyG/RNmJWT xdB8bx/ho8KbPqllgElzLoVrzANMRdrAbA9heNxADdvtN06whTnLMa7rS3fTrXjnjIWD 76FvtAr2xQhFnC2CLaBMYE232LEQ9NubXYPP+q97AkJovz0dBN6xhY5jPitluFh/9ZAM PrTdCIufdoQqzw8YwDuSpPV6K1EOUMmqxKDLaX9rFDwUPf2xAuDYCwFwo4Ak2ZtK0XhI Xn6Q== X-Received: by 10.152.147.130 with SMTP id tk2mr9608406lab.24.1362153737850; Fri, 01 Mar 2013 08:02:17 -0800 (PST) Original-Received: by 10.114.93.161 with HTTP; Fri, 1 Mar 2013 08:02:17 -0800 (PST) X-Gm-Message-State: ALoCoQm94tWOV5PBdZi37Jk9g9WcAwDX8zF2/AdkQ6UNw1MrLRfT+PmOWcGprR1LM8jh4Dmt8A2X X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.217.181 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89312 Archived-At: 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