From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84086 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: How to debug a new IMAP server type? Date: Thu, 30 Jan 2014 14:06:29 -0800 Message-ID: <87ppn9dt0a.fsf@building.gnus.org> References: <87zjnb8nqx.fsf@dod.no> <87ob392mus.fsf@dod.no> <87bnyumhyv.fsf@building.gnus.org> <87y51xrwzl.fsf@dod.no> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391119665 5212 80.91.229.3 (30 Jan 2014 22:07:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jan 2014 22:07:45 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32338@lists.math.uh.edu Thu Jan 30 23:07:53 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W8zm4-00063S-5H for ding-account@gmane.org; Thu, 30 Jan 2014 23:07:52 +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 1W8zlo-0004JN-7L; Thu, 30 Jan 2014 16:07:36 -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 1W8zlm-0004J8-T5 for ding@lists.math.uh.edu; Thu, 30 Jan 2014 16:07:34 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1W8zll-0006wI-AO for ding@lists.math.uh.edu; Thu, 30 Jan 2014 16:07:34 -0600 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1W8zlj-0001Rb-R3 for ding@gnus.org; Thu, 30 Jan 2014 23:07:31 +0100 Original-Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1W8zlW-0000xy-3O for ding@gnus.org; Thu, 30 Jan 2014 23:07:18 +0100 In-Reply-To: <87y51xrwzl.fsf@dod.no> (Steinar Bang's message of "Thu, 30 Jan 2014 22:16:46 +0100") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1W8zlW-0000xy-3O MailScanner-NULL-Check: 1391724438.5698@LMB8tN7HEIS3P2kzSZCmIg X-Spam-Status: No X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84086 Archived-At: Steinar Bang writes: > Then there is also the buffer " *nnimap localhost 1143 *nntpd**-398832" > with the following content: [...] > (in fact there seems to be a new such buffer, with an "-somenumber" > extension, created every time I enter the INBOX, or when I try to > display the single article. That's kinda odd, but it might be because the IMAP server i closing the connection all the time. > And they are never cleaned up as far as I can tell. The should be killed when you exit Gnus. >> Stepping trough `nnimap-transform-headers' might also help. > > It stepped through the while loop in the function once (which by now > isn't too surprising, there seems to be only one article seen by this > point in time). > > It does what it's supposed to do with the single article it has to work > with, and what's left at the end, is this: Could you post the output from the buffer before `nnimap-transform-headers' is called? > Is it the "* BYE" and the closing connection message that is confusing > the stuff that is trying to display the summary? Yes, that would be my guess. `nnimap-transform-headers' should clean up that stuff before delivering the data to Gnus. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/