[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fetch an article from another package
From: |
Reiner Steib |
Subject: |
Re: Fetch an article from another package |
Date: |
Mon, 26 Mar 2007 22:56:58 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.96 (gnu/linux) |
On Mon, Mar 26 2007, Leo wrote:
> The link is of the format: gnus:gmane.emacs.gnus.user#8816
Well, that format is not at all standard.
> it is then parsed into two variables GROUP and ARTICLE and passed to
> org-follow-gnus-link.
>
> It seems gnus-button-fetch-group is not the right function for this
> task
It is:
(gnus-button-fetch-group "news.gmane.org/gmane.emacs.gnus.user/1853")
(gnus-button-fetch-group "nntp://news.gmane.org/gmane.emacs.gnus.user/1853")
> Let me rephrase the question, I now have group name and article number
> outside gnus, what's the best way to fetch that article?
A group name plus an article number only makes sense if also the
server is specified. Then, you can use `gnus-button-fetch-group' or
`browse-url':
(browse-url "nntp://news.gmane.org/gmane.emacs.gnus.user/8816")
,----[ <f1> v browse-url-browser-function RET ]
| browse-url-browser-function is a variable defined in `browse-url'.
| Its value is
| (("^mailto:" . browse-url-mail)
| ("^\\(news\\|nntp\\)://" . gnus-button-fetch-group)
| ("." . rs-browse-url-by-killing))
`----
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/