emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Custom filtering the agenda by (file) tag


From: Carsten Dominik
Subject: Re: [Orgmode] Custom filtering the agenda by (file) tag
Date: Wed, 5 Nov 2008 10:58:22 +0100

Sorry for following up on my own message.

On Nov 5, 2008, at 7:45 AM, Carsten Dominik wrote:

Hi Rick,

you would need to write your own skip function, using a call to

(member "PERSONAL" (org-get-tags-at))

HTH

- Carsten

I am just realizing that you are using file tags.  Which means
that you have your personal tags in a separate file.  In this
case, you can get your agenda view considerably faster by writing
a custom agenda view that restricts the list of agenda files to
the personal one.

(org-add-agenda-custom-command
'("b" agenda "Personal Agenda"
    ((org-agenda-files '("~org/personal.org"))))

Another possibility is to use the normal agenda view and to use
filtering in the agenda with "/ p" (assuming that "p" is your
fast key to the PERSONAL tag).  I myself have pretty much switched
to filtering and simplified my custom agenda commands accordingly.

HTH

- Carsten





On Nov 5, 2008, at 12:18 AM, Rick Moynihan wrote:

Hi all,

I've been setting up a whole bunch of org-agenda-custom-commands and
am having trouble setting up a filter to display ONLY items in the
agenda view which are tagged PERSONAL across all my org-agenda-files.

I tried several ways to do this and ended up trying the following:

(org-add-agenda-custom-command
'("b" agenda "Personal Agenda"
 ((org-agenda-skip-function '(org-agenda-skip-subtree-if
                              'notregexp ":PERSONAL:")))))

Unfortunately this doesn't appear to work with FILETAGS as it relies
on matching against a regex.  How can I implement this view with full
tag support and inheritance?

Thanks again,

R.


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


reply via email to

[Prev in Thread] Current Thread [Next in Thread]