Gnus development mailing list
 help / color / mirror / Atom feed
From: Steinar Bang <sb@dod.no>
Subject: Re: Connecting to cyrus using nnimap-stream type shell
Date: Tue, 25 Jun 2002 14:41:31 +0200	[thread overview]
Message-ID: <87sn3b8r9g.fsf@home.lan> (raw)
In-Reply-To: <iluofdzwx33.fsf@extundo.com>

>>>>> Simon Josefsson <jas@extundo.com>:

>> Steinar Bang <sb@dod.no> writes:
>> imap.el:
>>     (if done
>> 	(progn
>> 	  (message "imap: Opening IMAP connection with `%s'...done" cmd)
>> 	  done)
>>       (message "imap: Opening IMAP connection with `%s'...failed" cmd)
>> =>     nil)))
>> (skips out of the function, I think)

> That means `done' was set to nil, no? 

No, I don't think so: it's the "done" line that is printed out.  And
"(if done" skips down to the first message.

The cursor stays on the last line for two presses of `n', before it
skips out of the function.

> It is set using 

> 	  (when (memq (process-status process) '(open run))
> 	    (setq done process)))))

> a few lines above, what did edebug say on that? 

I get
	Result: nil
in the minibuffer, at the end of the clause you listed.  But I don't
see how this means that done is nil, since the "(if done" picks the
"(progn" at the start.

What's left on the stack at the end of the above clause?  Is it the
result of the "when" or is it the result of the "setq".

Hmno... `C-h v done RET' gives me:
Value: #<process "imap" pid 20891 state:run>

> Did process have the correct value? 

I don't know.  Here's the value
Value: #<process "imap" pid 20891 state:run>

> Perhaps the process had died? 

Process 20891 (the ssh process) is still running, as far as I can
tell.  There's also a telnet process running on the imap server
machine. 

> Perhaps it was in some other state than open or run?  Which one?

It's in "run", I think.



  reply	other threads:[~2002-06-25 12:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-19 15:26 Steinar Bang
2002-04-19 15:35 ` Simon Josefsson
2002-04-22  9:29   ` Steinar Bang
2002-04-22 10:52     ` Simon Josefsson
2002-06-25  5:57       ` Steinar Bang
2002-06-25  9:01         ` Simon Josefsson
2002-06-25 12:41           ` Steinar Bang [this message]
2002-06-28 12:35             ` Steinar Bang

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=87sn3b8r9g.fsf@home.lan \
    --to=sb@dod.no \
    /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).