emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@wmi.amu.edu.pl>
To: Org-Mode mailing list <emacs-orgmode@gnu.org>
Subject: How to exclude completed daily tasks from the agenda view
Date: Sun, 12 Apr 2015 10:52:29 +0200	[thread overview]
Message-ID: <87iod1g242.fsf@wmi.amu.edu.pl> (raw)

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

             reply	other threads:[~2015-04-12  8:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-12  8:52 Marcin Borkowski [this message]
2015-04-13 18:10 ` How to exclude completed daily tasks from the agenda view Leo Ufimtsev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87iod1g242.fsf@wmi.amu.edu.pl \
    --to=mbork@wmi.amu.edu.pl \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).