Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Stefan Kamphausen <skampi@gmx.de>
Subject: Re: Topic-wise subscription of new newsgroups
Date: Tue, 08 Mar 2005 14:14:33 +0100	[thread overview]
Message-ID: <85br9uffeu.fsf@mail.bn-software.de> (raw)
In-Reply-To: <v9ekeqxrqr.fsf@marauder.physik.uni-ulm.de>

Hi,

Reiner Steib <reinersteib+from-uce@imap.cc> writes:

> On Tue, Mar 08 2005, Stefan Kamphausen wrote:
>
>>         (from ".* <?\\(.+\\)@office-address.example.*" "mail.office.\\1")
> [...]
>> However, whenever I receive an email of a new colleague (which has no
>> group associated) I can only see the new group when I do a
>> gnus-find-new-newsgroups manually.  But I'd like them so show up
>> immediately.  
>
> Did you try this suggestion from the manual?
>
> ,----[ (info "(gnus)Subscription Methods") ]
> | `gnus-subscribe-topics'
> |      Put the groups into the topic that has a matching `subscribe' topic
> |      parameter (*note Topic Parameters::).  For instance, a `subscribe'
> |      topic parameter that looks like
> | 
> |           "nnslashdot"
> | 
> |      will mean that all groups that match that regex will be subscribed
> |      under that topic.
> `----

Well, no (about half an hour ago) and yes (now).  I put

(setq gnus-subscribe-newsgroup-method 'gnus-subscribe-topics)

into my gnus-init-file and edited the topic parameters (using G c) so
that the edit window (G p) now shows the line

((subscribe . "nnmail"))

Unfortunately it still doesn't work.  A new group that had appeared
today was not showing up.  Only after M-x gnus-find-new-newsgroups it
did show up in the root-topic "Gnus".

It was a lucky coincidence that I had a new group to subscribe to
today for testing purposes.  I assume I could always test this by
first killing a group (S k) and then checking whether it shows up
again, right?

 > >
>> My preferred approach would be to use:
>> (setq gnus-parameters
>>       '(("^nnml.*"
>>          (gnus-show-threads nil)
>>          (gnus-check-new-newsgroups 'always))
>>        ))
>>
>> And while the first setting (gnus-show-threads) is working fine (which
>> tells me that the matcher works) the second does nothing.
>
> Finding and subscribing new newsgroups is done at startup or by using
> the function `gnus-find-new-newsgroup'.  I wouldn't expect that
> `gnus-check-new-newsgroups' makes any sense in context of specific
> groups or topics.

,----[ (info "(gnus)New Groups") ]
| If you are satisfied that you really never want to see any new groups,
| you can set `gnus-check-new-newsgroups' to `nil'.  This will also save
| you some time at startup.  Even if this variable is `nil', you can
| always subscribe to the new groups just by pressing `U' in the group
| buffer (*note Group Maintenance::).  This variable is `ask-server' by
| default.  If you set this variable to `always', then Gnus will query
| the back ends for new groups even when you do the `g' command (*note
| Scanning New Messages::).
`----

The behaviour described in the last sentence is what I'd like to
have. 

>>(how do you always add these nice boxes??) 
>
> Like the one above?
> [snip]
> See: http://theotp1.physik.uni-ulm.de/~ste/comp/emacs/misc/rs-info.el

Yes, thanks for the pointer.  It needs boxquote.el from davep.org
which I had to fetch, too.  Me happy now :-)

Thanks and Regards 
Stefan Kamphausen
-- 
Stefan Kamphausen --- http://www.skamphausen.de
a blessed +42 regexp of confusion (weapon in hand)
You hit. The format string crumbles and turns to dust.


  reply	other threads:[~2005-03-08 13:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-08  8:44 Stefan Kamphausen
2005-03-08 12:10 ` Reiner Steib
2005-03-08 13:14   ` Stefan Kamphausen [this message]
2005-03-08 14:19     ` Reiner Steib
2005-03-08 14:32       ` Stefan Kamphausen
2005-03-08 14:51 ` Tim McNamara
2005-03-08 15:19   ` Stefan Kamphausen
2005-03-08 21:35     ` Tim McNamara

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=85br9uffeu.fsf@mail.bn-software.de \
    --to=skampi@gmx.de \
    /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).