From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wiskey 5 Alpha Subject: Re: Agenda views skip function hide parent projects Date: Fri, 7 Feb 2014 11:54:54 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBohf-0000kL-VB for emacs-orgmode@gnu.org; Fri, 07 Feb 2014 11:55:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBohb-00074m-Ko for emacs-orgmode@gnu.org; Fri, 07 Feb 2014 11:54:59 -0500 Received: from mail-qc0-x22d.google.com ([2607:f8b0:400d:c01::22d]:39440) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBohb-00074g-Bl for emacs-orgmode@gnu.org; Fri, 07 Feb 2014 11:54:55 -0500 Received: by mail-qc0-f173.google.com with SMTP id i8so6382039qcq.18 for ; Fri, 07 Feb 2014 08:54:54 -0800 (PST) In-Reply-To: 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 On Wed, Feb 5, 2014 at 12:54 PM, Wiskey 5 Alpha wrote: > I have some projects that are 4 levels deep, so this is quite annoying. How > do > I get just the "deepest" level project to show without it's parents ? > > here is my custom agenda view for projects > > ("p" "@Projects" tags-todo "-IGNORE-someday-wait/TODO" > ( > (org-agenda-overriding-header "@Projects") > (org-agenda-tags-todo-honor-ignore-options t) > (org-agenda-skip-function > (lambda nil > (org-agenda-skip-subtree-if (quote notregexp) "\\* NEXT") > ) > ) I think I understand the problem now, but i do not know how to fix it. The skip function "matches" on the parent, as well as the siblings if there is a NEXT item in the subtree. Is there any way to limit the search to only one level below the current level ? -Tim