emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard Riley <rileyrgdev@googlemail.com>
To: Matt Lundin <mdl@imapmail.org>
Cc: Richard Riley <rileyrgdev@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: exclude certain types from agenda
Date: Fri, 30 Oct 2009 20:06:01 +0100	[thread overview]
Message-ID: <4aeb391b.0c58560a.608a.ffffd1a2@mx.google.com> (raw)
In-Reply-To: <m23a50lrzc.fsf@fastmail.fm> (Matt Lundin's message of "Fri, 30 Oct 2009 13:19:19 -0400")

Matt Lundin <mdl@imapmail.org> writes:

> 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
>

Oh, very good,  thanks a lot.

My agenda command is now:

,----
| ("v" "Vocab" tags "VOCAB" ((org-agenda-filter-preset '("+VOCAB"))(org-agenda-todo-ignore-with-date nil)))
`----

and the "global" agenda filter preset is


,----
| (setq org-agenda-filter-preset '("-VOCAB"))
`----

regards,

r.

      reply	other threads:[~2009-10-30 19:06 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
2009-10-30 19:06   ` Richard Riley [this message]

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=4aeb391b.0c58560a.608a.ffffd1a2@mx.google.com \
    --to=rileyrgdev@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mdl@imapmail.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).