From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58977 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: possible imap.el bug Date: Mon, 25 Oct 2004 21:29:17 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <4nwtxtf84q.fsf@lifelogs.com> <4nfz4gc99o.fsf@lifelogs.com> <4nzn2napoz.fsf@lifelogs.com> <4n7jpranuj.fsf@lifelogs.com> <4nsm8f956n.fsf@lifelogs.com> <4nsm8fcr00.fsf@bwh.harvard.edu> <4nvfd7ubzv.fsf@lifelogs.com> <4nr7nmipee.fsf@bwh.harvard.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1098732632 24257 80.91.229.6 (25 Oct 2004 19:30:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Oct 2004 19:30:32 +0000 (UTC) Original-X-From: ding-owner+M7519@lists.math.uh.edu Mon Oct 25 21:30:17 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 1CMAXo-0004Qc-00 for ; Mon, 25 Oct 2004 21:30:16 +0200 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 1CMAXS-0005kI-00; Mon, 25 Oct 2004 14:29:54 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CMAXK-0005jz-00 for ding@lists.math.uh.edu; Mon, 25 Oct 2004 14:29:46 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CMAXI-0007om-Ot for ding@lists.math.uh.edu; Mon, 25 Oct 2004 14:29:44 -0500 Original-Received: from yxa.extundo.com (178.230.13.217.in-addr.dgcsystems.net [217.13.230.178]) by justine.libertine.org (Postfix) with ESMTP id D62643A0079 for ; Mon, 25 Oct 2004 14:29:42 -0500 (CDT) 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-15) with ESMTP id i9PJTdl4023940 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=OK) for ; Mon, 25 Oct 2004 21:29:40 +0200 Original-To: "Ding Mailing List " X-Hashcash: 1:22:041025:ding@gnus.org::00bf13ae544676bf:2a6319 In-Reply-To: <4nr7nmipee.fsf@bwh.harvard.edu> (Ted Zlatanov's message of "25 Oct 2004 15:11:37 -0400") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) X-Virus-Scanned: clamd / ClamAV version 0.75-1, clamav-milter version 0.75c on yxa-iv X-Virus-Status: Clean Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58977 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58977 "Ted Zlatanov" writes: > On Sun, 24 Oct 2004, jas@extundo.com wrote: > >> Many functions in imap.el either take a buffer argument (and switch to >> that buffer), or assume it is in the correct buffer. You could try to >> track down where it is called, to see if the Gnus move code somehow >> end up using it from the wrong buffer. > > Simon, > > I think I found the problem, the nnimap server buffer alist cleanup in > close-server was just doing a delq to remove the server, which didn't > work because a) strings are not necessarily eq, and b) the list was an > association list so each element was never eq to the server name. Now > it iterates correctly, I think - I tested it for myself and it works > great, and it's in CVS. Only nnimap.el was changed. > > Let me know if there's problems. I wanted to commit ASAP because it's > an important bug fix. It should probably go into the 5.10 branch too, > if you approve of course. Please look and see what you think. I'm > cc-ing ding again in case anyone else has comments. It looks fine. I wonder why it hasn't been discovered before. Perhaps it actually will solve other hard-to-debug bug reports. Thanks.