From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: org-agenda-ignore-scheduled not taken into account in custom agenda blocks? Date: Sat, 24 Nov 2012 11:07:44 -0500 Message-ID: <87ehjjq90v.fsf@norang.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TcIGj-00041P-MX for emacs-orgmode@gnu.org; Sat, 24 Nov 2012 11:07:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TcIGi-0005xy-Hg for emacs-orgmode@gnu.org; Sat, 24 Nov 2012 11:07:49 -0500 Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:59969 helo=mho-01-ewr.mailhop.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TcIGi-0005xu-EW for emacs-orgmode@gnu.org; Sat, 24 Nov 2012 11:07:48 -0500 In-Reply-To: (Alan Schmitt's message of "Thu, 15 Nov 2012 17:25:02 +0100") 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: Alan Schmitt Cc: emacs-orgmode Alan Schmitt writes: > Hello, > > I'm implementing some of the ideas of the great norang page > (http://doc.norang.ca/org-mode.html), but there is one thing that is > failing me. I can see that "org-agenda-ignore-scheduled" work for the > global todo list, but it does not seem to be working when using a custom > block. For instance, using the following definition: > > #+BEGIN_SRC elisp > (tags-todo "-WAITING-CANCELLED/!NEXT" > ((org-agenda-overriding-header "Next Tasks") > (org-agenda-skip-function 'bh/skip-projects-and-habits-and-single-tasks) > (org-agenda-todo-ignore-scheduled t) > (org-agenda-todo-ignore-deadlines t) > (org-agenda-todo-ignore-with-date t) > (org-tags-match-list-sublevels t) > (org-agenda-sorting-strategy > '(todo-state-down effort-up category-keep)))) > #+END_SRC > > I still see scheduled tasks. > > Is it supposed to be working or am I doing it wrong? Hi Alan, This works for me (as part of my custom agenda block) I just created a new test project --8<---------------cut here---------------start------------->8--- * TODO New test task [2012-11-24 Sat 11:00] ** NEXT DO this next week SCHEDULED: <2012-12-01 Sat> [2012-11-24 Sat 11:00] --8<---------------cut here---------------end--------------->8--- I tested it first without the NEXT task scheduled to next week and the "DO this next week" is in the NEXT list. After adding the SCHEDULED date it is no longer on the NEXT list. If I schedule it into the past it only shows up on the daily agenda and not in the NEXT list. Regards, Bernt