From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Subject: Re: headline navigation and refiling. Date: Thu, 6 Oct 2011 07:34:02 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBiTD-00059n-Mk for emacs-orgmode@gnu.org; Thu, 06 Oct 2011 03:34:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBiTC-0002uv-Gk for emacs-orgmode@gnu.org; Thu, 06 Oct 2011 03:34:19 -0400 Received: from lo.gmane.org ([80.91.229.12]:44918) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBiTC-0002un-Bg for emacs-orgmode@gnu.org; Thu, 06 Oct 2011 03:34:18 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RBiT8-0008HF-IG for emacs-orgmode@gnu.org; Thu, 06 Oct 2011 09:34:14 +0200 Received: from 94-21-223-229.pool.digikabel.hu ([94.21.223.229]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Oct 2011 09:34:14 +0200 Received: from adatgyujto by 94-21-223-229.pool.digikabel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Oct 2011 09:34:14 +0200 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 Carsten Dominik gmail.com> writes: > > > Not a part of org, but I think this occur based library is brilliant: > > > > This is good and should be part of Org-mode. Anyone knows who wrote this? > I wrote it, but this shouldn't be the part of Org, because it's a hack and I don't want to deal with copyright papers either for such a trivial package (I've written it in half an hour, so it's not very hard to reimplement it). It's a hack, because it should not use occur at all. Occur is line oriented and the search should be able to treat an org headline and its text as a single entity when searching. So it should be reimplemented from the ground up properly with the same dynamic interface, so that results are shown immediately as the user is typing, but it should be able to support the same boolean logic as org-search-view, so one can make intelligent searches with it. For example, +dog +wag should find headings like this * the usual behavior of dogs they wag their tails And the search output should show the matching heading and below that that part of the text which is matching and if possible it should color the matches (like in the occur output), so in the above case it would show something like this (with _ indicating coloring): * the usual behavior of _dogs_ they _wag_ their tails That's the version org should have included.