From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85556 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Performance problem of imap move Date: Tue, 27 Jan 2015 11:46:11 +0800 Message-ID: <87oapkrim4.fsf@ericabrahamsen.net> References: <87oapn5ufg.fsf@building.gnus.org> <87vbjul0ch.fsf@building.gnus.org> <87siex213n.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422330004 32045 80.91.229.3 (27 Jan 2015 03:40:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2015 03:40:04 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33796@lists.math.uh.edu Tue Jan 27 04:40:04 2015 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YFx0U-0007nG-4J for ding-account@gmane.org; Tue, 27 Jan 2015 04:40:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1YFx0Q-0000QD-FO; Mon, 26 Jan 2015 21:39:58 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1YFx0P-0000Py-0t for ding@lists.math.uh.edu; Mon, 26 Jan 2015 21:39:57 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1YFx0L-0001wO-5z for ding@lists.math.uh.edu; Mon, 26 Jan 2015 21:39:56 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1YFx0J-0002Mc-O8 for ding@gnus.org; Tue, 27 Jan 2015 04:39:51 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YFx0G-0007b2-Sy for ding@gnus.org; Tue, 27 Jan 2015 04:39:50 +0100 Original-Received: from 221.218.165.215 ([221.218.165.215]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jan 2015 04:39:48 +0100 Original-Received: from eric by 221.218.165.215 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jan 2015 04:39:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 221.218.165.215 User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:vGx3noFMfLZyX2nwQGCOJPj4rjY= X-Spam-Score: 0.3 (/) X-Spam-Report: SpamAssassin (3.4.0 2014-02-07) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-11--651h-0s--0d--function, 0.000-9--526h-0s--0d--server, 0.000-7--383h-0s--0d--isnt, 0.000-7--379h-0s--0d--isn't, 0.000-5--268h-0s--0d--buffer Spam tokens: 0.994-1626--56h-846s--0d--HTo:D*gnus.org, 0.993-1691--70h-886s--0d--Hx-spam-relays-external:quimby.gnus.org, 0.993-1691--70h-886s--0d--H*RU:quimby.gnus.org, 0.992-1686--75h-886s--0d--Hx-spam-relays-internal:quimby.gnus.org, 0.992-1686--75h-886s--0d--H*RT:quimby.gnus.org Autolearn status: no autolearn_force=no -1.0 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [80.91.229.3 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 1.2 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 2.0 FSL_HELO_BARE_IP_2 No description available. List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85556 Archived-At: Tassilo Horn writes: > Lars Ingebrigtsen writes: > >>> This will have to be refactored a bit, and a new nnimap function will >>> have to be written, I think... >> >> I've now done this, so moving IMAP messages to large groups should be >> faster again. > > I don't know if that's a side-effect of this change but with today's > Gnus version I sometimes get group lines like > > 38289: nnimap+Server:some.group > > where actually there are no unread articles in the group. `M-g' on the > group or another `g' fixes the unread count again. > > I also don't have a reproducible recipe but it seems to happen > sporadically with random nnimap groups. Not sure what I did before. > Possibly, it happens when some.group is either my sent-mail or SPAM > group, and previously I've sent a new mail or exited some other group > where I've marked some messages as SPAM which are moved to my SPAM group > as a result... > > Bye, > Tassilo I see something like this (and have for a very long time, this isn't new) when moving messages between nnimap groups. When I open an imap group containing new messages, and decide that one of the (newly-received but now marked "read") messages belongs in a different group on the same server, I move it to that group, return to the *Group* buffer, and see that the group I moved the message to now has an (apparently random) unread count. Hitting "g" or actually entering the group makes the unread count go away -- the messages aren't actually marked as unread. Might be unrelated, though: as I said, it's done this (fairly reproducibly) for a long time.