GNU bug report logs - #42131
Cannot split to IMAP folders

Previous Next

Packages: emacs, gnus;

Reported by: david.greene <at> hpe.com (David A. Greene)

Date: Mon, 29 Jun 2020 20:40:01 UTC

Severity: normal

Found in version 5.13

To reply to this bug, email your comments to 42131 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#42131; Package emacs,gnus. (Mon, 29 Jun 2020 20:40:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to david.greene <at> hpe.com (David A. Greene):
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org. (Mon, 29 Jun 2020 20:40:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: david.greene <at> hpe.com (David A. Greene)
To: The Gnus Bugfixing Girls + Boys <submit <at> debbugs.gnu.org>
Subject: Cannot split to IMAP folders
Date: Mon, 29 Jun 2020 15:31:07 -0500
I am running a local dovecot instance to serve IMAP to gnus.  I have set
up splitting rules which `B q` shows work correctly:

  This message would go to home/school

However, `B r` results in:

  nnimap-request-accept-article: Writing to process: Bad file descriptor, *nnimap*

Dovecot shows this in the log:

  Jun 29 15:27:02 imap(dag)<14994><2s+d4T6pHsN/AAAB>: Debug: Mailbox work/INBOX: Mailbox opened because: SELECT
  Jun 29 15:27:02 imap(dag)<14994><2s+d4T6pHsN/AAAB>: Debug: Mailbox work/INBOX: Mailbox opened because: SELECT
  Jun 29 15:27:02 imap(dag)<14994><2s+d4T6pHsN/AAAB>: Debug: Mailbox work/INBOX: UID 2429: Opened mail because: full mail
  Jun 29 15:27:02 imap(dag)<14994><2s+d4T6pHsN/AAAB>: Debug: Mailbox mail.misc: Mailbox opened because: APPEND
  Jun 29 15:27:02 imap(dag)<14994><2s+d4T6pHsN/AAAB>: Info: Too many invalid IMAP commands. in=1444 out=626842 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=1 body_bytes=622647

I'm not sure where "mail.misc" is coming from.

I am successfully able to move messages (`B m`) to other folders.

  Moving to home/school: (1933)...

Any help would be greatly appreciated!

Gnus v5.13
GNU Emacs 26.2 (build 1, x86_64-apple-darwin18.2.0, NS appkit-1671.20 Version 10.14.3 (Build 18D109))
 of 2019-04-12




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#42131; Package emacs,gnus. (Tue, 07 Jul 2020 23:12:02 GMT) Full text and rfc822 format available.

Message #8 received at 42131 <at> debbugs.gnu.org (full text, mbox):

From: "Greene, David" <david.greene <at> hpe.com>
To: "42131 <at> debbugs.gnu.org" <42131 <at> debbugs.gnu.org>
Subject: Cannot split to IMAP folders
Date: Tue, 7 Jul 2020 19:52:28 +0000
[Message part 1 (text/plain, inline)]
Any ideas of what to try or additional information I can provide to aid debugging?

I’d really like to use gnus but this is preventing that.

David






[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#42131; Package emacs,gnus. (Tue, 07 Jul 2020 23:38:01 GMT) Full text and rfc822 format available.

Message #11 received at 42131 <at> debbugs.gnu.org (full text, mbox):

From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: "Greene, David" <david.greene <at> hpe.com>
Cc: "42131 <at> debbugs.gnu.org" <42131 <at> debbugs.gnu.org>
Subject: Re: bug#42131: Cannot split to IMAP folders
Date: Tue, 07 Jul 2020 16:37:23 -0700
"Greene, David" <david.greene <at> hpe.com> writes:

> Any ideas of what to try or additional information I can provide to aid debugging?
>
> I’d really like to use gnus but this is preventing that.

Maybe set `nnimap-log-command' to t, and also `nnmail-split-tracing' --
once you try splitting that should give you two buffers, "*imap-log" and
"*Split-Trace*", that might contain some more useful hints.

"mail.misc" is the default group to put split mail into, when none of
the user's split definitions match.

Eric




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#42131; Package emacs,gnus. (Thu, 20 Aug 2020 00:25:02 GMT) Full text and rfc822 format available.

Message #14 received at 42131 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Cc: "42131 <at> debbugs.gnu.org" <42131 <at> debbugs.gnu.org>, "Greene,
 David" <david.greene <at> hpe.com>
Subject: Re: bug#42131: Cannot split to IMAP folders
Date: Wed, 19 Aug 2020 17:23:50 -0700
tags 42131 + moreinfo
thanks

Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:

> "Greene, David" <david.greene <at> hpe.com> writes:
>
>> Any ideas of what to try or additional information I can provide to aid debugging?
>>
>> I’d really like to use gnus but this is preventing that.
>
> Maybe set `nnimap-log-command' to t, and also `nnmail-split-tracing' --
> once you try splitting that should give you two buffers, "*imap-log" and
> "*Split-Trace*", that might contain some more useful hints.
>
> "mail.misc" is the default group to put split mail into, when none of
> the user's split definitions match.

That was 6 weeks ago.

Did you find out anything more?

Best regards,
Stefan Kangas




Added tag(s) moreinfo. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Thu, 20 Aug 2020 00:25:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#42131; Package emacs,gnus. (Thu, 20 Aug 2020 17:39:02 GMT) Full text and rfc822 format available.

Message #19 received at 42131 <at> debbugs.gnu.org (full text, mbox):

From: "Greene, David" <dag <at> hpe.com>
To: Stefan Kangas <stefan <at> marxist.se>, Eric Abrahamsen
 <eric <at> ericabrahamsen.net>
Cc: "42131 <at> debbugs.gnu.org" <42131 <at> debbugs.gnu.org>
Subject: Re: bug#42131: Cannot split to IMAP folders
Date: Thu, 20 Aug 2020 16:50:37 +0000
I did this:

  ;; Turn on debugging
  (setq imap-log t)
  (setq nnimap-log-command t)
  (setq nnmail-split-tracing t)

But after a 'B r' I see no *imap-log* or *Split-Trace* buffers.

David

On 8/19/20, 7:23 PM, "Stefan Kangas" <stefan <at> marxist.se> wrote:

    tags 42131 + moreinfo
    thanks
    
    Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:
    
    > "Greene, David" <david.greene <at> hpe.com> writes:
    >
    >> Any ideas of what to try or additional information I can provide to aid debugging?
    >>
    >> I’d really like to use gnus but this is preventing that.
    >
    > Maybe set `nnimap-log-command' to t, and also `nnmail-split-tracing' --
    > once you try splitting that should give you two buffers, "*imap-log" and
    > "*Split-Trace*", that might contain some more useful hints.
    >
    > "mail.misc" is the default group to put split mail into, when none of
    > the user's split definitions match.
    
    That was 6 weeks ago.
    
    Did you find out anything more?
    
    Best regards,
    Stefan Kangas
    


Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#42131; Package emacs,gnus. (Thu, 20 Aug 2020 17:59:02 GMT) Full text and rfc822 format available.

Message #22 received at 42131 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Greene, David" <dag <at> hpe.com>
Cc: Eric Abrahamsen <eric <at> ericabrahamsen.net>,
 "42131 <at> debbugs.gnu.org" <42131 <at> debbugs.gnu.org>,
 Stefan Kangas <stefan <at> marxist.se>
Subject: Re: bug#42131: Cannot split to IMAP folders
Date: Thu, 20 Aug 2020 19:57:55 +0200
"Greene, David" <dag <at> hpe.com> writes:

> I did this:
>
>   ;; Turn on debugging
>   (setq imap-log t)
>   (setq nnimap-log-command t)
>   (setq nnmail-split-tracing t)

That should be

(setq nnimap-record-commands t)
(setq nnmail-debug-splitting t)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#42131; Package emacs,gnus. (Thu, 20 Aug 2020 18:02:02 GMT) Full text and rfc822 format available.

Message #25 received at 42131 <at> debbugs.gnu.org (full text, mbox):

From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: "42131 <at> debbugs.gnu.org" <42131 <at> debbugs.gnu.org>, "Greene,
 David" <dag <at> hpe.com>, Stefan Kangas <stefan <at> marxist.se>
Subject: Re: bug#42131: Cannot split to IMAP folders
Date: Thu, 20 Aug 2020 11:00:55 -0700
On 08/20/20 19:57 PM, Lars Ingebrigtsen wrote:
> "Greene, David" <dag <at> hpe.com> writes:
>
>> I did this:
>>
>>   ;; Turn on debugging
>>   (setq imap-log t)
>>   (setq nnimap-log-command t)
>>   (setq nnmail-split-tracing t)
>
> That should be
>
> (setq nnimap-record-commands t)
> (setq nnmail-debug-splitting t)

Oops, sorry!




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#42131; Package emacs,gnus. (Fri, 21 Aug 2020 15:06:02 GMT) Full text and rfc822 format available.

Message #28 received at 42131 <at> debbugs.gnu.org (full text, mbox):

From: David Greene <dag <at> hpe.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Eric Abrahamsen <eric <at> ericabrahamsen.net>,
 "42131 <at> debbugs.gnu.org" <42131 <at> debbugs.gnu.org>,
 Stefan Kangas <stefan <at> marxist.se>
Subject: Re: bug#42131: Cannot split to IMAP folders
Date: Fri, 21 Aug 2020 10:05:29 -0500
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> "Greene, David" <dag <at> hpe.com> writes:
>
>> I did this:
>>
>>   ;; Turn on debugging
>>   (setq imap-log t)
>>   (setq nnimap-log-command t)
>>   (setq nnmail-split-tracing t)
>
> That should be
>
> (setq nnimap-record-commands t)
> (setq nnmail-debug-splitting t)

Thank you!  With this *imapo-log* shows:

10:01:57 [localhost] 529 CAPABILITY
10:01:57 [localhost] 530 ENABLE QRESYNC
10:01:57 [localhost] 531 SELECT "hpe/INBOX"
10:01:58 [localhost] 532 SELECT "hpe/INBOX"
10:01:58 [localhost] 533 UID FETCH 1427,2429,3664,3858,3954,10448,10545,10560,10972:10973,11224,11291,11731,11952,12758,13114,13405,13529,13863,13876,14954,15096,15202,15307,15312,15664,15791,15890,15913,16062,16161,16235,16778,16988,17395,18205,20358,20458,20461:20462,20465,20609,21073,21124:21125,21128,21186,21196,21362,21799,21982,22013,22120,22208,23347,24041,24113:24115,24281,24335,24420,24424:24425,24878,25123,25200,27074,27473:27474,27579,27597,27683,27694,27697,27776,27784,27787:27794 (UID RFC822.SIZE BODYSTRUCTURE BODY.PEEK[HEADER.FIELDS (Subject From Date Message-Id References In-Reply-To Xref To Newsgroups Cc)])
10:02:04 [localhost] 534 SELECT "hpe/INBOX"
10:02:04 [localhost] 535 UID STORE 2429 -FLAGS.SILENT (\Flagged \Answered gnus-expire gnus-dormant gnus-score gnus-save gnus-download gnus-forward)
10:02:04 [localhost] 536 SELECT "hpe/INBOX"
10:02:04 [localhost] 537 UID FETCH 2429 BODY.PEEK[]
10:02:04 [localhost] 538 APPEND "mail.misc" {622647}

mail.misc is suspicious because B q says the message should go to a
different folder, on that exists.  There is no mail.misc IMAP folder so
maybe that's why I'm having trouble.

I still don't see a *Split-Trace* buffer.

David




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#42131; Package emacs,gnus. (Sat, 22 Aug 2020 13:32:02 GMT) Full text and rfc822 format available.

Message #31 received at 42131 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: David Greene <dag <at> hpe.com>
Cc: Eric Abrahamsen <eric <at> ericabrahamsen.net>,
 "42131 <at> debbugs.gnu.org" <42131 <at> debbugs.gnu.org>,
 Stefan Kangas <stefan <at> marxist.se>
Subject: Re: bug#42131: Cannot split to IMAP folders
Date: Sat, 22 Aug 2020 15:31:24 +0200
David Greene <dag <at> hpe.com> writes:

> Thank you!  With this *imapo-log* shows:

[...]

> 10:02:04 [localhost] 536 SELECT "hpe/INBOX"
> 10:02:04 [localhost] 537 UID FETCH 2429 BODY.PEEK[]
> 10:02:04 [localhost] 538 APPEND "mail.misc" {622647}
>
> mail.misc is suspicious because B q says the message should go to a
> different folder, on that exists.  There is no mail.misc IMAP folder so
> maybe that's why I'm having trouble.

Hm.  Odd.

> I still don't see a *Split-Trace* buffer.

Your IMAP log didn't really look much like a typical splitting session
at all -- was this after tapping `g' in the group buffer?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#42131; Package emacs,gnus. (Mon, 24 Aug 2020 13:56:02 GMT) Full text and rfc822 format available.

Message #34 received at 42131 <at> debbugs.gnu.org (full text, mbox):

From: David Greene <dag <at> hpe.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Eric Abrahamsen <eric <at> ericabrahamsen.net>,
 "42131 <at> debbugs.gnu.org" <42131 <at> debbugs.gnu.org>,
 Stefan Kangas <stefan <at> marxist.se>
Subject: Re: bug#42131: Cannot split to IMAP folders
Date: Mon, 24 Aug 2020 08:54:52 -0500
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

>> I still don't see a *Split-Trace* buffer.
>
> Your IMAP log didn't really look much like a typical splitting session
> at all -- was this after tapping `g' in the group buffer?

I typed B r with the point on the article in the Summary buffer and
selected nnimap as the split method.

Is there some other way I should test it?

David




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#42131; Package emacs,gnus. (Fri, 04 Sep 2020 02:36:02 GMT) Full text and rfc822 format available.

Message #37 received at 42131 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: David Greene <dag <at> hpe.com>
Cc: Eric Abrahamsen <eric <at> ericabrahamsen.net>,
 "42131 <at> debbugs.gnu.org" <42131 <at> debbugs.gnu.org>,
 Stefan Kangas <stefan <at> marxist.se>
Subject: Re: bug#42131: Cannot split to IMAP folders
Date: Fri, 04 Sep 2020 04:35:01 +0200
David Greene <dag <at> hpe.com> writes:

> Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>
>>> I still don't see a *Split-Trace* buffer.
>>
>> Your IMAP log didn't really look much like a typical splitting session
>> at all -- was this after tapping `g' in the group buffer?
>
> I typed B r with the point on the article in the Summary buffer and
> selected nnimap as the split method.

Sorry, I forgot that we were talking about respooling, not splitting --
there's no split-trace buffer when doing respooling.

Anyway, this was the bug:

> 10:02:04 [localhost] 538 APPEND "mail.misc" {622647}
>
> mail.misc is suspicious because B q says the message should go to a
> different folder, on that exists.  There is no mail.misc IMAP folder so
> maybe that's why I'm having trouble.

Do you have any idea where mail.misc may be coming from?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#42131; Package emacs,gnus. (Tue, 08 Sep 2020 16:22:01 GMT) Full text and rfc822 format available.

Message #40 received at 42131 <at> debbugs.gnu.org (full text, mbox):

From: David Greene <dag <at> hpe.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Eric Abrahamsen <eric <at> ericabrahamsen.net>,
 "42131 <at> debbugs.gnu.org" <42131 <at> debbugs.gnu.org>,
 Stefan Kangas <stefan <at> marxist.se>
Subject: Re: bug#42131: Cannot split to IMAP folders
Date: Tue, 08 Sep 2020 11:20:59 -0500
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>> I typed B r with the point on the article in the Summary buffer and
>> selected nnimap as the split method.
>
> Sorry, I forgot that we were talking about respooling, not splitting --
> there's no split-trace buffer when doing respooling.

I didn't know there was a distinction.  Is there a way to manually
"split" a message like with respooling?

> Anyway, this was the bug:
>
>> 10:02:04 [localhost] 538 APPEND "mail.misc" {622647}
>>
>> mail.misc is suspicious because B q says the message should go to a
>> different folder, on that exists.  There is no mail.misc IMAP folder so
>> maybe that's why I'm having trouble.
>
> Do you have any idea where mail.misc may be coming from?

I don't.  The only instance of that string that I found in my config is
in a commented line.

               -David




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#42131; Package emacs,gnus. (Tue, 08 Sep 2020 20:32:02 GMT) Full text and rfc822 format available.

Message #43 received at 42131 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: David Greene <dag <at> hpe.com>
Cc: Eric Abrahamsen <eric <at> ericabrahamsen.net>,
 "42131 <at> debbugs.gnu.org" <42131 <at> debbugs.gnu.org>,
 Stefan Kangas <stefan <at> marxist.se>
Subject: Re: bug#42131: Cannot split to IMAP folders
Date: Tue, 08 Sep 2020 22:31:16 +0200
David Greene <dag <at> hpe.com> writes:

>> Do you have any idea where mail.misc may be coming from?
>
> I don't.  The only instance of that string that I found in my config is
> in a commented line.

I just noticed:

(defvar gnus-group-split-default-catch-all-group "mail.misc"
  "Group name (or arbitrary fancy split) with default splitting rules.
Used by `gnus-group-split' and `gnus-group-split-update' as a fallback
split, in case none of the group-based splits matches.")

Hm, no, it's not used by these commands, 

Then there's:

(defcustom nnmail-split-fancy "mail.misc"
  "Incoming mail can be split according to this fancy variable.

But you had a different value here?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#42131; Package emacs,gnus. (Wed, 09 Sep 2020 07:03:02 GMT) Full text and rfc822 format available.

Message #46 received at 42131 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Eric Abrahamsen <eric <at> ericabrahamsen.net>,
 "42131 <at> debbugs.gnu.org" <42131 <at> debbugs.gnu.org>, David Greene <dag <at> hpe.com>,
 Stefan Kangas <stefan <at> marxist.se>
Subject: Re: bug#42131: Cannot split to IMAP folders
Date: Wed, 09 Sep 2020 09:02:24 +0200
On Sep 08 2020, Lars Ingebrigtsen wrote:

> Then there's:
>
> (defcustom nnmail-split-fancy "mail.misc"
>   "Incoming mail can be split according to this fancy variable.

That is only used by fancy splitting, ie if nnmail-split-methods is set
to 'nnmail-split-fancy.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#42131; Package emacs,gnus. (Wed, 09 Sep 2020 20:48:01 GMT) Full text and rfc822 format available.

Message #49 received at 42131 <at> debbugs.gnu.org (full text, mbox):

From: David Greene <dag <at> hpe.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Eric Abrahamsen <eric <at> ericabrahamsen.net>,
 "42131 <at> debbugs.gnu.org" <42131 <at> debbugs.gnu.org>,
 Stefan Kangas <stefan <at> marxist.se>
Subject: Re: bug#42131: Cannot split to IMAP folders
Date: Wed, 09 Sep 2020 15:47:30 -0500
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

>>> Do you have any idea where mail.misc may be coming from?
>>
>> I don't.  The only instance of that string that I found in my config is
>> in a commented line.
>
> I just noticed:
>
> (defvar gnus-group-split-default-catch-all-group "mail.misc"
>   "Group name (or arbitrary fancy split) with default splitting rules.
> Used by `gnus-group-split' and `gnus-group-split-update' as a fallback
> split, in case none of the group-based splits matches.")
>
> Hm, no, it's not used by these commands, 

Which commands?

> Then there's:
>
> (defcustom nnmail-split-fancy "mail.misc"
>   "Incoming mail can be split according to this fancy variable.
>
> But you had a different value here?

No, I didn't set nnmail-split-fancy, but I did set nnimap-split-fancy
and also nnimap-split-methods = nnimap-split-fancy.

I set them via gnu-select-method:

  (setq gnus-select-method '(nnimap "Local"
                                    (nnimap-address "localhost")
                                    (nnimap-authenticator login)
                                    (nnimap-stream network)
                                    (nnimap-inbox '("work/INBOX" "home/INBOX" "gmail/INBOX"))
                                    (nnimap-split-fancy
                                     (|
                                      ("Subject:" "Nightly.*test results" "work/testing")
                                      (from "myschool.org" "home/school")
                                      ;; Really leave it where it is?
                                      (nil)
                                      ))
                                    (nnimap-split-methods nnimap-split-fancy)




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#42131; Package emacs,gnus. (Fri, 11 Sep 2020 11:36:01 GMT) Full text and rfc822 format available.

Message #52 received at 42131 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: David Greene <dag <at> hpe.com>
Cc: Eric Abrahamsen <eric <at> ericabrahamsen.net>,
 "42131 <at> debbugs.gnu.org" <42131 <at> debbugs.gnu.org>,
 Stefan Kangas <stefan <at> marxist.se>
Subject: Re: bug#42131: Cannot split to IMAP folders
Date: Fri, 11 Sep 2020 13:34:47 +0200
David Greene <dag <at> hpe.com> writes:

>> Hm, no, it's not used by these commands, 
>
> Which commands?

We were discussing `B q' and `B r', I think?

> No, I didn't set nnmail-split-fancy, but I did set nnimap-split-fancy
> and also nnimap-split-methods = nnimap-split-fancy.
>
> I set them via gnu-select-method:
>
>   (setq gnus-select-method '(nnimap "Local"
>                                     (nnimap-address "localhost")
>                                     (nnimap-authenticator login)
>                                     (nnimap-stream network)
>                                     (nnimap-inbox '("work/INBOX" "home/INBOX" "gmail/INBOX"))
>                                     (nnimap-split-fancy
>                                      (|
>                                       ("Subject:" "Nightly.*test results" "work/testing")
>                                       (from "myschool.org" "home/school")
>                                       ;; Really leave it where it is?
>                                       (nil)
>                                       ))
>                                     (nnimap-split-methods nnimap-split-fancy)

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.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#42131; Package emacs,gnus. (Mon, 14 Sep 2020 19:24:02 GMT) Full text and rfc822 format available.

Message #55 received at 42131 <at> debbugs.gnu.org (full text, mbox):

From: David Greene <dag <at> hpe.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Eric Abrahamsen <eric <at> ericabrahamsen.net>,
 "42131 <at> debbugs.gnu.org" <42131 <at> debbugs.gnu.org>,
 Stefan Kangas <stefan <at> marxist.se>
Subject: Re: bug#42131: Cannot split to IMAP folders
Date: Mon, 14 Sep 2020 14:22:39 -0500
Lars Ingebrigtsen <larsi <at> gnus.org> 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




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#42131; Package emacs,gnus. (Tue, 15 Sep 2020 12:26:02 GMT) Full text and rfc822 format available.

Message #58 received at 42131 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: David Greene <dag <at> hpe.com>
Cc: Eric Abrahamsen <eric <at> ericabrahamsen.net>,
 "42131 <at> debbugs.gnu.org" <42131 <at> debbugs.gnu.org>,
 Stefan Kangas <stefan <at> marxist.se>
Subject: Re: bug#42131: Cannot split to IMAP folders
Date: Tue, 15 Sep 2020 14:25:47 +0200
David Greene <dag <at> hpe.com> writes:

> 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?

They should, so that sounds like the bug.

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

Hitting `g' in the group buffer should split the email (unless you've
disabled INBOX splitting).

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Removed tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 22 Sep 2020 15:54:02 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 266 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.