On Sun, Mar 25 2007, Leo wrote:

> Org¹ mode uses the following function to open a Gnus link. However,
> the downside it has when entering a large group is that Gnus will
> prompt for how many articles to read. I'd like this function to just
> get the article with minimal user interaction. It seems by changing
> (gnus-group-read-group 0 nil group) to (gnus-group-read-group 1 nil
> group) can solve this issue.
>
> I am wondering is this the recommended way? Any comments?
>
> ,----
> | (defun org-follow-gnus-link (&optional group article)
> |   "Follow a Gnus link to GROUP and ARTICLE."

I'd suggest to use the functions from `gnus-art.el' that handle
buttons like <nntp://news.gmane.org/gmane.emacs.gnus.user/8816> or
<nntp://news.gmane.org/gmane.emacs.gnus.user>:

At least in the trunk version of `gnus-button-fetch-group', you can eval
(gnus-button-fetch-group "nntp://news.gmane.org/gmane.emacs.gnus.user/8816";)
directly:

,----
| 2007-01-14  Reiner Steib  <[EMAIL PROTECTED]>
| [...]
|       * gnus-art.el [...]
|       (gnus-button-fetch-group): Extend for use in
|       `browse-url-browser-function'.
`----

`gnus-large-ephemeral-newsgroup' might also be useful.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to