From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Ufimtsev Subject: Re: How to exclude completed daily tasks from the agenda view Date: Mon, 13 Apr 2015 14:10:13 -0400 (EDT) Message-ID: <226362136.12049281.1428948613269.JavaMail.zimbra@redhat.com> References: <87iod1g242.fsf@wmi.amu.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhioP-0006rE-Td for emacs-orgmode@gnu.org; Mon, 13 Apr 2015 14:10:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YhioK-0001FY-0U for emacs-orgmode@gnu.org; Mon, 13 Apr 2015 14:10:21 -0400 Received: from mx6-phx2.redhat.com ([209.132.183.39]:52143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhioJ-0001FQ-PQ for emacs-orgmode@gnu.org; Mon, 13 Apr 2015 14:10:15 -0400 In-Reply-To: <87iod1g242.fsf@wmi.amu.edu.pl> 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: Marcin Borkowski Cc: Org-Mode mailing list I've been down the same road as you. You may want to try org-habits and set the variable: org-habit-show-habits-only-for-today t I.e, 1. customize org-modules, enable 'org-habit' 2. Read org-habit docu ( A habit has a property :STYLE: habit ) Now these repeating tasks will only show once in the agenda. One thing to note, if you use notifications for scheduled tasks, they don't work with org-habbit's 'range' like +3d/5d. But if you don't care about notifications, you should be good. Please feel free to ask me questions about this. Leo Ufimtsev | Intern Software Engineer @ Eclipse Team ----- Original Message ----- From: "Marcin Borkowski" To: "Org-Mode mailing list" Sent: Sunday, April 12, 2015 4:52:29 AM Subject: [O] How to exclude completed daily tasks from the agenda view 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