From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: headline navigation and refiling. Date: Thu, 6 Oct 2011 09:46:19 +0200 Message-ID: <7C19C006-590C-4354-ADA3-A07FD434CA48@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBieu-0006jF-D6 for emacs-orgmode@gnu.org; Thu, 06 Oct 2011 03:46:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBiet-0004ZA-7n for emacs-orgmode@gnu.org; Thu, 06 Oct 2011 03:46:24 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:59168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBiet-0004Z5-3N for emacs-orgmode@gnu.org; Thu, 06 Oct 2011 03:46:23 -0400 Received: by eye13 with SMTP id 13so2704391eye.0 for ; Thu, 06 Oct 2011 00:46:22 -0700 (PDT) In-Reply-To: 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: Tom Cc: emacs-orgmode@gnu.org On Oct 6, 2011, at 9:34 AM, Tom wrote: > 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. Fair enough. - Carsten > > > - Carsten