From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arunabha Ghosh Subject: Guide to writing custom skip functions for agenda views using org-agenda-skip-function Date: Wed, 25 Jun 2014 01:18:21 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e01537be22ba2eb04fca4b842 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WziPQ-0005fD-7n for emacs-orgmode@gnu.org; Wed, 25 Jun 2014 04:18:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WziPO-0005hS-C0 for emacs-orgmode@gnu.org; Wed, 25 Jun 2014 04:18:24 -0400 Received: from mail-yk0-x22c.google.com ([2607:f8b0:4002:c07::22c]:43688) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WziPO-0005h8-88 for emacs-orgmode@gnu.org; Wed, 25 Jun 2014 04:18:22 -0400 Received: by mail-yk0-f172.google.com with SMTP id 142so888896ykq.31 for ; Wed, 25 Jun 2014 01:18:21 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --089e01537be22ba2eb04fca4b842 Content-Type: text/plain; charset=UTF-8 Hi, Is there a guide on writing functions for implementing custom skip criteria for agenda items using org-agenda-skip-function ? I understand the basic premise behind org-agenda-skip-function but examples from other people's configs don't make much sense. What are the inputs to the skip function, there seem to be none. If so, how do I figure out which entry is the skip function is being called on and how do I evaluate predicates over that entry ? e.g. I'd like to have a skip function that skips entries only if they are scheduled *in the future*. How would I go about implementing such a function ? Thanks, Arunabha --089e01537be22ba2eb04fca4b842 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,
=C2=A0 =C2=A0 Is there a guide on writing function= s for implementing custom skip criteria for agenda items using=C2=A0org-agenda-skip-function ? I= understand the basic premise behind org-agenda-skip-function but examples from other peo= ple's configs don't make much sense.

What are the in= puts to the skip function, there seem to be none. If so, how do I figure ou= t which entry is the skip function is being called on and how do I evaluate= predicates over that entry ? e.g. I'd like to have a skip function tha= t skips entries only if they are scheduled *in the future*. How would I go = about implementing such a function ?

Thanks,<= /div>
Arunabha
--089e01537be22ba2eb04fca4b842--