From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: org-velocity only returns top-level headlines? Date: Thu, 29 Aug 2013 21:34:01 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48057) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VF9wp-0001oO-FW for emacs-orgmode@gnu.org; Thu, 29 Aug 2013 17:40:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VF9wj-00024b-12 for emacs-orgmode@gnu.org; Thu, 29 Aug 2013 17:40:11 -0400 Received: from plane.gmane.org ([80.91.229.3]:51481) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VF9wi-00022M-Rh for emacs-orgmode@gnu.org; Thu, 29 Aug 2013 17:40:04 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VF9wh-0004Us-DP for emacs-orgmode@gnu.org; Thu, 29 Aug 2013 23:40:03 +0200 Received: from adsl-99-105-36-149.dsl.ltrkar.sbcglobal.net ([99.105.36.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 Aug 2013 23:40:03 +0200 Received: from adam by adsl-99-105-36-149.dsl.ltrkar.sbcglobal.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 Aug 2013 23:40:03 +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 Hi, I'm using org 8.0.7 and I just installed org-velocity from git master. It seems to work, but when searching, it only displays top-level headlines. For example, I have a log.org file with a datetree like this: * 2013 ** 2013-07 July *** 2013-07-19 Friday **** Found a peanut last night *** 2013-07-24 Wednesday ... *** 2013-07-31 Wednesday When I use org-velocity-read to search for Wednesday, it shows one result that looks like this: 2013 ** 2013-07 July *** 2013-07-19 Friday ****... Instead of showing individual subheadings that match the search, it flattens the tree to the top-level headline and shows a single result. It seems to me that it should show a list of results like this: *** 2013-07-24 Wednesday *** 2013-07-31 Wednesday I've looked through the page on Worg, the org-velocity customize group, the comments in org-velocity.el, and posts on this list, but this behavior doesn't seem documented. I looked through the elisp code and saw where it seems to only match top-level headlines, but I don't understand why it's written that way. It claims to support navigating any and all org files, but since it only matches top-level headings, it doesn't seem very useful for that. Am I missing something? Is there a simple way to change it to match subheadings? Thanks.