emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Adam Porter <adam@alphapapa.net>
To: emacs-orgmode@gnu.org
Subject: org-velocity only returns top-level headlines?
Date: Thu, 29 Aug 2013 21:34:01 +0000 (UTC)	[thread overview]
Message-ID: <loom.20130829T232408-535@post.gmane.org> (raw)

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.

                 reply	other threads:[~2013-08-29 21:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20130829T232408-535@post.gmane.org \
    --to=adam@alphapapa.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).