[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnus-large-newsgroup?



> Though, I then kept hitting the prompt if I wanted more than the
> default 200 articles.  So I bumped up gnus-large-newsgroup to 1000.
> Opps, now I'm getting prompted again.  Not a biggie, but it gets a
> little old after a while.

(setq gnus-large-newsgroup nil)

This really ought to be documented.  I propose the patches below.

> So, I'm wondering if there's a way to tell gnus a maximum number of
> articles to download, then just do it when I select that group.
> Then, if I want more headers, perhaps just do something like

> C-u 10000 M-g

> Is this (currently) possible?

Yes.  From the 5.8.3 info:

<quote>
   The `gnus-large-newsgroup' variable says what Gnus should consider
to be a big group.  This is 200 by default.  If the group has more
(unread and/or ticked) articles than this, Gnus will query the user
before entering the group.  The user can then specify how many articles
should be fetched from the server.  If the user specifies a negative
number (`-n'), the `n' oldest articles will be fetched.  If it is
positive, the `n' articles that have arrived most recently will be
fetched.
</quote>

You can also do that by specifying a number before using RET or space
to enter a group.

--- /afs/rcf/user/dsg/gnus.el.orig	Wed Dec  8 10:24:39 1999
+++ /afs/rcf/user/dsg/gnus.el	Thu Dec  9 10:42:00 1999
@@ -1081,7 +1081,8 @@
 (defcustom gnus-large-newsgroup 200
   "*The number of articles which indicates a large newsgroup.
 If the number of articles in a newsgroup is greater than this value,
-confirmation is required for selecting the newsgroup."
+confirmation is required for selecting the newsgroup.  If this value is nil,
+the user will not be prompted."
   :group 'gnus-group-select
   :type 'integer)
 
--- /afs/rcf/user/dsg/gnus.texi.orig	Tue Dec  7 08:22:44 1999
+++ /afs/rcf/user/dsg/gnus.texi	Thu Dec  9 10:40:57 1999
@@ -1510,7 +1510,8 @@
 The @code{gnus-large-newsgroup} variable says what Gnus should consider
 to be a big group.  This is 200 by default.  If the group has more
 (unread and/or ticked) articles than this, Gnus will query the user
-before entering the group.  The user can then specify how many articles
+before entering the group.  If @code{gnus-large-newsgroup} is nil, the
+user will never be prompted.  The user can then specify how many articles
 should be fetched from the server.  If the user specifies a negative
 number (@code{-n}), the @code{n} oldest articles will be fetched.  If it
 is positive, the @code{n} articles that have arrived most recently will

-- 
Dave Goldberg
Post: The Mitre Corporation\MS B325\202 Burlington Rd.\Bedford, MA 01730
Phone: 781-271-3887
Email: dsg@mitre.org