Gnus development mailing list
 help / color / mirror / Atom feed
From: Richard Lewis <rtf=oiDTqYUezG/QT0dZR+AlfA@public.gmane.org>
Subject: Re: gnus-level-default-subscribed: documentation or behavior bug?
Date: Sat, 27 Sep 2003 21:17:36 +0100	[thread overview]
Message-ID: <87vfre6l5r.fsf@jabble.com> (raw)
In-Reply-To: <87y8wdamw5.fsf@raven.i.defaultvalue.org>

Rob Browning <rlb=A9c2TQsEEmz2Vlu8Lxc9IQ@public.gmane.org> writes:

> I'd hoped a while back to be able to have gnus-no-server show all my
> mail groups without having to manually assign levels.  When I noticed
> gnus-level-default subscribed, and read the docs to gnus-no-server, I
> thought I had a solution.  With regard to gnus-no-server ther docs
> say:
>
>   it will just activate all groups on level 1 and 2.  (You should
>   preferably keep no native groups on those two levels.)
>
> So I put (setq gnus-level-default-subscribed 2) in my .emacs, thinking
> that would do the trick, and forgot about it, not needing
> gnus-no-server right then...
>
> However, recently I've needed to use gnus-no-server, and when I call
> it it, none of my mail groups show up.  Looking at the code, this is
> because gnus-no-server calls gnus-no-server-1, which doesn't just
> activate groups in level 1 or 2 (as the docs indicate), but rather
> bases the levels on gnus-level-default-subscribed:
>
>   (defun gnus-no-server-1 (&optional arg slave)
>     ...
>     (let ((val (or arg (1- gnus-level-default-subscribed))))
>       (gnus val t slave)
>
> So am I right in presuming that the docs should probably mention the
> interaction with gnus-level-default-subscribed, and if so, then is
> there any other way to tell gnus to use a particular level as the
> default for all the groups from a particular backend (i.e. my nnml
> backend)?
>

One partial solution:
(setq gnus-level-default-subscribed 2)
(setq gnus-subscribe-newsgroup-method 'gnus-subscribe-topics)

And then have a "New" topic with things like

((subscribe . "^nntp")
 (subscribe-level . 3))

to put new nntp groups on level 3.

Alternatively use gnus-unplugged instead of gnus-no-server




      parent reply	other threads:[~2003-09-27 20:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-24 21:37 Rob Browning
2003-09-27  2:29 ` Jesper Harder
2003-09-27 22:32   ` Rob Browning
2003-09-27 20:17 ` Richard Lewis [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=87vfre6l5r.fsf@jabble.com \
    --to=rtf=oidtqyuezg/qt0dzr+alfa@public.gmane.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).