emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Narrow to sparse tree
@ 2012-09-06 13:46 Christopher Witte
  2012-09-06 14:44 ` François Allisson
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher Witte @ 2012-09-06 13:46 UTC (permalink / raw)
  To: Org Mode

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?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Narrow to sparse tree
  2012-09-06 13:46 Narrow to sparse tree Christopher Witte
@ 2012-09-06 14:44 ` François Allisson
  2012-09-06 15:02   ` Christopher Witte
  0 siblings, 1 reply; 4+ messages in thread
From: François Allisson @ 2012-09-06 14:44 UTC (permalink / raw)
  To: Christopher Witte; +Cc: Org Mode

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 !

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Narrow to sparse tree
  2012-09-06 14:44 ` François Allisson
@ 2012-09-06 15:02   ` Christopher Witte
  2012-09-06 15:17     ` François Allisson
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher Witte @ 2012-09-06 15:02 UTC (permalink / raw)
  To: François Allisson; +Cc: Org Mode

That's great, it gets me part of the way there.  I also keep notes for
each reference under their heading and I'd like to be able to see/edit
them as well.  Is there a way to do this in an agenda buffer?

On 6 September 2012 16:44, François Allisson <francois@allisson.co> wrote:
> 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 !

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Narrow to sparse tree
  2012-09-06 15:02   ` Christopher Witte
@ 2012-09-06 15:17     ` François Allisson
  0 siblings, 0 replies; 4+ messages in thread
From: François Allisson @ 2012-09-06 15:17 UTC (permalink / raw)
  To: Christopher Witte; +Cc: Org Mode

Le jeudi 06 sep 2012 à 17:02:06 (+0200), Christopher Witte a écrit :
> That's great, it gets me part of the way there.  I also keep notes for
> each reference under their heading and I'd like to be able to see/edit
> them as well.  Is there a way to do this in an agenda buffer?

Just press "space", "enter" or "tab" on any of your results. Notice the
different behaviours between the three commands, and choose your
favourite depending on the context (mine is "space" anyway).

François.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-06 15:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-06 13:46 Narrow to sparse tree Christopher Witte
2012-09-06 14:44 ` François Allisson
2012-09-06 15:02   ` Christopher Witte
2012-09-06 15:17     ` François Allisson

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).