emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Brand <michael.ch.brand@gmail.com>
To: Matt Lundin <mdl@imapmail.org>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: [agenda] skip non-habit SCHEDULED
Date: Thu, 19 May 2011 23:12:56 +0200	[thread overview]
Message-ID: <BANLkTimsPJ1n7z5s=M+hkqvdJ5Xrm1KhjA@mail.gmail.com> (raw)
In-Reply-To: <87wrhm8lk6.fsf@fastmail.fm>

Hi Matt

On Thu, May 19, 2011 at 22:47, Matt Lundin <mdl@imapmail.org> wrote:
> Michael Brand <michael.ch.brand@gmail.com> writes:
>> - org-agenda-skip-function: not available for type agenda AFAIK
>
> Good news: the skip function does apply to agenda views.

Thank you for pointing this out and for the example that does exactly
what I asked for. I thought that org-agenda-skip-function is not
available for the type agenda from checking the doc. Could the doc be
changed by adding @code {agenda} like this?:

----------------------------------------
diff --git a/doc/org.texi b/doc/org.texi
index aa34cd3..6b469cc 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -14376,12 +14376,12 @@ other block) with @code{org-narrow-to-block}.
 @vindex org-agenda-skip-function
 @vindex org-agenda-skip-function-global
 Org provides a special hook that can be used to narrow down the selection
-made by these agenda views: @code{todo}, @code{alltodo}, @code{tags},
-@code{tags-todo}, @code{tags-tree}.  You may specify a function that is used
-at each match to verify if the match should indeed be part of the agenda
-view, and if not, how much should be skipped.  You can specify a global
-condition that will be applied to all agenda views, this condition would be
-stored in the variable @code{org-agenda-skip-function-global}.  More
+made by these agenda views: @code{agenda}, @code{todo}, @code{alltodo},
+@code{tags}, @code{tags-todo}, @code{tags-tree}. You may specify a function
+that is used at each match to verify if the match should indeed be part of
+the agenda view, and if not, how much should be skipped. You can specify a
+global condition that will be applied to all agenda views, this condition
+would be stored in the variable @code{org-agenda-skip-function-global}. More
 commonly, such a definition is applied only to specific custom searches,
 using @code{org-agenda-skip-function}.

----------------------------------------

Michael

      reply	other threads:[~2011-05-19 21:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-19 19:59 [agenda] skip non-habit SCHEDULED Michael Brand
2011-05-19 20:47 ` Matt Lundin
2011-05-19 21:12   ` Michael Brand [this message]

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='BANLkTimsPJ1n7z5s=M+hkqvdJ5Xrm1KhjA@mail.gmail.com' \
    --to=michael.ch.brand@gmail.com \
    --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).