emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Wiskey 5 Alpha <wiskey5alpha@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Agenda views skip function hide parent projects
Date: Fri, 7 Feb 2014 11:54:54 -0500	[thread overview]
Message-ID: <CAE89rnyF8yUbB0BPHx=ueX+BSB+0k2L2BOr=yMidf4q_hE0B+Q@mail.gmail.com> (raw)
In-Reply-To: <CAE89rny1Y04L=7q_DREwLtb9nMFhsuSRdzPqwrK+4k4HsY_8qQ@mail.gmail.com>

On Wed, Feb 5, 2014 at 12:54 PM, Wiskey 5 Alpha <wiskey5alpha@gmail.com> 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

      parent reply	other threads:[~2014-02-07 16:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-05 17:54 Agenda views skip function hide parent projects Wiskey 5 Alpha
2014-02-05 19:40 ` Alan Schmitt
2014-02-05 19:50   ` Samuel Wales
2014-02-05 20:51   ` Wiskey 5 Alpha
2014-02-07 16:54 ` Wiskey 5 Alpha [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='CAE89rnyF8yUbB0BPHx=ueX+BSB+0k2L2BOr=yMidf4q_hE0B+Q@mail.gmail.com' \
    --to=wiskey5alpha@gmail.com \
    --cc=emacs-orgmode@gnu.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).