Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Christoph Groth <christoph@grothesque.org>
To: info-gnus-english@gnu.org
Subject: group splitting and gnus-secondary-select-methods
Date: Fri, 11 Aug 2017 00:47:25 +0200	[thread overview]
Message-ID: <87tw1fca6a.fsf@grothesque.org> (raw)

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)

Thanks for any hints,
Christoph


             reply	other threads:[~2017-08-10 22:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-10 22:47 Christoph Groth [this message]
2017-08-11 16:22 ` Eric Abrahamsen
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=87tw1fca6a.fsf@grothesque.org \
    --to=christoph@grothesque.org \
    --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).