emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "François Allisson" <francois@allisson.co>
To: Christopher Witte <chris@witte.net.au>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Narrow to sparse tree
Date: Thu, 6 Sep 2012 16:44:57 +0200	[thread overview]
Message-ID: <20120906144457.GA23059@debian> (raw)
In-Reply-To: <CAALnB3Hpui5OOtoF+SnVgmxyyQ3KuLP3jhgO_WcVt-0wVemJ=g@mail.gmail.com>

Le jeudi 06 sep 2012 à 15:46:42 (+0200), Christopher Witte a écrit :
> I keep a bibliography in an org file using the excellent org-bibtex
> functionality.  It has over 100 entries with a first level heading for
> each item.  I tag each of the items with keywords/topics.  Using
> sparse trees I can quickly find and navigate to items matching a
> particular tag, but if only 4 items out of the 100 have that tag the
> "signal to noise" is pretty bad.  What I would like to do is narrow
> the buffer to just those entries that match the tag.  I've looked in
> the manual but I couldn't find a way to do this.  Can this be done
> with org?
> 
> Thanks for the help,
> Chris.
> 
> ps. using M-g n or M-g M-n (next-error) with sparse trees I expected
> it to wrap when you reach the end of the file but sadly this is not
> the case.  Is there a reason for this?
> 

Hi Chris,

Have you think of using the agenda views? In four keystrokes, you're
there with the best signal to noise ratio:

- `C-c a' (or M-x org-agenda)
- `<'     (to restrict the agenda view to the current buffer)
- `m'     (for tags, property and todo keywords)
- `abc'   (for tag :abc:), or (`YEAR'=2010 for PROPERTY :YEAR: equal 
           to 2010, etc).

HTH,

François.

PS: +1 for the excellent org-bibtex functionality !

  reply	other threads:[~2012-09-06 14:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-06 13:46 Narrow to sparse tree Christopher Witte
2012-09-06 14:44 ` François Allisson [this message]
2012-09-06 15:02   ` Christopher Witte
2012-09-06 15:17     ` François Allisson

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=20120906144457.GA23059@debian \
    --to=francois@allisson.co \
    --cc=chris@witte.net.au \
    --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).