emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthew Lundin <mdl@imapmail.org>
To: Daniel Clemente <n142857@gmail.com>
Cc: Bernt Hansen <bernt@norang.ca>,
	org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Re: Switching between many contexts
Date: Tue, 03 Mar 2009 07:05:11 -0600	[thread overview]
Message-ID: <m2sklu92pk.fsf@fastmail.fm> (raw)
In-Reply-To: <87zlg27snk.fsf@CPU107.opentrends.net> (Daniel Clemente's message of "Tue\, 03 Mar 2009 12\:27\:43 +0100")

Daniel Clemente <n142857@gmail.com> writes:

>   In fact I would like to use often the agenda view with several tags excluded, so the ideal setup would be an agenda custom search.
>   But I don't know which command to use in org-agenda-custom-commands: I don't want tags-todo (that's a heading list), but the real agenda (with its colors, dates, deadlines, etc.). However, the search type called „agenda“ seems not to accept tags to search.
>   Maybe „agenda“ could accept tags to search?
>   Or else I can try to do a custom command which emulates the agenda
>   but adds this filter; maybe with a local variable or with „skip
>   conditions“ (org-agenda-skip-function).

For this you would indeed you a skip function.


--8<---------------cut here---------------start------------->8---
(setq org-agenda-custom-commands
      '(("A" agenda ""
	 ((org-agenda-skip-function '(org-agenda-skip-entry-if 'regexp ":TAG:"))))))
--8<---------------cut here---------------end--------------->8---

  reply	other threads:[~2009-03-03 13:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-02 18:03 Switching between many contexts Daniel Clemente
2009-03-02 18:21 ` Samuel Wales
2009-03-02 18:34   ` Bernt Hansen
2009-03-03 11:27     ` Daniel Clemente
2009-03-03 13:05       ` Matthew Lundin [this message]
2009-03-03 13:31         ` Carsten Dominik
2009-03-03  6:20           ` Manuel Hermenegildo
2009-03-04  6:17           ` Carsten Dominik
2009-03-04 10:01             ` Daniel Clemente
2009-03-05 18:41           ` Auto-saving/loading files (without prompts) David Thole
2009-03-06 15:21             ` Jason F. McBrayer
2009-03-02 18:31 ` Switching between many contexts Bernt Hansen
2009-03-02 21:47 ` Matthew Lundin

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:

  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=m2sklu92pk.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=n142857@gmail.com \


* 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


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