From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ido Magal Subject: Custom Agenda that partially skips entries Date: Sat, 9 Apr 2011 22:58:25 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e6d6477ce1df6704a08a261c Return-path: Received: from [140.186.70.92] (port=56582 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8nfb-0005di-Mz for emacs-orgmode@gnu.org; Sun, 10 Apr 2011 01:58:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q8nfa-0003d4-NX for emacs-orgmode@gnu.org; Sun, 10 Apr 2011 01:58:47 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:62673) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q8nfa-0003d0-JC for emacs-orgmode@gnu.org; Sun, 10 Apr 2011 01:58:46 -0400 Received: by wyf19 with SMTP id 19so4775854wyf.0 for ; Sat, 09 Apr 2011 22:58:45 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --0016e6d6477ce1df6704a08a261c Content-Type: text/plain; charset=UTF-8 I'd appreciate assistance in constructing a custom agenda that accomplishes the following (if possible): 1. Block of week's agenda. 2. Block of "next" items that have no schedule ( items that don't show up in block 1 ) This is my starting point: (setq org-agenda-custom-commands '(("n" "Next tasks" ((todo "next"))) ("A" "agenda" ((agenda "" ((org-agenda-ndays 7))) (todo "next") )) )) The problem here is that I get duplicates because _all_ 'next' items show up in the second block. I'd rather that only unscheduled items showed there. I thought that this would do it, but it fails: (setq org-agenda-custom-commands '(("n" "Next tasks" ((todo "next"))) ("A" "agenda" ((agenda "" ((org-agenda-ndays 7))) ((todo "next") (org-agenda-skip-function '(org-agenda-skip-entry-if 'deadline 'scheduled))) )) )) Thanks in advance. --0016e6d6477ce1df6704a08a261c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I'd appreciate assistance in constructing a custom age= nda that accomplishes the following (if possible):

1. Bl= ock of week's agenda.
2. Block of "next" items that= have no schedule ( items that don't show up in block 1 )

This is my starting point:

(setq org-agenda-custom-commands
=C2=A0=C2=A0 =C2=A0 =C2= =A0'(("n" "Next tasks"
((todo "next")))<= /div>
(&quo= t;A" "agenda"
((agenda "" ((org-agenda-ndays 7)))=
=C2= =A0(todo "next")
=C2=A0))
))

The problem here is that I get duplicates b= ecause _all_ 'next' items show up in the second block. =C2=A0I'= d rather that only unscheduled items showed there.

I thought that this would do it, but it fails:

(setq org-agenda-custom-commands
=C2=A0=C2=A0 =C2=A0 =C2=A0'= ;(("n" "Next tasks"
((todo "next")))
(&quo= t;A" "agenda"
((agenda "" ((org-agenda-ndays 7)))=
=C2= =A0((todo "next")
=C2=A0 (org-agenda-skip-function '(org-ag= enda-skip-entry-if 'deadline 'scheduled)))
=C2= =A0))
<= /span>))

Thanks in advance.


--0016e6d6477ce1df6704a08a261c--