From mboxrd@z Thu Jan 1 00:00:00 1970 From: Esben Stien Subject: Single Search Hit and Quick Jump Date: Wed, 12 Mar 2014 01:30:58 +0100 Message-ID: <87a9cw8dhd.fsf@quasar.esben-stien.name> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42288) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNX4f-00055q-D3 for emacs-orgmode@gnu.org; Tue, 11 Mar 2014 20:31:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNX4X-0001dB-TT for emacs-orgmode@gnu.org; Tue, 11 Mar 2014 20:31:09 -0400 Received: from nmsh1.e.nsc.no ([193.213.121.72]:54157) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNX4X-0001ca-JN for emacs-orgmode@gnu.org; Tue, 11 Mar 2014 20:31:01 -0400 Received: from quasar.esben-stien.name (cm-84.210.71.233.getinternet.no [84.210.71.233]) (authenticated bits=0) by nmsh1.nsc.no (8.14.7/8.14.7) with ESMTP id s2C0UwJH025333 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA256 bits=256 verify=NOT) for ; Wed, 12 Mar 2014 01:30:59 +0100 (MET) 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 I have a long tree, like this: * foo ** bar *** baz **** hukarz **** qux **** quux *** corge **** grault text: corge **** garply text: corge *** azerty **** plugh text: corge **** ethud corge 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? 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" Any pointers as to how I can do this? -- Esben Stien is b0ef@e s a http://www. s t n m irc://irc. b - i . e/%23contact sip:b0ef@ e e jid:b0ef@ n n