Subject: bug#42131: Cannot split to IMAP folders

From: David Greene <[email-masked]>
Date: Mon, 14 Sep 2020 14:22:39 -0500

Lars Ingebrigtsen <[email-masked]> writes:

> Ah, that's where it's coming from.  `B q' is this:
>
> (defun gnus-summary-respool-query (&optional silent trace)
>
> [...]
>
> 		 ;; nnimap has its own splitting variables.
> 		 (let ((nnmail-split-methods
> 			(cond
> 			 ((eq nnimap-split-methods 'default)
> 			  nnmail-split-methods)
> 			 (nnimap-split-methods
> 			  nnimap-split-methods)
> 			 (nnimap-split-fancy
> 			  'nnmail-split-fancy)))
> 		       (nnmail-split-fancy (or nnimap-split-fancy
> 					       nnmail-split-fancy)))
>
>
> So I'm guessing your fallback nil means that the machinery is falling
> back on the fallback group "mail.misc" for fancy mail splitting...
> Hm...  but that should be shadowed here.  But I think we're on the trail
> of the bug now.

That still doesn't explain why "B q" reports the correct group but "B r"
goes to mail.misc.  Do they not use the same selection logic?

Also, since I am apparently not "splitting" using those commands, how
would I actually test splitting?

                   -David