From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/71629 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.gnus.general Subject: Re: Various nnimap problems Date: Fri, 24 Sep 2010 11:06:58 -0400 Message-ID: <87sk0z41v1.fsf@maru.md5i.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1285340862 13765 80.91.229.12 (24 Sep 2010 15:07:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 24 Sep 2010 15:07:42 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M20002@lists.math.uh.edu Fri Sep 24 17:07:39 2010 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.69) (envelope-from ) id 1Oz9sA-000113-OL for ding-account@gmane.org; Fri, 24 Sep 2010 17:07:39 +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 1Oz9s9-0005UK-87; Fri, 24 Sep 2010 10:07:37 -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 1Oz9s7-0005U6-NU for ding@lists.math.uh.edu; Fri, 24 Sep 2010 10:07:35 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Oz9s3-0005ym-Mt for ding@lists.math.uh.edu; Fri, 24 Sep 2010 10:07:35 -0500 Original-Received: from md5i.com ([75.151.244.229] helo=maru.md5i.com) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Oz9s2-0002G3-00 for ; Fri, 24 Sep 2010 17:07:31 +0200 Original-Received: from md5i by maru.md5i.com with local (Exim 4.72) (envelope-from ) id 1Oz9rW-0005eP-Ng for ding@gnus.org; Fri, 24 Sep 2010 11:06:58 -0400 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Wed, 22 Sep 2010 19:58:15 +0200") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:71629 Archived-At: --=-=-= Content-Type: text/plain Lars Magne Ingebrigtsen writes: > Michael Welsh Duggan writes: > >> *) On Exchange, I am seeing the 'junk split from nnmail-split-fancy not >> actually deleting the message. > > This is now implemented. Thank you. This seems to work for the most part. However, looking at the code, it looks like if the only items in the inbox are marked as 'junk, they are not deleted. This looks like a minor paren bug. One two few parens at then end of the (when sequences) clause in nnimap-split-incoming-mail, and one too many at the end. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/lisp/nnimap.el b/lisp/nnimap.el index 2d4f0de..42fe4d4 100644 --- a/lisp/nnimap.el +++ b/lisp/nnimap.el @@ -1154,8 +1154,8 @@ not done by default on servers that doesn't support that command.") ;; And then mark the successful copy actions as deleted, ;; and possibly expunge them. (nnimap-mark-and-expunge-incoming - (nnimap-parse-copied-articles sequences)) - (nnimap-mark-and-expunge-incoming junk-articles)))))))) + (nnimap-parse-copied-articles sequences))) + (nnimap-mark-and-expunge-incoming junk-articles))))))) (defun nnimap-mark-and-expunge-incoming (range) (when range --=-=-= Content-Type: text/plain -- Michael Welsh Duggan (md5i@md5i.com) --=-=-=--