GNU bug report logs - #21892
nnimap and re-spooling

Previous Next

Packages: emacs, gnus;

Reported by: Andreas Politz <politza <at> hochschule-trier.de>

Date: Thu, 12 Nov 2015 20:59:01 UTC

Severity: normal

Tags: notabug

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21892 in the body.
You can then email your comments to 21892 AT debbugs.gnu.org in the normal way.

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

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


Report forwarded to bugs <at> gnus.org:
bug#21892; Package gnus. (Thu, 12 Nov 2015 20:59:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Politz <politza <at> hochschule-trier.de>:
New bug report received and forwarded. Copy sent to bugs <at> gnus.org. (Thu, 12 Nov 2015 20:59:02 GMT) Full text and rfc822 format available.

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

From: Andreas Politz <politza <at> hochschule-trier.de>
To: submit <at> debbugs.gnu.org (The Gnus Bugfixing Girls + Boys)
Subject: nnimap and re-spooling
Date: Thu, 12 Nov 2015 21:57:59 +0100
Hey,

I think there is something wrong with re-spooling articles in nnimap
groups.  I have setup splitting like this

(setq gnus-select-method
      '(nnimap "localhost"
	       (nnimap-stream shell)
	       (nnimap-shell-program "/usr/lib/dovecot/imap")
	       (nnimap-inbox "INBOX")
	       (nnimap-split-methods nnimap-split-fancy)
	       (nnimap-split-fancy
		(| ("subject" ".*\\[blah\\].*" "blah")))))

Now, hitting `B t' on a article with a matching subject tells me, it'll
go into the blah group. But actually doing the re-spooling via `B r' does
nothing, i.e. the article remains unmoved.  Looking at
`nnimap-request-accept-article', it seems that the nnimap-split-*
variables are pretty ignored.

-ap




Gnus v5.13
GNU Emacs 25.0.50.3 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.2)
 of 2015-11-11




Information forwarded to bugs <at> gnus.org:
bug#21892; Package gnus. (Thu, 26 Jan 2017 22:32:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Andreas Politz <politza <at> hochschule-trier.de>
Cc: 21892 <at> debbugs.gnu.org
Subject: Re: bug#21892: nnimap and re-spooling
Date: Thu, 26 Jan 2017 23:23:37 +0100
Andreas Politz <politza <at> hochschule-trier.de> writes:

> I think there is something wrong with re-spooling articles in nnimap
> groups.  I have setup splitting like this
>
> (setq gnus-select-method
>       '(nnimap "localhost"
> 	       (nnimap-stream shell)
> 	       (nnimap-shell-program "/usr/lib/dovecot/imap")
> 	       (nnimap-inbox "INBOX")
> 	       (nnimap-split-methods nnimap-split-fancy)
> 	       (nnimap-split-fancy
> 		(| ("subject" ".*\\[blah\\].*" "blah")))))
>
> Now, hitting `B t' on a article with a matching subject tells me, it'll
> go into the blah group. But actually doing the re-spooling via `B r' does
> nothing, i.e. the article remains unmoved.  Looking at
> `nnimap-request-accept-article', it seems that the nnimap-split-*
> variables are pretty ignored.

Yes, it consults nnmail-split-methods.  If you just set that and not
nnimap-split-methods things should work OK...

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




bug reassigned from package 'gnus' to 'emacs,gnus'. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 26 Jan 2017 22:32:03 GMT) Full text and rfc822 format available.

bug No longer marked as found in versions 5.13. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 26 Jan 2017 22:32:03 GMT) Full text and rfc822 format available.

Added tag(s) notabug. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 26 Jan 2017 22:32:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 21892 <at> debbugs.gnu.org and Andreas Politz <politza <at> hochschule-trier.de> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 26 Jan 2017 22:32:04 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#21892; Package emacs,gnus. (Thu, 26 Jan 2017 23:04:02 GMT) Full text and rfc822 format available.

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

From: Andreas Politz <politza <at> hochschule-trier.de>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 21892 <at> debbugs.gnu.org
Subject: Re: bug#21892: nnimap and re-spooling
Date: Fri, 27 Jan 2017 00:02:59 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Yes, it consults nnmail-split-methods.  If you just set that and not
> nnimap-split-methods things should work OK...

Except that in this case, the tracing function doesn't work anymore. But
setting all 4 variables (with pairwise equal values, i.e. nnmail-* =
nnimap-*) as server-variables works.

-ap




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#21892; Package emacs,gnus. (Thu, 26 Jan 2017 23:09:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Andreas Politz <politza <at> hochschule-trier.de>
Cc: 21892 <at> debbugs.gnu.org
Subject: Re: bug#21892: nnimap and re-spooling
Date: Fri, 27 Jan 2017 00:06:45 +0100
Andreas Politz <politza <at> hochschule-trier.de> writes:

> Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>
>> Yes, it consults nnmail-split-methods.  If you just set that and not
>> nnimap-split-methods things should work OK...
>
> Except that in this case, the tracing function doesn't work anymore. But
> setting all 4 variables (with pairwise equal values, i.e. nnmail-* =
> nnimap-*) as server-variables works.

I just have

nnimap-split-methods is a variable defined in nnimap.el.
Its value is nnmail-split-fancy

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 24 Feb 2017 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 112 days ago.

Previous Next


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