From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64869 Path: news.gmane.org!not-for-mail From: "Steven E. Harris" Newsgroups: gmane.emacs.gnus.general Subject: Re: New nnimap error with Gcc Date: Mon, 02 Jul 2007 20:22:32 -0700 Organization: SEH Labs Message-ID: <83wsxip3wi.fsf@torus.sehlabs.com> References: <83fy49tkep.fsf@torus.sehlabs.com> <87lkdy525s.fsf@mocca.josefsson.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1183433032 25216 80.91.229.12 (3 Jul 2007 03:23:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Jul 2007 03:23:52 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M13379@lists.math.uh.edu Tue Jul 03 05:23:51 2007 connect(): Connection refused 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 1I5YzW-0008L2-SX for ding-account@gmane.org; Tue, 03 Jul 2007 05:23:51 +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 1I5YyO-0000wd-8I; Mon, 02 Jul 2007 22:22:40 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1I5YyM-0000wS-WF for ding@lists.math.uh.edu; Mon, 02 Jul 2007 22:22:39 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1I5YyL-0007ZR-QL for ding@lists.math.uh.edu; Mon, 02 Jul 2007 22:22:38 -0500 Original-Received: from mail1.panix.com ([166.84.1.72]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1I5YyK-00080K-00 for ; Tue, 03 Jul 2007 05:22:36 +0200 Original-Received: from mailspool3.panix.com (mailspool3.panix.com [166.84.1.78]) by mail1.panix.com (Postfix) with ESMTP id 1C7E229413 for ; Mon, 2 Jul 2007 23:22:28 -0400 (EDT) Original-Received: from torus.sehlabs.com (ip68-101-195-55.sd.sd.cox.net [68.101.195.55]) by mailspool3.panix.com (Postfix) with ESMTP id E552016976 for ; Mon, 2 Jul 2007 23:22:27 -0400 (EDT) Original-Received: from seh by torus.sehlabs.com with local (Exim 4.66) (envelope-from ) id JKL2PP-000420-JJ for ding@gnus.org; Mon, 02 Jul 2007 20:22:37 -0700 Mail-Followup-To: ding@gnus.org User-Agent: Gnus/5.110007 (No Gnus v0.7) XEmacs/21.4.20 (cygwin32) X-Spam-Score: -2.5 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64869 Archived-At: Simon Josefsson writes: > For some reason, Gnus thinks the article number is nil instead of some > integer. I don't know why that happens. Edebuging some of the > functions named above might help. gnus-request-accept-article calls on nnimap-request-accept-article around line 620 in gnus-int.el. nnimap-request-accept-article returns nil, because its last form is a call to nnheader-report, which always returns nil. This returned nil is captured in the "result" binding in gnus-request-accept-article. The cdr of this nil value is then passed in to gnus-agent-regenerate-group, where the nil result gets bound to the optional "reread" argument. The nil value counts as a list on line 4071 in gnus-agent.el, so the nil is combined with 'del and '(read) and passed on to gnus-agent-synchronize-group-flags, where it's bound to the "actions" parameter. This "actions" list makes it down to nnimap-request-set-mark, which pulls apart each member into "range", "what", and "cmdmarks" around line 1245 in nnimap.el. Given the "actions" list of (((nil) del (read))) the car is ((nil) del (read)) of which (nth 0 *) yields (nil) for the "range" binding. Down on line 1271 in nnimap.el, we test "range" and find it non-nil, so we continue to try to pass it off to imap-range-to-message-set, which fails. I see a conflict here. There's an assumption that nnimap-request-accept-article won't return nil, but I don't see how it can return anything but nil, given that it returns with nnheader-report. Does any of this help? -- Steven E. Harris