[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Jumping to scheduled item from agend doesn't put cursor on
From: |
Matt Lundin |
Subject: |
[Orgmode] Re: Jumping to scheduled item from agend doesn't put cursor on to the heading |
Date: |
Thu, 20 May 2010 15:27:29 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Tom <address@hidden> writes:
> If I jump to a regular TODO item from the agenda then cursor is
> put on the heading line. In case of a scheduled agenda item
> cursor is put to the timestamp. Is it intentional?
>
> I often put text content after the heading and before the
> SCHEDULED timestamp, because I can easily modify the timestamp
> with a hotkey, so it doesn't need to be right after the heading,
> I rather put text content there for convenience. When I jump to
> the heading from the agenda it puts the cursor to the timestamp
> which can be at the end of the heading and it would be more
> useful to have the cursor at the beginning, because my useful
> content is usually there.
>
> Shouldn't jumping from agenda be consistent in this respect and
> put the cursor always on the heading line like it does for
> regular TODO items?
>
I believe this is the intended behavior. You can alter the position of
the cursor by using the following hook:
,----
| org-agenda-after-show-hook is a variable defined in `org-agenda.el'.
| Its value is shown below.
|
| This variable is potentially risky when used as a file local variable.
|
| Documentation:
| Normal hook run after an item has been shown from the agenda.
| Point is in the buffer where the item originated.
`----
Best,
Matt