emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Tarbotton <jtarbotton@gmail.com>
To: Matt Lundin <mdl@imapmail.org>
Cc: David Maus <dmaus@ictsoc.de>, emacs-orgmode@gnu.org
Subject: Re: Using org-agenda-filter-preset with or'd tags
Date: Tue, 11 Jan 2011 18:01:28 -0500	[thread overview]
Message-ID: <AANLkTi=W_mjGmuiJ7-NFm2a1TPZP4S43-TpTOhHA0_R9@mail.gmail.com> (raw)
In-Reply-To: <8739oz4lsq.fsf@fastmail.fm>


[-- Attachment #1.1: Type: text/plain, Size: 1053 bytes --]

On Tue, Jan 11, 2011 at 08:22, Matt Lundin <mdl@imapmail.org> wrote:

> Matt Lundin <mdl@imapmail.org> writes:
>
> > To use "or" logic to filter the agenda, I would recommend setting
> > org-agenda-skip-function.
> >
> > (setq org-agenda-custom-commands
> >       '(("W" "Work Schedule"
> >          ((agenda ""
> >                 ((org-agenda-skip-function '(org-agenda-skip-entry-if
> 'notregexp ":\\(@Work\\|critical\\):")))
> >                  (org-agenda-ndays 1)))
> >           (tags-todo "@Work|critical")))))
> >
>
> The above contains a typo. It should read:
>
> (setq org-agenda-custom-commands
>      '(("W" "Work Schedule"
>         ((agenda ""
>                  ((org-agenda-skip-function '(org-agenda-skip-entry-if
> 'notregexp ":\\(@Work\\|critical\\):"))
>                   (org-agenda-ndays 1)))
>          (tags-todo "@Work|critical")))))
>
> Best,
> Matt
>

Thanks for the suggestion.  It did not completely work for me because the
@Work tag was inherited. However I think I can change my process a little to
make it work.

John

[-- Attachment #1.2: Type: text/html, Size: 1689 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2011-01-11 23:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-20 14:12 Using org-agenda-filter-preset with or'd tags johnt
2011-01-09 13:58 ` David Maus
2011-01-10 18:01   ` John Tarbotton
2011-01-11 13:20   ` Matt Lundin
2011-01-11 13:22     ` Matt Lundin
2011-01-11 23:01       ` John Tarbotton [this message]
2011-01-11 14:01     ` Carsten Dominik

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='AANLkTi=W_mjGmuiJ7-NFm2a1TPZP4S43-TpTOhHA0_R9@mail.gmail.com' \
    --to=jtarbotton@gmail.com \
    --cc=dmaus@ictsoc.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=mdl@imapmail.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).