* Custom filtering the agenda by (file) tag
@ 2008-11-04 23:18 Rick Moynihan
2008-11-05 6:45 ` Carsten Dominik
0 siblings, 1 reply; 3+ messages in thread
From: Rick Moynihan @ 2008-11-04 23:18 UTC (permalink / raw)
To: emacs-orgmode
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Custom filtering the agenda by (file) tag
2008-11-04 23:18 Custom filtering the agenda by (file) tag Rick Moynihan
@ 2008-11-05 6:45 ` Carsten Dominik
2008-11-05 9:58 ` Carsten Dominik
0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2008-11-05 6:45 UTC (permalink / raw)
To: Rick Moynihan; +Cc: emacs-orgmode
Hi Rick,
you would need to write your own skip function, using a call to
(member "PERSONAL" (org-get-tags-at))
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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Custom filtering the agenda by (file) tag
2008-11-05 6:45 ` Carsten Dominik
@ 2008-11-05 9:58 ` Carsten Dominik
0 siblings, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2008-11-05 9:58 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 2113 bytes --]
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.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[-- Attachment #1.2: Type: text/html, Size: 4141 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-11-05 9:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-04 23:18 Custom filtering the agenda by (file) tag Rick Moynihan
2008-11-05 6:45 ` Carsten Dominik
2008-11-05 9:58 ` Carsten Dominik
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).