From mboxrd@z Thu Jan 1 00:00:00 1970 From: elwood151@web.de Subject: Problems with Block Agenda Setup Date: Thu, 29 Aug 2013 16:28:47 +0200 (CEST) Message-ID: Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VF3DU-00043T-RU for emacs-orgmode@gnu.org; Thu, 29 Aug 2013 10:29:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VF3DN-0000tX-H1 for emacs-orgmode@gnu.org; Thu, 29 Aug 2013 10:28:56 -0400 Received: from mout.web.de ([212.227.15.14]:50646) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VF3DN-0000tR-7h for emacs-orgmode@gnu.org; Thu, 29 Aug 2013 10:28:49 -0400 Received: from 3capp-webde-bs08.server.lan ([172.19.170.8]) by mriweb.server.lan (mriweb001) with ESMTP (Nemesis) id 0LlrUE-1VoNxv0bj6-00ZSe0 for ; Thu, 29 Aug 2013 16:28:47 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs orgmode-mailinglist
Hi,
 
I tried to setup my own block agenda and I'm facing some problems:
 
Here's the custom settings in org-agenda-custom-commands:
 
("h" "Agenda for today (MYWN)" ((agenda "" ((org-agenda-overriding-header "Calendar") (org-agenda-span (quote day)) (org-agenda-entry-types (quote (:timestamp))) (org-agenda-time-grid (quote ("t"))))) (agenda "" ((org-agenda-overriding-header "Critical Now") (org-agenda-entry-types (quote (:deadline))) (org-agenda-sorting-strategy (quote (deadline-down priority-down))) (org-agenda-time-grid nil) (org-deadline-warning-days 0))) (agenda "" ((org-agenda-overriding-header "Opportunity Now max. 100") (org-agenda-entry-types (quote (:scheduled))) (org-agenda-sorting-strategy (quote (scheduled-down priority-down))) (org-agenda-time-grid nil) (org-agenda-max-entries 100)))) nil nil) ("n" " Agenda and all TODO's" ((agenda "" nil) (alltodo "" nil)) nil))))
 
What I want to achieve is a daily Agenda view of 3 things:
1 Timegrid with appointments for "day X"
2 All tasks having a deadline on "day X" or before (sorted by priority)
3 All tasks scheduled on "day X" or before (sorted by priority) - limited to 100 entries :-(
 
My problems:
 
1) "day X" - if I have the cursor in one of the 3 blocks of the agenda and type e. g. "F" to change the date to tomorrow, only this block will change its date, not the other ones. If one of the other blocks already had a date different from today, it will be reset to today when rebuilding the agenda.
How can I define them, so that all blocks have the same date, which can be chosen with the calendar like in "normal" agendas?
 
2) My custom headers (defined with org-agenda-overriding-header) are not shown. Instead, above each block there is only written the date like "Thursday   29 August 2013"
 
3) I would like to restrict block 3 (scheduled tasks) to priorities A-C (I'm also having D and E). How could I do that?
 
4) for block 3, I would like to split it into 2 parts:
a) all tasks scheduled on "day X" sorted priority-down
b) all tasks scheduled in the past, sorted priority-down and then scheduled-down
Unfortunately, I do not know how to set the criteria for "day X" / "before day X"
 
Thanks in advance for your help!
 
Kind regards
 
Martin