* limit agenda to particular tag?
@ 2009-07-28 13:06 John SJ Anderson
2009-07-28 14:56 ` Memnon Anon
2009-07-28 19:15 ` Matthew Lundin
0 siblings, 2 replies; 5+ messages in thread
From: John SJ Anderson @ 2009-07-28 13:06 UTC (permalink / raw)
To: emacs-orgmode
Is there a way to display an agenda (like 'C-a a' does) but have it
limited to items that have a particular tag? (E.g., so I can see only
'@WORK' items when at work.)
thanks,
john.
--
But Calvin is no kind and loving god! He's one of the old gods! He demands
sacrifice! -- Calvin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: limit agenda to particular tag?
2009-07-28 13:06 limit agenda to particular tag? John SJ Anderson
@ 2009-07-28 14:56 ` Memnon Anon
2009-07-29 10:11 ` John SJ Anderson
2009-07-28 19:15 ` Matthew Lundin
1 sibling, 1 reply; 5+ messages in thread
From: Memnon Anon @ 2009-07-28 14:56 UTC (permalink / raw)
To: emacs-orgmode
John SJ Anderson <genehack@genehack.org> writes:
> Is there a way to display an agenda (like 'C-a a' does) but have it
> limited to items that have a particular tag? (E.g., so I can see only
> '@WORK' items when at work.)
Either use your agenda and use / to limit the view to what you want.
Or create a custom agenda command: I have something like this:
(setq org-agenda-custom-commands
'(("f" "Agenda without Items tagged xyz"
((agenda ""))
((org-agenda-show-log nil)
(org-agenda-ndays 1)
(org-agenda-log-mode-items '(state))
(org-agenda-skip-function '(org-agenda-skip-entry-if 'regexp ":XYZ:"))))
;; other commands here
("d" "Agenda only Items tagged xyz"
((agenda ""))
((org-agenda-show-log nil)
(org-agenda-ndays 1)
(org-agenda-log-mode-items '(state))
(org-agenda-skip-function '(org-agenda-skip-entry-if 'notregexp ":XYZ:"))))
;; other commands here
("w" todo "WAITING")
("g" todo "STARTED")
))
hth
memnon
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: limit agenda to particular tag?
2009-07-28 13:06 limit agenda to particular tag? John SJ Anderson
2009-07-28 14:56 ` Memnon Anon
@ 2009-07-28 19:15 ` Matthew Lundin
1 sibling, 0 replies; 5+ messages in thread
From: Matthew Lundin @ 2009-07-28 19:15 UTC (permalink / raw)
To: John SJ Anderson; +Cc: emacs-orgmode
John SJ Anderson <genehack@genehack.org> writes:
> Is there a way to display an agenda (like 'C-a a' does) but have it
> limited to items that have a particular tag? (E.g., so I can see only
> '@WORK' items when at work.)
The following FAQs explain how to do this:
http://orgmode.org/worg/org-faq.php#limit-agenda-with-tag-filtering
http://orgmode.org/worg/org-faq.php#limit-agenda-with-category-match
- Matt
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Re: limit agenda to particular tag?
2009-07-28 14:56 ` Memnon Anon
@ 2009-07-29 10:11 ` John SJ Anderson
2009-08-04 0:47 ` Daniel Martins
0 siblings, 1 reply; 5+ messages in thread
From: John SJ Anderson @ 2009-07-29 10:11 UTC (permalink / raw)
To: emacs-orgmode
Memnon Anon <gegendosenfleisch@gmail.com> writes:
> John SJ Anderson <genehack@genehack.org> writes:
>
>> Is there a way to display an agenda (like 'C-a a' does) but have it
>> limited to items that have a particular tag? (E.g., so I can see only
>> '@WORK' items when at work.)
>
> Either use your agenda and use / to limit the view to what you want.
> Or create a custom agenda command: I have something like this:
I couldn't get the custom-commands code you posted to work, but the
'C-c a a / TAG' thing you and Matthew both pointed out is exactly what
I was looking for -- thanks to both of you.
chrs,
john.
--
"I believe in getting into hot water; it keeps you clean."
- G. K. Chesterton
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Re: limit agenda to particular tag?
2009-07-29 10:11 ` John SJ Anderson
@ 2009-08-04 0:47 ` Daniel Martins
0 siblings, 0 replies; 5+ messages in thread
From: Daniel Martins @ 2009-08-04 0:47 UTC (permalink / raw)
To: John SJ Anderson; +Cc: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 1637 bytes --]
For me the the custom-commands did not work eitther.
It seems that somehow iy does not take the inherited tags.
I tried to avoid appearing the :WEEKLY: tags in another agenda view but it
did not worked
I tried
("li" "eliminating WEEKLY tags"
agenda ""
((org-agenda-ndays 7) ;; agenda will start in week view
(org-agenda-repeating-timestamp-show-all t) ;; ensures that
repeating events appear on all relevant dates
(org-agenda-log-mode-items '(state))
(org-agenda-skip-function '(org-agenda-skip-entry-if 'regexp
":WEEKLY:")
)
)
)
Daniel
2009/7/29 John SJ Anderson <genehack@genehack.org>
> Memnon Anon <gegendosenfleisch@gmail.com> writes:
>
> > John SJ Anderson <genehack@genehack.org> writes:
> >
> >> Is there a way to display an agenda (like 'C-a a' does) but have it
> >> limited to items that have a particular tag? (E.g., so I can see only
> >> '@WORK' items when at work.)
> >
> > Either use your agenda and use / to limit the view to what you want.
> > Or create a custom agenda command: I have something like this:
>
> I couldn't get the custom-commands code you posted to work, but the
> 'C-c a a / TAG' thing you and Matthew both pointed out is exactly what
> I was looking for -- thanks to both of you.
>
> chrs,
> john.
> --
> "I believe in getting into hot water; it keeps you clean."
> - G. K. Chesterton
>
>
> _______________________________________________
> 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: 2507 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] 5+ messages in thread
end of thread, other threads:[~2009-08-04 0:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-28 13:06 limit agenda to particular tag? John SJ Anderson
2009-07-28 14:56 ` Memnon Anon
2009-07-29 10:11 ` John SJ Anderson
2009-08-04 0:47 ` Daniel Martins
2009-07-28 19:15 ` Matthew Lundin
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.