Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Leo <sdl.web@gmail.com>
To: info-gnus-english@gnu.org
Subject: Re: Fetch an article from another package
Date: Thu, 12 Apr 2007 15:49:50 +0100	[thread overview]
Message-ID: <m2slb58x69.fsf@sl392.st-edmunds.cam.ac.uk> (raw)
In-Reply-To: <v9slbrhgf9.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Mon\, 26 Mar 2007 22\:56\:58 +0200")

Dear Reiner,

----- Reiner Steib (2007-03-26) wrote:-----

> 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")

Gnus-button-fetch-group looks quite convenient. What's the best way to
get current article's "url" so that it is ready to use by
gnus-button-fetch-group?

>> 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.


regards,
-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)

      reply	other threads:[~2007-04-12 14:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-25  9:25 Leo
2007-03-25 13:03 ` Reiner Steib
2007-03-26 18:28   ` Leo
2007-03-26 20:56     ` Reiner Steib
2007-04-12 14:49       ` Leo [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2slb58x69.fsf@sl392.st-edmunds.cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=info-gnus-english@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.
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 NNTP newsgroup(s).