[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: exclude certain types from agenda
From: |
Richard Riley |
Subject: |
[Orgmode] Re: exclude certain types from agenda |
Date: |
Fri, 30 Oct 2009 20:06:01 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Matt Lundin <address@hidden> writes:
> Richard Riley <address@hidden> 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.