Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: nnimap splitting weirdness
Date: Mon, 10 Mar 2014 14:18:28 +0800	[thread overview]
Message-ID: <8761nmk24r.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <877g88m2b3.fsf@ericabrahamsen.net>

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> A month or so ago, all my nnimap splitting stopped working: everything
> suddenly was getting sent to the default "mail.misc" group. I only just
> got around to looking into what happened.

Gah, I still can't figure this out. Whatever changed changed in late
January, and I went through the git logs, reverting a couple of commits
and testing, and I can't find anything that seems to be responsible.

I wasn't able to advise setq to see what was re-setting
nnimap-split-fancy, because defadvice itself uses setqs, and that
created loops.

I tried using Malcolm's back-quote suggestion, but that doesn't seem to
work either. In my gnus.el I changed things to look like:

(require 'bbdb-gnus)
(setq my-nnimap-split-fancy `(|
			   ,@(bbdb/gnus-nnimap-folder-list-from-bbdb)
                           ; other splits
			   (: gnus-group-split-fancy nil t nil)
			   "INBOX"))

(setq gnus-secondary-select-methods
      `(
	(nnimap "one" 
		(nnimap-inbox "INBOX")
		(nnimap-split-methods nnmail-split-fancy)
		(nnimap-split-methods ,my-nnimap-split-fancy))
	(nnimap "two"
		(nnimap-inbox "INBOX")
		(nnimap-split-methods nnmail-split-fancy)
		(nnimap-split-methods ,my-nnimap-split-fancy))
	; more similar accounts
))

When I start gnus, first of all it hangs. I hit C-g to get out of the
hang and it starts up as normal. But still, nothing splits correctly,
everything still goes to the nnmail-split-fancy default of "mail.misc".

I don't know what to do!

E




  parent reply	other threads:[~2014-03-10  6:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-06  3:30 Eric Abrahamsen
2014-03-06  3:46 ` Malcolm Purvis
2014-03-08  8:59   ` Eric Abrahamsen
2014-03-08 11:26     ` Malcolm Purvis
2014-03-06 18:06 ` Andreas Schwab
2014-03-08  8:56   ` Eric Abrahamsen
2014-03-08 10:13     ` Eric Abrahamsen
2014-03-07 17:04 ` Lars Ingebrigtsen
2014-03-10  6:18 ` Eric Abrahamsen [this message]
2014-03-10 12:29   ` Malcolm Purvis
2014-03-20  4:54 ` Eric Abrahamsen

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=8761nmk24r.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=ding@gnus.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).