Hi Esben,

Esben Stien <b...@esben-stien.name> writes:

> Now, If I f.ex do C-c a s corge, I get multiple hits, but I really only
> search for level 3 items always. Is there any way to restrict the search
> to only level 3 items?

You can have a custom agenda command like this one:

    (setq org-agenda-custom-commands
       '(("c" "Level 3 courge" tags "+LEVEL=3"
          ((org-agenda-regexp-filter-preset '("+corge"))))))

> Also, when I find a result, I want to jump to the last item in that
> tree, so if I search for "corge", I want to end up with point on the
> level 4 item "**** garply"

You can hack around `org-agenda-after-show-hook'.

HTH,

-- 
 Bastien

Reply via email to