From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: changes to return-follows-link Date: Fri, 6 Mar 2009 18:15:25 +0100 Message-ID: <8064B390-A14D-43D0-8308-EB832E80203F@uva.nl> References: Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: multipart/mixed; boundary="===============0161249181==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lfddw-0000co-Pi for emacs-orgmode@gnu.org; Fri, 06 Mar 2009 12:15:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lfddw-0000cJ-2q for emacs-orgmode@gnu.org; Fri, 06 Mar 2009 12:15:28 -0500 Received: from [199.232.76.173] (port=35674 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lfddv-0000cF-TU for emacs-orgmode@gnu.org; Fri, 06 Mar 2009 12:15:27 -0500 Received: from mail-ew0-f179.google.com ([209.85.219.179]:39973) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lfddv-0007EE-HI for emacs-orgmode@gnu.org; Fri, 06 Mar 2009 12:15:27 -0500 Received: by mail-ew0-f179.google.com with SMTP id 27so278120ewy.42 for ; Fri, 06 Mar 2009 09:15:27 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Wes Hardaker Cc: emacs-orgmode@gnu.org --===============0161249181== Content-Type: multipart/alternative; boundary=Apple-Mail-3-354488252 --Apple-Mail-3-354488252 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit 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 --Apple-Mail-3-354488252 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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


_______________________________________________
Em= acs-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
<= br>
= --Apple-Mail-3-354488252-- --===============0161249181== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0161249181==--