info-gnus-english
[Top][All Lists]
Advanced

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

Re: group splitting and gnus-secondary-select-methods


From: Eric Abrahamsen
Subject: Re: group splitting and gnus-secondary-select-methods
Date: Fri, 11 Aug 2017 09:22:44 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Christoph Groth <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]