From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68733 Path: news.gmane.org!not-for-mail From: "=?UTF-8?Q?=E7=99=BD=E3=81=84=E7=86=8A?=" Newsgroups: gmane.emacs.gnus.general Subject: Re: Using cache to read IMAP mail offline, with proper deletion of Spam Date: Thu, 16 Jul 2009 10:20:22 +0200 Message-ID: <20090716081521.M93834@porzhiz.org> References: <87skgzlrki.fsf@ubuntu.byty-RDD> <871vohvs1u.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1247732484 3549 80.91.229.12 (16 Jul 2009 08:21:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Jul 2009 08:21:24 +0000 (UTC) Cc: Katsumi Yamaoka , Reiner Steib To: ding@gnus.org Original-X-From: ding-owner+M17157@lists.math.uh.edu Thu Jul 16 10:21:17 2009 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1MRMDM-0007GB-OL for ding-account@gmane.org; Thu, 16 Jul 2009 10:21:17 +0200 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 1MRMCd-0006xu-RT; Thu, 16 Jul 2009 03:20:31 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1MRMCc-0006xg-7p for ding@lists.math.uh.edu; Thu, 16 Jul 2009 03:20:30 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1MRMCb-00020I-25 for ding@lists.math.uh.edu; Thu, 16 Jul 2009 03:20:30 -0500 Original-Received: from manon.vellum.cz ([89.250.243.243]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1MRMD8-0003XN-00 for ; Thu, 16 Jul 2009 10:21:02 +0200 Original-Received: from webmail.vellum.cz (localhost.localdomain [127.0.0.1]) by manon.vellum.cz (8.14.3/8.14.3) with ESMTP id n6G8KMYO014264; Thu, 16 Jul 2009 10:20:22 +0200 In-Reply-To: <871vohvs1u.fsf@lifelogs.com> X-Mailer: OpenWebMail 2.53 X-OriginatingIP: 193.86.242.34 (shiroikuma) X-Spam-Status: No, score=-4.4 required=4.1 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on manon.vellum.cz X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68733 Archived-At: ---------- Original Message ----------- From: Ted Zlatanov Sent: Wed, 15 Jul 2009 11:18:05 -0500 > All right. I think, after looking at your original description, that > the Gnus cache (gnus-cache.el) is preventing the deletion. I need you > to remove the article from the cache (`M-*' is the default binding) > before the first deletion and after the first deletion in two separate > tests. That way we can find if the cache is holding on to the article > or just interfering with the deletion. Great: removing from cache before deletion - no effect, the problem persists; removing from cache after deletion - the mail is deleted from IMAP server, problem disappears; > Also, as a baseline, I need you to confirm that setting the gnus-cache > variable to 'passive or nil prevents the problem from ocurring. Indeed, setting (setq gnus-use-cache 'passive) the problem no longer persists, as of course the items don't enter the cache. So, at least temporarily as a fix, before it's debugged, this means redefining the `E' key in gnus group summary mode to first issue the operation associated with E and then remove the item from the cache. I can do this, but with intense effort, so if you can propose easily the .emacs code for this temp solution now, it'd be great. In the meantime, I'm ready to work on debugging it, so that the workaround isn't necessary. Later, ShiroiKuma