Gnus development mailing list
 help / color / mirror / Atom feed
From: Ramkumar R <andyetitmoves@gmail.com>
Cc: ding@gnus.org
Subject: Re: Fwd: Patch for a bug in imap-open
Date: Mon, 29 Aug 2005 12:50:09 +0530	[thread overview]
Message-ID: <9a9bfc1705082900205eac33a0@mail.gmail.com> (raw)
In-Reply-To: <iluslwumnmh.fsf@latte.josefsson.org>

> 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.

-- 
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)



      reply	other threads:[~2005-08-29  7:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9a9bfc1705082505035774a0e0@mail.gmail.com>
     [not found] ` <m3pss2x8uo.fsf@quimbies.gnus.org>
2005-08-26 20:10   ` Ramkumar R
2005-08-27 13:15     ` Simon Josefsson
2005-08-27 14:05       ` Ramkumar R
2005-08-28  9:12         ` Simon Josefsson
2005-08-29  7:20           ` Ramkumar R [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9a9bfc1705082900205eac33a0@mail.gmail.com \
    --to=andyetitmoves@gmail.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).