[Orgmode] Re: Wishlist - Function to get to and reveal the current clocking task

2007-10-03 Thread Bernt Hansen
Bastien <[EMAIL PROTECTED]> writes: > Bernt Hansen <[EMAIL PROTECTED]> writes: > >> I'd love a function I could bind to a single key press to do this. >> >> I know org-clock-marker points at the current location I want to get to >> - I just don't know how to use it to get there and reveal the loca

[Orgmode] Re: Wishlist - Function to get to and reveal the current clocking task

2007-10-03 Thread Bastien
Bernt Hansen <[EMAIL PROTECTED]> writes: > If I'm in another buffer it splits the window and displays the right > stuff in the other buffer - I just need to close the current window. (defun org-goto-clocked-in-entry (&optional delete-windows) "Go to the currently clocked-in entry. If DELETE-WIN

[Orgmode] Re: Wishlist - Function to get to and reveal the current clocking task

2007-10-03 Thread Bernt Hansen
Bastien <[EMAIL PROTECTED]> writes: > Bernt Hansen <[EMAIL PROTECTED]> writes: > >> If I'm in another buffer it splits the window and displays the right >> stuff in the other buffer - I just need to close the current window. > > (defun org-goto-clocked-in-entry (&optional delete-windows) > "Go t

[Orgmode] Re: Wishlist - Function to get to and reveal the current clocking task

2007-10-03 Thread Bastien
Bernt Hansen <[EMAIL PROTECTED]> writes: > Now the only weird thing it does is after going to the right place - > if I hit C-M- again it goes somewhere else... and again brings it > back. I can't reproduce that. You might have gnomes on your computer. Or we both have, and mine just misbehave diff

[Orgmode] Re: Wishlist - Function to get to and reveal the current clocking task

2007-10-03 Thread Bernt Hansen
Bastien <[EMAIL PROTECTED]> writes: > Bernt Hansen <[EMAIL PROTECTED]> writes: > >> Now the only weird thing it does is after going to the right place - >> if I hit C-M- again it goes somewhere else... and again brings it >> back. > > I can't reproduce that. You might have gnomes on your computer.

[Orgmode] Re: Wishlist - Function to get to and reveal the current clocking task

2007-10-04 Thread Bernt Hansen
Bastien <[EMAIL PROTECTED]> writes: > Bernt Hansen <[EMAIL PROTECTED]> writes: > >> If I fold my buffer it works but if I show all of the buffer with C-c >> C-a then repeatedly run the new function it jumps back and forth between >> two points in the file (lines 335 and 365 for me - the clock mark

Re: [Orgmode] Re: Wishlist - Function to get to and reveal the current clocking task

2007-10-03 Thread Bastien
Bernt Hansen <[EMAIL PROTECTED]> writes: > If I fold my buffer it works but if I show all of the buffer with C-c > C-a then repeatedly run the new function it jumps back and forth between > two points in the file (lines 335 and 365 for me - the clock marker is > on line 365 - almost at the end of