emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-show-todo-tree for part of an org file
@ 2007-06-08 18:27 Bernt Hansen
  2007-06-09  6:10 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Bernt Hansen @ 2007-06-08 18:27 UTC (permalink / raw)
  To: emacs-orgmode

Hi Carsten (and list),

Org mode is great!

I use C-c C-v (org-show-todo-tree) alot.  One of my org files is getting
rather largish (8200 lines) and it would be really useful if it was
possible to do the org-show-todo-tree on only part of the file.

What I'm really looking for is a way to do C-c C-v (or some similar key
combination) on the current TODO heading and have org mode only show the
sparse todo tree for everything under the current TODO heading instead
of for the entire file.

My workarounds at the moment are:

   - to use C-c C-k to expand the tree (but that displays a bunch of
     DONE entries I'm really not interested in)

   - to mark the current location before doing C-c C-v and then going
     back to the mark (but that doesn't work if I happen to be in a task
     that is not an open TODO item since that location is now folded).

Is there a way to do this that I'm just not aware of?

Thanks for a great tool!

Regards,
Bernt

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

* Re: org-show-todo-tree for part of an org file
  2007-06-08 18:27 org-show-todo-tree for part of an org file Bernt Hansen
@ 2007-06-09  6:10 ` Carsten Dominik
  2007-06-09 12:03   ` Bernt Hansen
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2007-06-09  6:10 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode


On Jun 8, 2007, at 20:27, Bernt Hansen wrote:

> Hi Carsten (and list),
>
> Org mode is great!
>
> I use C-c C-v (org-show-todo-tree) alot.  One of my org files is 
> getting
> rather largish (8200 lines) and it would be really useful if it was
> possible to do the org-show-todo-tree on only part of the file.
>
> What I'm really looking for is a way to do C-c C-v (or some similar key
> combination) on the current TODO heading and have org mode only show 
> the
> sparse todo tree for everything under the current TODO heading instead
> of for the entire file.
>
> My workarounds at the moment are:


Hi Bernt,

how about

C-x n s    ; to narrow
C-c C-v    ; to show todo tree
C-x n w    ; to widen again.

or

C-c C-x b  ; get get current tree in an indirect buffer to work with.
C-c C-v    ; in the new buffer, to see the limited todo tree.
C-x k RET  ; to remove the indirect buffer after you are done.

- Carsten

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

* Re: org-show-todo-tree for part of an org file
  2007-06-09  6:10 ` Carsten Dominik
@ 2007-06-09 12:03   ` Bernt Hansen
  0 siblings, 0 replies; 3+ messages in thread
From: Bernt Hansen @ 2007-06-09 12:03 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <dominik@science.uva.nl> writes:

> On Jun 8, 2007, at 20:27, Bernt Hansen wrote:
>
>> Hi Carsten (and list),
>>
>> Org mode is great!
>>
>> I use C-c C-v (org-show-todo-tree) alot.  One of my org files is
>> getting
>> rather largish (8200 lines) and it would be really useful if it was
>> possible to do the org-show-todo-tree on only part of the file.
>>
>> What I'm really looking for is a way to do C-c C-v (or some similar key
>> combination) on the current TODO heading and have org mode only show
>> the
>> sparse todo tree for everything under the current TODO heading instead
>> of for the entire file.
>>
>> My workarounds at the moment are:
>
>
> Hi Bernt,
>
> how about
>
> C-x n s    ; to narrow
> C-c C-v    ; to show todo tree
> C-x n w    ; to widen again.
>
> or
>
> C-c C-x b  ; get get current tree in an indirect buffer to work with.
> C-c C-v    ; in the new buffer, to see the limited todo tree.
> C-x k RET  ; to remove the indirect buffer after you are done.
>
> - Carsten

Perfect!!  Thanks alot Carsten.  I wasn't aware of the narrow/widen
functions. :)

Bernt

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

end of thread, other threads:[~2007-06-09 12:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-08 18:27 org-show-todo-tree for part of an org file Bernt Hansen
2007-06-09  6:10 ` Carsten Dominik
2007-06-09 12:03   ` Bernt Hansen

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