From: David Maus <dmaus@ictsoc.de>
To: Achim Gratz <Stromeko@nexgo.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Bug? org.el:org-open-at-point
Date: Mon, 20 Sep 2010 22:08:58 +0200 [thread overview]
Message-ID: <87d3s818kl.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <87fwxokowt.fsf@Rainer.invalid>
[-- Attachment #1.1: Type: text/plain, Size: 2273 bytes --]
Achim Gratz wrote:
>David Maus <dmaus@ictsoc.de> 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
[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
next prev parent reply other threads:[~2010-09-20 20:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-05 17:28 Bug? org.el:org-open-at-point Achim Gratz
2010-09-05 17:57 ` David Maus
2010-09-05 18:48 ` Achim Gratz
2010-09-20 20:08 ` David Maus [this message]
2010-09-21 6:44 ` Achim Gratz
2010-09-22 7:28 ` David Maus
2010-09-22 16:44 ` Achim Gratz
2010-09-22 17:41 ` David Maus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d3s818kl.wl%dmaus@ictsoc.de \
--to=dmaus@ictsoc.de \
--cc=Stromeko@nexgo.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).