From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58976 Path: main.gmane.org!not-for-mail From: "Ted Zlatanov" Newsgroups: gmane.emacs.gnus.general Subject: Re: possible imap.el bug Date: 25 Oct 2004 15:11:37 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Sender: ding-owner@lists.math.uh.edu Message-ID: <4nr7nmipee.fsf@bwh.harvard.edu> 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> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1098731640 21161 80.91.229.6 (25 Oct 2004 19:14:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Oct 2004 19:14:00 +0000 (UTC) Cc: "Ding Mailing List" Original-X-From: ding-owner+M7518@lists.math.uh.edu Mon Oct 25 21: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 1CMAHq-0002sw-00 for ; Mon, 25 Oct 2004 21:13:47 +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 1CMAFz-0005dV-00; Mon, 25 Oct 2004 14:11:51 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CMAFt-0005cz-00 for ding@lists.math.uh.edu; Mon, 25 Oct 2004 14:11:45 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CMAFq-0007Z3-7G for ding@lists.math.uh.edu; Mon, 25 Oct 2004 14:11:42 -0500 Original-Received: from mail.bwh.harvard.edu (sysblade0.bwh.harvard.edu [134.174.9.44]) by justine.libertine.org (Postfix) with ESMTP id 8F45B3A0079 for ; Mon, 25 Oct 2004 14:11:40 -0500 (CDT) Original-Received: (qmail 14435 invoked from network); 25 Oct 2004 19:01:36 -0000 Envelope-Sender: tzz@bwh.harvard.edu Envelope-Recipients: jas@extundo.com, ding@gnus.org, Original-Received: from asimov.bwh.harvard.edu (HELO asimov) (internal?.9?user:?tzz@[134.174.9.63]) (envelope-sender ) by mail.bwh.harvard.edu (qmail-ldap-1.03) with SMTP for ; 25 Oct 2004 19:01:35 -0000 Mail-Followup-To: "Simon Josefsson" , "Ding Mailing List " Original-To: "Simon Josefsson" X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" X-Hashcash: 1:10:041025:jas@extundo.com::9adc171f85cee8e9:2c X-Hashcash: 1:10:041025:ding@gnus.org::006aa083610e58ae:78 User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58976 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58976 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. Thanks for the help with debugging this! Ted