From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Showing only subprojects in the agenda Date: Wed, 20 Feb 2013 06:54:04 -0500 Message-ID: <87ehgbciar.fsf@norang.ca> References: <87ip5ndfj6.fsf@norang.ca> <87hal7vdca.wl%wiskey5alpha@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U88FW-00045h-0E for emacs-orgmode@gnu.org; Wed, 20 Feb 2013 06:54:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U88FT-00086E-B1 for emacs-orgmode@gnu.org; Wed, 20 Feb 2013 06:54:09 -0500 Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:64365 helo=mho-01-ewr.mailhop.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U88FT-00085I-6a for emacs-orgmode@gnu.org; Wed, 20 Feb 2013 06:54:07 -0500 In-Reply-To: <87hal7vdca.wl%wiskey5alpha@gmail.com> (Tim's message of "Tue, 19 Feb 2013 23:06:13 -0500") 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: Tim Cc: emacs-orgmode@gnu.org Tim writes: > At Tue, 19 Feb 2013 18:56:13 -0500, > Bernt Hansen wrote: >>=20 >> Wiskey 5 Alpha writes: >>=20 >> > =C2=A0=C2=A0=C2=A0 I'm sure this is not as complicated as i am making = it out to be, but i have tried every option i can think of. >>=20 >> You should be able to achieve what you are looking for with a custom >> agenda skip function. I have skip functions to show (or skip) projects >> in my setup and you should be able to adapt some of that for your needs. >>=20 > Thanks Bernt, I guess it /is/ that complicated. I will take a look but I > am not much of an elisp programmer yet.... > > -Tim If all of your projects are normally at level 2 will this work? C-c a m LEVEL=3D2/!TODO RET If that works then you can define an agenda as --8<---------------cut here---------------start------------->8--- (setq org-agenda-custom-commands (quote (("p" "Projects" tags-todo "LEVEL=3D2/!TODO" ((org-agenda-overriding-header "Projects") (org-agenda-sorting-strategy '(category-keep))))))) --8<---------------cut here---------------end--------------->8--- Bernt