Matt Lundin <[email protected]> writes:
> Richard Riley <[email protected]> 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.
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode