emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Richard Riley <rileyrgdev@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: exclude certain types from agenda
Date: Fri, 30 Oct 2009 13:19:19 -0400	[thread overview]
Message-ID: <m23a50lrzc.fsf@fastmail.fm> (raw)
In-Reply-To: <hcer24$r6l$1@ger.gmane.org> (Richard Riley's message of "Fri, 30 Oct 2009 14:52:03 +0100")

Richard Riley <rileyrgdev@gmail.com> writes:

> Is it possible to exclude certain tags from the normal agenda?
> (org-agenda a).
>
> I have vocab org items to learn (tagged VOCAB) but only want to see them from a
> specially selected agenda tags "v" view : not from the "normal"
> agenda.

Two options: 

1) 

(setq org-agenda-filter-preset '("-VOCAB"))


2) 

(setq org-agenda-skip-function 
      '(org-agenda-skip-entry-if 'regexp ":VOCAB:"))

Either of these should work. Note: they will apply to all of your agenda
views. I.e., you'll have to adjust the local setting of the variable
appropriately in your custom agenda commands if you want to see :VOCAB:
items in a particular view.

Best,
Matt

  reply	other threads:[~2009-10-30 17:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-30 13:52 exclude certain types from agenda Richard Riley
2009-10-30 17:19 ` Matt Lundin [this message]
2009-10-30 19:06   ` Richard Riley

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=m23a50lrzc.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=rileyrgdev@gmail.com \
    /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).