From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Suggestion: Jump points Date: Thu, 12 Jul 2007 14:24:58 +0200 Message-ID: <4ad1cc0112136f108dc5388744770a6e@gmail.com> References: <468E11C4.50604@calicojack.co.uk> <6da9122d5b79844f2856186565289598@science.uva.nl> <468E1D59.6030006@calicojack.co.uk> <468E6DAF.1040100@calicojack.co.uk> <4694C483.2060708@calicojack.co.uk> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I8xjD-0003qF-5B for emacs-orgmode@gnu.org; Thu, 12 Jul 2007 08:25:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I8xjC-0003pp-Cr for emacs-orgmode@gnu.org; Thu, 12 Jul 2007 08:25:02 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I8xjB-0003pk-VZ for emacs-orgmode@gnu.org; Thu, 12 Jul 2007 08:25:02 -0400 Received: from mu-out-0910.google.com ([209.85.134.185]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I8xjB-0000m9-LG for emacs-orgmode@gnu.org; Thu, 12 Jul 2007 08:25:01 -0400 Received: by mu-out-0910.google.com with SMTP id g7so140117muf for ; Thu, 12 Jul 2007 05:25:01 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eddward DeVilla Cc: org-mode , Rick Moynihan On Jul 11, 2007, at 16:51, Eddward DeVilla wrote: > > That all depends on a few things. Does subtree search exist or should > it? Is a key binding good enough for a find-next-jump-point function? > Is there (or should there be) a hook that runs after agenda takes you > to a heading? Org does search subtree all the time, but there is indeed no dedicated function yet. I'll make one. But in the mean time, this is all it takes: (let ((end (save-excursion (org-end-to-subtree t)))) (re-search-forward SEARCH-REGEXP end)) - Carsten -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477