Gnus development mailing list
 help / color / mirror / Atom feed
From: Mats Lidell <Mats.Lidell@contactor.se>
Cc: Mats Lidell <Mats.Lidell@contactor.se>,
	Simon Josefsson <sj@extundo.com>,
	ding@gnus.org
Subject: Re: nnimap hangs on connect plus Garbage:
Date: 18 Feb 2001 12:15:53 +0100	[thread overview]
Message-ID: <m3vgq8utqu.fsf@c193.150.217.24.cm-upc.chello.se> (raw)
In-Reply-To: <vaf3ddpgsu1.fsf@lucy.cs.uni-dortmund.de> (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "08 Feb 2001 15:19:50 +0100")

>>>>> Kai wrote:

Kai> Hm.  Hmmm...  When you interrupt it, can you then go to point-min
Kai> and issue M-: (imap-parse-greeting) RET and does it correctly
Kai> parse the greeting?

Yes!

Kai> Maybe point-min is off due to narrowing?  You might want to print
Kai> the value of (point-min) in the "imap-network-open 3" message.

It seems that it is not looking-at the right buffer! I added a message
to imap-parse-greeting that writes the buffer name and to my surprise
it was " *nnimap <host>" the FIRST time. Forever after it is
looking-at the "*Group*" buffer.

So somehow the current buffer is changed from " *nnimap <host>* to
"*Group" during establishing the connection.

Kai> If your suggestion of the buffer containing the wrong stuff is
Kai> true, maybe it helps to say (redraw-display).  But I doubt this.

I was wrong. The contents is right. It is the buffer that is wrong.

I tried to force the right buffer by doing a set-buffer before calling
imap-parse-greeting. This makes the parsing right but I will then get
the error

        Signaling: (error "Buffer *Group* has no process")
          process-status(nil)
          imap-open-1(" *nnimap* <host>")
          ...

Wrong buffer again. Any ideas?

Yours
-- 
%% Mats




      reply	other threads:[~2001-02-18 11:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-01 23:49 Mats Lidell
2001-02-02  1:57 ` NAGY Andras
2001-02-05 22:05   ` Mats Lidell
2001-02-06 15:12     ` NAGY Andras
2001-02-02 11:05 ` Simon Josefsson
2001-02-05 22:10   ` Mats Lidell
2001-02-05 23:22     ` Simon Josefsson
2001-02-06  0:54       ` Mats Lidell
2001-02-08 14:19         ` Kai Großjohann
2001-02-18 11:15           ` Mats Lidell [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=m3vgq8utqu.fsf@c193.150.217.24.cm-upc.chello.se \
    --to=mats.lidell@contactor.se \
    --cc=ding@gnus.org \
    --cc=sj@extundo.com \
    /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).