From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Bug? org.el:org-open-at-point Date: Sun, 05 Sep 2010 19:57:32 +0200 Message-ID: <87aanwm5tf.wl%dmaus@ictsoc.de> References: <87k4n0kskq.fsf@Rainer.invalid> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============1343133044==" Return-path: Received: from [140.186.70.92] (port=33981 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OsJTL-0005SC-Ex for emacs-orgmode@gnu.org; Sun, 05 Sep 2010 13:57:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OsJTK-0006AK-2Y for emacs-orgmode@gnu.org; Sun, 05 Sep 2010 13:57:43 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:36012) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OsJTJ-0006A6-U5 for emacs-orgmode@gnu.org; Sun, 05 Sep 2010 13:57:42 -0400 In-Reply-To: <87k4n0kskq.fsf@Rainer.invalid> 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: Achim Gratz Cc: emacs-orgmode@gnu.org --===============1343133044== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Sun_Sep__5_19:57:32_2010-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Sun_Sep__5_19:57:32_2010-1 Content-Type: text/plain; charset=US-ASCII 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.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Sun_Sep__5_19:57:32_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkyD2gwACgkQma24O1pEeObk4QEAxUEkQpjTV3jRxySfS6jLGMqt zcY4yM+fw9zYdQ3qhcAA/jdDLIHuqS8p6IYNhN1Vo3KMcLgY0wvo2wDb24SPOp8J =Tkh7 -----END PGP SIGNATURE----- --pgp-sign-Multipart_Sun_Sep__5_19:57:32_2010-1-- --===============1343133044== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1343133044==--