>>>>> Andrzej Adam Filip wrote:
> Is it possible to make  gnus-refer-article-method group dependent?
> How to do it?

> Specifics:
> I can access very good 'archive news server' of *only* 'news:pl.*'.

This may work, though I'm not sure:

(add-to-list
 'gnus-parameters
 '("\\`pl\\."
   (gnus-refer-article-method '(nntp "news"))))

Where "\\`pl\\." is a regular expression matching groups of which
the names begin with "pl." .  If the names begin with "news:pl."; ,
replace it with "\\`news:pl\\."; .  And '(nntp "news") is a select
method, that is similar to the one used for `gnus-select-method'.
So for you it may be something like the following:

(add-to-list
 'gnus-parameters
 '("\\`nntp\\+SERVER:pl\\."
   (gnus-refer-article-method
    '(nntp "SERVER"
           (nntp-address "news.server.example.com")
           (nntp-open-connection-function nntp-open-network-stream)))))

Don't forget to quote the method with the beginning "'" (because
the method form will be evaluated).

Why I'm not sure is that I have no belief the `refer-article'
command runs always in the summary buffer, that's the only place
in which `gnus-refer-article-method' has a per group value.
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to