emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Agenda view filter
@ 2011-07-26 13:17 Renger van Nieuwkoop
  2011-07-27 16:18 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Renger van Nieuwkoop @ 2011-07-26 13:17 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 529 bytes --]

Hi
I try to define a view that should show me my agenda for today with all NEXT/TODO items with priority A.
I found some code for the priority but did not manage to get it running with filtering for NEXT/TODO  (I tried adding (todo "NEXT|TODO") but that did not work).

(setq org-agenda-custom-commands
'(("p" "Prio A and scheduled" agenda ""
((org-agenda-entry-types '(:scheduled))
(org-agenda-skip-function '(org-agenda-skip-entry-if 'notregexp "\\[#A\\]"))))
)

Could anybode help me out?

Thanks

Renger




[-- Attachment #2: Type: text/html, Size: 1523 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Agenda view filter
  2011-07-26 13:17 Agenda view filter Renger van Nieuwkoop
@ 2011-07-27 16:18 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2011-07-27 16:18 UTC (permalink / raw)
  To: Renger van Nieuwkoop; +Cc: emacs-orgmode@gnu.org

Hi Renger,

Renger van Nieuwkoop <renger@ecoplan.ch> writes:

> I try to define a view that should show me my agenda for today with
> all NEXT/TODO items with priority A.
> I found some code for the priority but did not manage to get it
> running with filtering for NEXT/TODO  (I tried adding (todo “NEXT|
> TODO”) but that did not work).
>  
> (setq org-agenda-custom-commands
> '(("p" "Prio A and scheduled" agenda ""
> ((org-agenda-entry-types '(:scheduled))
> (org-agenda-skip-function '(org-agenda-skip-entry-if 'notregexp "\\[#
> A\\]"))))
> )

I don't have time to help more right now but I suggest you read this
great tutorial:

  http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.html

Best,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-27 16:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-26 13:17 Agenda view filter Renger van Nieuwkoop
2011-07-27 16:18 ` Bastien

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).