emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: tags filtering in weekly/daily agenda
Date: Mon, 22 Aug 2011 09:48:45 +0800	[thread overview]
Message-ID: <8762lq9pxe.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 654A6F59-193F-4E67-8362-E3C3657EFA7D@gmail.com

On Sun, Aug 21 2011, Carsten Dominik wrote:

> On 21.8.2011, at 15:17, Bernt Hansen wrote:
>
>> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>> 
>>> Am I wrong, or is there no way to filter what is shown in the
>>> weekly/daily agenda view? I'm creating custom agendas with multiple
>>> blocks, and would like to apply the same tags/match filter to the daily
>>> agenda as I do to the TODO blocks below it. Can that be done?
>
> This might be a problem with an older version of Org-mode, but we have no idea
> what your version is, Eric.
>
> - Carsten

Ah, sorry -- stupid oversight: Org-mode version 7.7
(release_7.7.160.g3e33). Should be yesterday.

I'm using plain elisp to create custom agenda views (the customize
interface is hard to look at). Here's the simplest thing I started with:

(setq org-agenda-custom-commands
      '(("p" "Personal agenda plus mail"
	 ((agenda "-CATEGORY=\"pr\"")
	  (tags "TODO=\"EMAIL\"-CATEGORY=\"pr\"")))))

The "tags" section filters correctly, but the agenda doesn't. This
probably isn't the correct way to do it, but the examples in the
manual don't show how. Bernt's pointer about dynamic filtering of an
existing agenda view works, of course, but I'm trying to have it start
out filtered.

Thanks!
Eric

  reply	other threads:[~2011-08-22  1:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-21 11:57 tags filtering in weekly/daily agenda Eric Abrahamsen
2011-08-21 13:17 ` Bernt Hansen
2011-08-21 14:49   ` Carsten Dominik
2011-08-22  1:48     ` Eric Abrahamsen [this message]
2011-08-22 11:39       ` Bernt Hansen
2011-08-21 16:29   ` Sebastien Vauban
2011-08-21 17:04     ` Bernt Hansen

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 \
    --in-reply-to=8762lq9pxe.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=emacs-orgmode@gnu.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).