From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74837 Path: news.gmane.org!not-for-mail From: david.goldberg6@verizon.net (Dave Goldberg) Newsgroups: gmane.emacs.gnus.general Subject: Re: gcc-mark-as-read sometimes broken on Exchange Date: Tue, 07 Dec 2010 13:15:53 -0500 Message-ID: <84oc8x8n52.fsf@davestoy.home> References: <84aakq4oh8.fsf@davestoy.home> <84d3pehbbt.fsf@davestoy.home> <84sjy9909t.fsf@davestoy.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1291745796 20496 80.91.229.12 (7 Dec 2010 18:16:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Dec 2010 18:16:36 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M23193@lists.math.uh.edu Tue Dec 07 19:16:32 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 1PQ25X-0001TE-Vn for ding-account@gmane.org; Tue, 07 Dec 2010 19:16:32 +0100 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 1PQ25T-0004yY-OS; Tue, 07 Dec 2010 12:16:27 -0600 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 1PQ25S-0004yN-Ku for ding@lists.math.uh.edu; Tue, 07 Dec 2010 12:16:26 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PQ25R-00036a-J3 for ding@lists.math.uh.edu; Tue, 07 Dec 2010 12:16:26 -0600 Original-Received: from vms173005pub.verizon.net ([206.46.173.5]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PQ25Q-00060k-00 for ; Tue, 07 Dec 2010 19:16:24 +0100 Original-Received: from davestoy.home.verizon.net ([unknown] [173.48.216.252]) by vms173005.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LD200FF0LE5T1H2@vms173005.mailsrvcs.net> for ding@gnus.org; Tue, 07 Dec 2010 12:15:42 -0600 (CST) X-Face: W!bie|rYVd43O:2CkHTb*~s5}Yzx30X<@6Tq_bnP56Hp!xX4sVl4tgYRirjRcke\wfY!JJ9 i?]VIUJicJzq2\!3%7$5R%wi!R[.]Va97q In-reply-to: <84sjy9909t.fsf@davestoy.home> (Dave Goldberg's message of "Tue, 07 Dec 2010 08:32:14 -0500") User-Agent: Gnus/5.110011 (No Gnus v0.11) XEmacs/21.4.22 (linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74837 Archived-At: >> Oh! I asked you to eval something, and you did. Tee hee. Never mind. >> But try evaling this: >> (nnimap-request-accept-article "INBOX" "cyrus") > This works properly with both cyrus and exchange. The return is a > cons of the folder name and resulting article number. No matter how > many times I run it, I never get nil. I'll try stepping through > gnus-inews-do-gcc and see if I can find the glitch. OK, it took a long time (especially since stepping through every gcc with edebug, and then figuring out which functions to edebug-defun) to actually hit the problem and again it only happens on occasion with the Exchange server, but after several dozen gcc's I finally hit the bug. The problem shows up around the bottom of nnimap-request-accept-article. After successfully appending the article into the group, we get to this code: (cons group (or (nnimap-find-uid-response "APPENDUID" (car result)) (nnimap-find-article-by-message-id group message-id))))))))) And both return nil. Unfortunately, I'm not sure which one is returning successfully when it does work because I wasn't stepping through nnimap-request-accept-article at the time. I'll keep stepping through everything but it seems that it takes several tries before I hit the bug, once I do I hit it all the time. On the plus side, I now know exactly which function to debug so I'll save a bit of time with further stepping. Thanks, -- Dave Goldberg david.goldberg6@verizon.net