From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: How to exclude completed daily tasks from the agenda view Date: Sun, 12 Apr 2015 10:52:29 +0200 Message-ID: <87iod1g242.fsf@wmi.amu.edu.pl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhDdE-0005Mx-DO for emacs-orgmode@gnu.org; Sun, 12 Apr 2015 04:52:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YhDd9-0004Mz-E8 for emacs-orgmode@gnu.org; Sun, 12 Apr 2015 04:52:44 -0400 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:54420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhDd9-0004Mu-75 for emacs-orgmode@gnu.org; Sun, 12 Apr 2015 04:52:39 -0400 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id BB14F5C22B for ; Sun, 12 Apr 2015 10:52:37 +0200 (CEST) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GctyijbBrNu0 for ; Sun, 12 Apr 2015 10:52:37 +0200 (CEST) Received: from localhost (117-116.echostar.pl [213.156.117.116]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 7B35F5C227 for ; Sun, 12 Apr 2015 10:52:37 +0200 (CEST) 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: Org-Mode mailing list Hi list, I have a number of TODO items that should be done *every day*. I do not use Org-mode for them, since in the two-week agenda they tend to clutter all days, not only today; if I complete such task, I want it not to be visible in the agenda /at all/. Is there a way to overcome this? One way would be to gather these tasks in a subtree, give it a special tag (or preferably, a category), and define a custom agenda view /excluding/ this particular tag/category. Is that possible? I tried this (setq org-agenda-custom-commands '(("X" agenda "-mytag"))) but it didn't work as expected. I also saw somewhere the `org-agenda-skip-function' variable; would this be a good way? If yes, how to use it? Do I get it correctly that it is a parameterless function, called with point at some entry? Also, I saw the `org-agenda-skip-regexp' variable; maybe this is the way to go? Or maybe I should put `org-agenda-skip-if' into `org-agenda-skip-function'? TIA, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University