[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Suggestion: Jump points

From: Eddward DeVilla
Subject: Re: [Orgmode] Suggestion: Jump points
Date: Wed, 11 Jul 2007 09:51:41 -0500

On 7/11/07, Rick Moynihan <address@hidden> wrote:
Is this something people might find useful?  I personally find I spend a
lot of time trying to re-acquire my previous context within a particular
task, something like this might help.

Actually, after thinking about this; I realise that Emacs has bookmarks
(a feature I've not yet put to use) perhaps a better idea would be to
integrate these with org-mode and visiting the file via the agenda?

What do people think?

I'm not sure I understand it.  You place a token (you were using ++)
in the body under an outline item.  Then when you select the item from
agenda, instead of putting the cursor on that headline, it will look
for (the first?) line with that token in it's subtree.  If the token
does not exist in the subtree it just places the cursor on the
heading.  Is this what you are suggesting?  (If not then the rest of
my comment may be off.)

First, I avoid losing context in a different way.  I have one emacs
session that is always running to take care of 'administrative matter'
and it is were I do most of my org-mode/project planning and tracking.
When I'm in the middle of doing something with a project, I have it's
tree open in an indirect buffer.  I have one frame with just agenda's
todo list in it for reporting and another frame with three windows (or
so) so I can look at a few things at once.  Since each project is in
it's own buffer, I can get context just be where I left the cursor.
For my uses, what I would love is a way to have org-mode remember how
a subtree was folded so I could hide a subtree and then reopen it
later with all of it children exposed or hidden as they were before.
I like to use hiding for context in a project, but I get by without

Getting back to your suggestion, I have an idea.  First pick a good
token.  I don't care for ++ because it means something in C code, but
I think you could get a way with picking your own token here.  Next, I
wonder if there is a search subtree?  I didn't see it in on a quick
search of the manual, but I could have missed it if it exists.  If it
doesn't exist, I think it might be handy here and in other places.
With a subtree search, you could search out the token after agenda
takes you to the project tree.  You could make a custom key binding to
search for you token.  Also, if there is a hook that runs after agenda
takes you to a heading, you might be able to put this search there.

That all depends on a few things.  Does subtree search exist or should
it?  Is a key binding good enough for a find-next-jump-point function?
Is there (or should there be) a hook that runs after agenda takes you
to a heading?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]