From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Re: Bug? org.el:org-open-at-point Date: Mon, 20 Sep 2010 22:08:58 +0200 Message-ID: <87d3s818kl.wl%dmaus@ictsoc.de> References: <87k4n0kskq.fsf@Rainer.invalid> <87aanwm5tf.wl%dmaus@ictsoc.de> <87fwxokowt.fsf@Rainer.invalid> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============1655567153==" Return-path: Received: from [140.186.70.92] (port=32967 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oxmfy-0005IB-Cx for emacs-orgmode@gnu.org; Mon, 20 Sep 2010 16:11:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oxmfm-00053K-Pk for emacs-orgmode@gnu.org; Mon, 20 Sep 2010 16:09:12 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:43391) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oxmfm-00052z-JR for emacs-orgmode@gnu.org; Mon, 20 Sep 2010 16:09:10 -0400 In-Reply-To: <87fwxokowt.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 --===============1655567153== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Mon_Sep_20_22:08:58_2010-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Mon_Sep_20_22:08:58_2010-1 Content-Type: text/plain; charset=US-ASCII Achim Gratz wrote: >David Maus writes: >> 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 tried news:gmane.emacs.orgmode (incomplete, I know), but any other >link with authority would produce the same result: GNUS tries to enter a >group with the literal path as specified in the link and gets stuck. >--------------- > 9:*nntp+news.gmane.org:gmane.emacs.orgmode > K *: //news.gmane.org/gmane.emacs.orgmode >--------------- >The correct path syntax suggested by GNUS to give to >gnus-group-jump-to-group is nntp+news.gmane.org:gmane.emacs.orgmode, but >that still doesn't open the Summary buffer and gives no further error >message. Browsing around in org-gnus.el suggests that news: links >should probably not go through that function in org-gnus.el since it >registers it's own gnus: handler just for that. 1/ Okay, I've pushed a change to master that adds two functions `org-wl-open-nntp' and `org-gnus-open-nntp' to open nntp: links with WL or Gnus, respectively. You have to register one of the functions as link handler, e.g. ,---- | (org-add-link-type "nntp" 'org-gnus-open-nntp) `---- nntp: links have the form: nntp://server/group[/article] Where SERVER is the nntp server, GROUP is the group, and ARTICLE is the article number. Limitations: Dunno how to supply login information in Gnus. Thus, opening a link like nntp://user@server/group will drop the "user" part and fall back to nntp://server/group. 2/ Support for news: links is a little bit tricky: They have the format news:[//server/][group|message-id] Where GROUP can contain wild-cards (meaning: List all groups that match) and MESSAGE-ID appears without a group (meaning: search for the message with this id on the server). And SERVER is optional. 3/ The next step would be to supersede the customization variable `org-gnus-prefer-weblinks' by `org-gnus-prefered-usenet-link-type' which can be one of: 'http -- create web link to gmane or google 'nntp -- create nntp: link Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Mon_Sep_20_22:08:58_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkyXv1oACgkQma24O1pEeOYe9QD8C9vEZrpYvl4Ke0thpU33y/rY Zdcc14MRFqNeuEeeDyUA/jqPZWJO2sC1bpCnt36m2dFEYmEg13kF908sXIcD/oTB =j3LW -----END PGP SIGNATURE----- --pgp-sign-Multipart_Mon_Sep_20_22:08:58_2010-1-- --===============1655567153== 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 --===============1655567153==--