From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60831 Path: news.gmane.org!not-for-mail From: Ramkumar R Newsgroups: gmane.emacs.gnus.general Subject: Re: Fwd: Patch for a bug in imap-open Date: Mon, 29 Aug 2005 12:50:09 +0530 Message-ID: <9a9bfc1705082900205eac33a0@mail.gmail.com> References: <9a9bfc1705082505035774a0e0@mail.gmail.com> <9a9bfc1705082613105b0a87f1@mail.gmail.com> <9a9bfc170508270705c0af282@mail.gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1125300106 7441 80.91.229.2 (29 Aug 2005 07:21:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 Aug 2005 07:21:46 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M9363=ding+2Daccount=gmane.org@lists.math.uh.edu Mon Aug 29 09:21:41 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E9dwL-0000Ci-B3 for ding-account@gmane.org; Mon, 29 Aug 2005 09:20:21 +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 1E9dwJ-0002ae-01 for ding-account@gmane.org; Mon, 29 Aug 2005 02:20:19 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1E9dwB-0002aV-00 for ding@lists.math.uh.edu; Mon, 29 Aug 2005 02:20:11 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1E9dwB-0003L3-3F for ding@lists.math.uh.edu; Mon, 29 Aug 2005 02:20:11 -0500 Original-Received: from zproxy.gmail.com ([64.233.162.195]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1E9dwA-0002TZ-00 for ; Mon, 29 Aug 2005 09:20:10 +0200 Original-Received: by zproxy.gmail.com with SMTP id x3so545466nzd for ; Mon, 29 Aug 2005 00:20:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cquPPrkzNEl5AG+BhCMT0Lbjvcsi8OiI2q8BJU+KC05jHhUInU/S1inSfWXqfbxX0bUTNX/+woGpRY0M3uNIVbyJ/0tNaJNTnXog/xwuQtUTnG82Bf8XYvgrl80vbs5Cyrkwp436bE4R81+3Y1w3Z5BHTmpbZK1dCG5u2n1dfeU= Original-Received: by 10.36.220.78 with SMTP id s78mr811683nzg; Mon, 29 Aug 2005 00:20:09 -0700 (PDT) Original-Received: by 10.36.71.3 with HTTP; Mon, 29 Aug 2005 00:20:08 -0700 (PDT) Original-To: Simon Josefsson In-Reply-To: Content-Disposition: inline X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60831 Archived-At: > I think we should go back to what your original problem was instead of > looking at possible solutions. I haven't understood what problem you > want to solve. This is my mail-sources: '((file) (imap :server "10.6.5.215" :user "ramk" :mailbox "mbox" :fetchflag "\\Seen"))) I get the following error: Mail source (imap :server 10.6.5.215 :user ramk :mailbox mbox :fetchflag \Seen) error (stringp). Continue? (yes or no) I trace the error to rename-buffer which should be taking a buffer name rather than a buffer. And that we are doing a kill buffer just before that. So, I modified imap.el as it is in the patch. Now, I get this error: Mail source (imap :server 10.6.5.215 :user ramk :mailbox mbox :fetchflag \Seen) error (Selecting deleted buffer). Continue? (yes or no) So, I realise that the caller has been trying to use `buf' with which imap-open was called, and `buf' was actually killed. What we have now is a different buffer with the same buffer name. So, I updated buf in the caller. Hope this clarifies. Ramkumar. --=20 We should have a great many fewer disputes in the world if words were taken for what they are, the signs of our ideas, and not for things themselves. -John Locke, philosopher (1632-1704)