From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Alekseyev Subject: Search in headings before searching in leaves Date: Sun, 15 Nov 2009 22:35:46 -0500 Message-ID: <4e3ad400911151935v451904f7x605fb455600bfb95@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N9sNe-0006Fm-O5 for emacs-orgmode@gnu.org; Sun, 15 Nov 2009 22:35:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N9sNa-0006FD-8H for Emacs-orgmode@gnu.org; Sun, 15 Nov 2009 22:35:54 -0500 Received: from [199.232.76.173] (port=44940 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N9sNa-0006FA-2C for Emacs-orgmode@gnu.org; Sun, 15 Nov 2009 22:35:50 -0500 Received: from mail-fx0-f225.google.com ([209.85.220.225]:40233) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N9sNZ-0006Fr-N4 for Emacs-orgmode@gnu.org; Sun, 15 Nov 2009 22:35:49 -0500 Received: by fxm25 with SMTP id 25so136075fxm.26 for ; Sun, 15 Nov 2009 19:35:46 -0800 (PST) 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: Emacs-orgmode@gnu.org I thought it would be a rather useful behavior for isearch to search only in the displayed text. That is to say, if I have a structure such as * Folded Heading 1... * Folded Heading 2... [ whose body has 1 bazillion occurrences of SearchTerm ] * Folded Heading With SearchTerm... * Folded Heading 4... when I do an isearch I would like to jump to the heading (and if I continue pressing C-s cycle back to the occurrences of SearchTerm within Heading 2. Are there existing hacks for org mode or outline mode that would result in such behavior?.. If not, consider this a feature request :) --Leo