From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/45394 Path: main.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: Connecting to cyrus using nnimap-stream type shell Date: Tue, 25 Jun 2002 14:41:31 +0200 Organization: Probably a good idea Sender: owner-ding@hpc.uh.edu Message-ID: <87sn3b8r9g.fsf@home.lan> References: <87d6ufaojd.fsf@home.lan> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1025008951 17151 127.0.0.1 (25 Jun 2002 12:42:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 25 Jun 2002 12:42:31 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17MpeQ-0004SV-00 for ; Tue, 25 Jun 2002 14:42:31 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17Mpds-0001a2-00; Tue, 25 Jun 2002 07:41:56 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 25 Jun 2002 07:42:15 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id HAA23014 for ; Tue, 25 Jun 2002 07:42:03 -0500 (CDT) Original-Received: (qmail 28664 invoked by alias); 25 Jun 2002 12:41:38 -0000 Original-Received: (qmail 28658 invoked from network); 25 Jun 2002 12:41:38 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 25 Jun 2002 12:41:38 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 17Mpet-0000tZ-00 for ; Tue, 25 Jun 2002 14:42:59 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 53 Original-NNTP-Posting-Host: 195.1.63.32 Original-X-Trace: quimby.gnus.org 1025008979 3444 195.1.63.32 (25 Jun 2002 12:42:59 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 25 Jun 2002 12:42:59 GMT User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Common Lisp, i386-debian-linux) Cancel-Lock: sha1:XyoWyMCcE9VIK2EeYLPhCZX6Ofw= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:45394 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:45394 >>>>> Simon Josefsson : >> Steinar Bang 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: # > Did process have the correct value? I don't know. Here's the value Value: # > 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.