emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Bug? org.el:org-open-at-point


From: David Maus
Subject: Re: [Orgmode] Bug? org.el:org-open-at-point
Date: Sun, 05 Sep 2010 19:57:32 +0200
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

Achim Gratz wrote:

>It seems like news: links are always sent to the browser and this
>definition is hiding a later invocation of GNUS:

Indeed, this is an inconsistency.  The right way would be for org-gnus
(and other mail readers, like org-wl) to register the link type.


>---------------
>        ((member type '("http" "https" "ftp" "news"))
>         (browse-url (concat type ":" (org-link-escape
>                                       path org-link-escape-chars-browser))))
>         ;;;
>         ;;; some more lines
>         ;;;
>        ((string= type "news")
>         (require 'org-gnus)
>         (org-gnus-follow-link path))
>---------------

>Additionally, if I take out "news" from the first bit of code and follow
>a news: link, the code that supposedly opens news links in GNUS doesn't
>seem to work on my system (gmane is a foreign server in GNUS here, but
>that doesn't seem to be the reason).

What syntax did you try?  IIRC `org-gnus-follow-link' expects a /Gnus/
link in path, but RFC5538 ("The 'news' and 'nntp' URI Schemes ")[1] has a
different definition that must be normalized to a org-gnus.link.

I'll see to provide a patch to org-gnus.el to handle news: and nntp:
links according to the specs.

Best,
  -- David

[1] http://tools.ietf.org/html/rfc5538
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... address@hidden
Email..... address@hidden

Attachment: pgpc5Wwd2Wyog.pgp
Description: PGP signature


reply via email to

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