From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#9243: 24.0.50; Gnus keeps seeing 101 unread spam Date: Fri, 06 Jan 2012 21:45:14 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1325904335 8864 80.91.229.12 (7 Jan 2012 02:45:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 7 Jan 2012 02:45:35 +0000 (UTC) Cc: 9243@debbugs.gnu.org To: Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 07 03:45:31 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RjMHh-0007J8-3s for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Jan 2012 03:45:29 +0100 Original-Received: from localhost ([::1]:37415 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjMHg-00034i-DY for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Jan 2012 21:45:28 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:50051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjMHc-00034d-Rs for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2012 21:45:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjMHb-0002r1-Pw for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2012 21:45:24 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39843) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjMHb-0002qv-Ih for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2012 21:45:23 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RjML8-0006SU-0T; Fri, 06 Jan 2012 21:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Sat, 07 Jan 2012 02:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9243 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: Original-Received: via spool by 9243-submit@debbugs.gnu.org id=B9243.132590454024819 (code B ref 9243); Sat, 07 Jan 2012 02:49:01 +0000 Original-Received: (at 9243) by debbugs.gnu.org; 7 Jan 2012 02:49:00 +0000 Original-Received: from localhost ([127.0.0.1]:48958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RjML5-0006SF-Lk for submit@debbugs.gnu.org; Fri, 06 Jan 2012 21:49:00 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:11351) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RjML1-0006S6-Ei for 9243@debbugs.gnu.org; Fri, 06 Jan 2012 21:48:57 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6wB09FxKkV/2dsb2JhbAA9Bqw+gQaBcgEBBAFWIwULCzQSFBgNJIgNthOIYYMwBIg5mlKEUg X-IronPort-AV: E=Sophos;i="4.71,472,1320642000"; d="scan'208";a="155603337" Original-Received: from 69-196-169-21.dsl.teksavvy.com (HELO ceviche.home) ([69.196.169.21]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 06 Jan 2012 21:45:15 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 972706610B; Fri, 6 Jan 2012 21:45:14 -0500 (EST) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sat, 07 Jan 2012 02:39:57 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Resent-Date: Fri, 06 Jan 2012 21:49:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:55460 Archived-At: >> - seen messages re-appearing as unseen (presumably because the imap >> connection died during the "group exit"). > That should probably be unrelated to the Agent, and won't be fixed > during this development cycle. AFAIK my use case is not completely unusual (typically connected via a NAT router to my university's IMAP server) and I see this problem more or less *every day*. So I really hope you can try to fix this soon. FWIW I never saw this problem with the old nnimap backend, so it's a (very serious if you ask me) regression w.r.t Emacs-23. And I think it is related to the agent, because the connection death would be handled differently without the agent: the connection would be re-established and the command re-tried, whereas with the new "connection death silently puts the agent in offline mode", the command just gets dropped on the floor. > To fix this properly, Gnus would have to maintain a transaction log > (on disk) and update the IMAP server in a "transactional" manner, > instead of (as it does now) just sending the data to the server on > Group exit. Emacs-23's experience seems to indicate there's a way to get much better behavior without going to such a transaction log. > Some IMAP servers are really, really slow at doing expunging on big > folders. They basically keep all the messages in one big file, and they > have to rewrite the entire file to delete a message, if I understand > correctly. That's probably what's going on (each folder is stored as a large single file). Can the expunging be done asynchronously? >> - not sure if it's related, but "B m" to move stuff from a group/folder >> to another takes *ages* (as in several minutes), and I think most of >> this time is spent in Gnus trying to update its idea of the content of >> the destination group (after the actual move took place). > Huh. Hm... Actually, can you try the `nnimap-expunge' setting for > this, too? I'll try it out for a while and will tell you if it gets better, Stefan