From: Matt Lundin <firstname.lastname@example.org> To: email@example.com Cc: "firstname.lastname@example.org" <email@example.com> Subject: Re: How to filter by tag/todo in AGENDA VIEW Date: Mon, 25 Jul 2011 21:34:49 -0500 [thread overview] Message-ID: <firstname.lastname@example.org> (raw) In-Reply-To: <email@example.com> (Mark S.'s message of "Thu, 16 Jun 2011 09:54:17 -0800") "Mark S" <firstname.lastname@example.org> writes: > Yes, I know you can make customized views, but I could find nothing in > the documentation showing how to customize the AGENDA view. In the > documentation, there are example of how to use the various type > functions, but none for the agenda type function. There must be some > options that go with it, or some way to tell it what TODOs you want to > see. > > The closest thing to an example is this: > > (agenda "") > > Hmm. What goes inside of ""? Nothing. The "" corresponds to the match slot within a custom agenda command. With todo and tags searches will search for a match, the agenda does not. > I know how to filter inside the TODO list, but I can't seem to find > how your filter inside of the agenda view. Is there a way? In > particular, I want to filter out all the TODO keyword items so I can > see just the non-todo schedules and deadlines. You can use org-agenda-skip-function. See: (info "(org) Special agenda views") For the scenario above, you could use: --8<---------------cut here---------------start------------->8--- (org-add-agenda-custom-command '("x" "Agenda without todos" agenda "" ((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'todo))))) --8<---------------cut here---------------end--------------->8--- Best, Matt
next prev parent reply other threads:[~2011-07-26 2:34 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-06-16 17:54 Mark S 2011-07-26 2:34 ` Matt Lundin [this message] -- strict thread matches above, loose matches on Subject: below -- 2011-06-15 18:07 How to filter by tag/todo in agenda view Mark S 2011-06-15 19:35 ` Michael Brand
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style List information: https://www.orgmode.org/ * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --subject='Re: How to filter by tag/todo in AGENDA VIEW' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Code repositories for project(s) associated with this 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).