Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: info-gnus-english@gnu.org
Subject: Re: group splitting and gnus-secondary-select-methods
Date: Fri, 11 Aug 2017 09:22:44 -0700	[thread overview]
Message-ID: <87a836qdkb.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87tw1fca6a.fsf@grothesque.org>

Christoph Groth <christoph@grothesque.org> writes:

> Hi,
>
> I'm trying to setup group mail splitting in a setup where I receive
> mail through multiple IMAP accounts that are configured through
> gnus-secondary-select-methods.
>
> Simply setting gnus-secondary-select-methods in ~/.gnus, like with
> plain splitting, doesn't work, since at the time when ~/.gnus is
> executed (gnus-group-split-fancy) returns an empty split.
>
> In order to solve this problem, I have defined a function
> my-set-secondary-select-methods and add it to one or multiple
> appropriate hooks.  Is there a better alternative?
>
> If not, what hooks should I add my function to?  It seems to work with
>
> (add-hook 'gnus-read-newsrc-el-hook 'my-set-secondary-select-methods)
> (add-hook 'gnus-get-new-news-hook 'my-set-secondary-select-methods)

I'm not entirely sure what's going on with your setup, here, but I'm
pretty sure it should work without having to re-set your secondary
select methods in a hook.

Can you show us a simple config, setting gnus-secondary-select-methods
and the splitting rules in ~/.gnus? The setup that isn't working for
you?

Eric



  reply	other threads:[~2017-08-11 16:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-10 22:47 Christoph Groth
2017-08-11 16:22 ` Eric Abrahamsen [this message]
2017-08-11 18:34   ` Christoph Groth
2017-08-13  3:01     ` Eric Abrahamsen
2017-08-11 16:35 ` Emanuel Berg

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=87a836qdkb.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=info-gnus-english@gnu.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).