emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* changes to return-follows-link
@ 2009-03-06 14:32 Wes Hardaker
  2009-03-06 17:15 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Wes Hardaker @ 2009-03-06 14:32 UTC (permalink / raw)
  To: emacs-orgmode


Recently (I'm running 6.23b; not 6.24) pressing return in the agenda
buffer on a link followed the link.  Now it's jumping to the schedule
line in the wherever.org file.  Two questions:

1) shouldn't it jump to the header line instead of the schedule line?
2) if on a link to somewhere else, shouldn't it follow the link?

I'm sure this is a result of the recent rework of the *-follow-link
functions...  I have multiple repeating agenda items that jump me to
various web-pages etc.  (Now I have to hit return->up-arrow->return to
get to the right jump spot rather than a direct jump).

-- 
"In the bathtub of history the truth is harder to hold than the soap,
 and much more difficult to find."  -- Terry Pratchett

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

* Re: changes to return-follows-link
  2009-03-06 14:32 changes to return-follows-link Wes Hardaker
@ 2009-03-06 17:15 ` Carsten Dominik
  2009-03-09 16:34   ` Wes Hardaker
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2009-03-06 17:15 UTC (permalink / raw)
  To: Wes Hardaker; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1489 bytes --]

Hi Wes,

RET in the agenda is supposed to go to the location that triggered
the entry, in your case the scheduling time stamp.  I did not even
know that it used to follow a link.

The direct command to follow a link from the agenda is `C-c C-o',
`org-agenda-open-link'.

If you do not need the other functionality of RET in the agenda,
try

(add-hook 'org-agenda-mode-hook
    (lambda ()
    (define-key org-agenda-mode-map [(return)] 'org-agenda-open-link)))

HTH

- Carsten

On Mar 6, 2009, at 3:32 PM, Wes Hardaker wrote:

>
> Recently (I'm running 6.23b; not 6.24) pressing return in the agenda
> buffer on a link followed the link.  Now it's jumping to the schedule
> line in the wherever.org file.  Two questions:
>
> 1) shouldn't it jump to the header line instead of the schedule line?
> 2) if on a link to somewhere else, shouldn't it follow the link?
>
> I'm sure this is a result of the recent rework of the *-follow-link
> functions...  I have multiple repeating agenda items that jump me to
> various web-pages etc.  (Now I have to hit return->up-arrow->return to
> get to the right jump spot rather than a direct jump).
>
> -- 
> "In the bathtub of history the truth is harder to hold than the soap,
> and much more difficult to find."  -- Terry Pratchett
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[-- Attachment #1.2: Type: text/html, Size: 2025 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: changes to return-follows-link
  2009-03-06 17:15 ` Carsten Dominik
@ 2009-03-09 16:34   ` Wes Hardaker
  0 siblings, 0 replies; 3+ messages in thread
From: Wes Hardaker @ 2009-03-09 16:34 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

>>>>> On Fri, 6 Mar 2009 18:15:25 +0100, Carsten Dominik <dominik@science.uva.nl> said:

CD> RET in the agenda is supposed to go to the location that triggered
CD> the entry, in your case the scheduling time stamp.  I did not even
CD> know that it used to follow a link.

It did ;-)

CD> The direct command to follow a link from the agenda is `C-c C-o',
CD> `org-agenda-open-link'.

Ok, thanks.  I'll either switch to that or bind some other key to it.  Thanks!
-- 
"In the bathtub of history the truth is harder to hold than the soap,
 and much more difficult to find."  -- Terry Pratchett

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

end of thread, other threads:[~2009-03-09 16:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-06 14:32 changes to return-follows-link Wes Hardaker
2009-03-06 17:15 ` Carsten Dominik
2009-03-09 16:34   ` Wes Hardaker

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