From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59474 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: dummy line marked E breaks imap Date: Wed, 22 Dec 2004 20:11:50 +0100 Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1103742842 12002 80.91.229.6 (22 Dec 2004 19:14:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Dec 2004 19:14:02 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M8014@lists.math.uh.edu Wed Dec 22 20:13:47 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ChBvf-0003MD-00 for ; Wed, 22 Dec 2004 20:13:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1ChBuN-0001qr-00; Wed, 22 Dec 2004 13:12:27 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1ChBuI-0001qm-00 for ding@lists.math.uh.edu; Wed, 22 Dec 2004 13:12:22 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1ChBuC-0008SF-Vb for ding@lists.math.uh.edu; Wed, 22 Dec 2004 13:12:17 -0600 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ChBuB-0005lN-00 for ; Wed, 22 Dec 2004 20:12:15 +0100 Original-Received: from latte.josefsson.org (c494102a.s-bi.bostream.se [217.215.27.65]) (authenticated bits=0) by yxa.extundo.com (8.13.1/8.13.1/Debian-18) with ESMTP id iBMJBw10029703 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=OK); Wed, 22 Dec 2004 20:11:59 +0100 Original-To: Wes Hardaker OpenPGP: id=0xB565716F; url=http://josefsson.org/key.txt X-Hashcash: 1:23:041222:ding@gnus.org::09Gl0VOR/4MyipLs:00008ra8 X-Hashcash: 1:23:041222:wes@hardakers.net::2lEuVaZA+3S0Ftlc:00000000000000000000000000000000000000000000HrCg In-Reply-To: (Wes Hardaker's message of "Wed, 22 Dec 2004 10:25:19 -0800") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) X-Virus-Scanned: ClamAV 0.80/618/Mon Dec 6 00:09:24 2004 clamav-milter version 0.80j on yxa.extundo.com X-Virus-Status: Clean Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: main.gmane.org gmane.emacs.gnus.general:59474 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59474 Wes Hardaker writes: > I occasionally accidentally mark a dummy line as expired. This is > obviously a bad thing to do, but gnus should die on it. The end > result is that when I try to exit that buffer next I get a internal > error from the imap syncing: > > imap-send-command-wait("UID STORE -33,33862:33866,33900,33903:33904,33928,34008,34013:34014,34621,34623,34628:34655,34660:34662,34671:34672,34681:34692,34694:34697,34701,34703:34704,34706,34710,34716:34719,34721:34723,34725:34734,34737,34739:34742,34745:34749,34753:34755,34759:34764,34766:34771,34775:34781,34786:34787,34789,34791:34797,34800:34908,34910:34914 +FLAGS (gnus-expire)") The problem is the negative UID, I think dummy lines are assigned negative article numbers. However, are backends really expected to handle negative article numbers? It appears as if there is a bug in Gnus in that it doesn't remove the negative article number before invoking the backend. If not, nnimap should probably just discard negative article numbers.