* Jumping to scheduled item from agend doesn't put cursor on to the heading
@ 2010-05-19 17:26 Tom
2010-05-20 19:27 ` Matt Lundin
0 siblings, 1 reply; 2+ messages in thread
From: Tom @ 2010-05-19 17:26 UTC (permalink / raw
To: emacs-orgmode
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Jumping to scheduled item from agend doesn't put cursor on to the heading
2010-05-19 17:26 Jumping to scheduled item from agend doesn't put cursor on to the heading Tom
@ 2010-05-20 19:27 ` Matt Lundin
0 siblings, 0 replies; 2+ messages in thread
From: Matt Lundin @ 2010-05-20 19:27 UTC (permalink / raw
To: Tom; +Cc: emacs-orgmode
Tom <levelhalom@gmail.com> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-20 19:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-19 17:26 Jumping to scheduled item from agend doesn't put cursor on to the heading Tom
2010-05-20 19:27 ` Matt Lundin
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.