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.... dmj...@jabber.org Email..... dm...@ictsoc.de
pgpO1E4M7sOhR.pgp
Description: PGP signature
_______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode