[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Easily go to some frequently accessed heading (narrowed to
From: |
Eric S Fraga |
Subject: |
Re: [Orgmode] Easily go to some frequently accessed heading (narrowed to region) |
Date: |
Wed, 02 Feb 2011 15:52:55 +0000 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
Darlan Cavalcante Moreira <address@hidden> writes:
> Thanks Eric
>
> I tried org-goto before, but I needed something that I could bind to a
[...]
> A custom agenda view is is good to see the tasks associated with a project
> and I already tag each project as you suggested, but besides the tasks
> there are some subheadings in each project that have only information
> without tasks or schedule/deadline dates. That is what motivated me to
> search for a way to quickly access the project contents and not only its
> tasks.
Okay, let's try a third suggestion (in case it's 3rd time lucky ;-):
3. what about a sparse tree view (org-sparse-tree, C-c /, followed by
'm' for match on a tag of choice) of your projects file?
But again, this isn't necessarily something you can program, although
maybe you can as org-sparse-tree invokes org-match-sparse-tree which
looks definitely viable as a candidate for programmatic use:
,----
| org-match-sparse-tree is an interactive compiled Lisp function in
| `org.el'.
|
| (org-match-sparse-tree &optional TODO-ONLY MATCH)
|
| Create a sparse tree according to tags string MATCH.
| MATCH can contain positive and negative selection of tags, like
| "+WORK+URGENT-WITHBOSS".
| If optional argument TODO-ONLY is non-nil, only select lines that are
| also TODO lines.
`----
so you could definitely write specific a function to use this, with a
specific match string, followed by a narrow to subtree?
--
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.298.g16b40)
[Orgmode] Re: Easily go to some frequently accessed heading (narrowed to region), Bernt Hansen, 2011/02/05