From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/45388 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Connecting to cyrus using nnimap-stream type shell Date: Tue, 25 Jun 2002 11:01:52 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: 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 1024995764 27894 127.0.0.1 (25 Jun 2002 09:02:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 25 Jun 2002 09:02:44 +0000 (UTC) Cc: ding@gnus.org 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 17MmDk-0007Fl-00 for ; Tue, 25 Jun 2002 11:02:44 +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 17MmDT-0000cf-00; Tue, 25 Jun 2002 04:02:27 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 25 Jun 2002 04:02:46 -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 EAA22715 for ; Tue, 25 Jun 2002 04:02:30 -0500 (CDT) Original-Received: (qmail 16672 invoked by alias); 25 Jun 2002 09:02:04 -0000 Original-Received: (qmail 16660 invoked from network); 25 Jun 2002 09:02:03 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by gnus.org with SMTP; 25 Jun 2002 09:02:03 -0000 Original-Received: from latte (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.4/8.12.4) with ESMTP id g5P91plf005478; Tue, 25 Jun 2002 11:01:51 +0200 Original-To: Steinar Bang Mail-Copies-To: nobody X-Hashcash: 020625:sb@dod.no:e393a4b015dc55c0 X-Hashcash: 020625:ding@gnus.org:6c9db78c8e4d48a4 In-Reply-To: <87d6ufaojd.fsf@home.lan> (Steinar Bang's message of "Tue, 25 Jun 2002 07:57:26 +0200") Original-Lines: 36 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:45388 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:45388 Steinar Bang writes: > imap.el: > (when process > => (while (and (memq (process-status process) '(open run)) > > buffer: > Trying 127.0.0.1... > Connected to doohan. > Escape character is '^]'. > * OK doohan Cyrus IMAP4 v1.5.19 server ready > > imap.el: > (goto-char (point-max)) > => (forward-line -1) > > buffer: cursor is now at the start of the line: > * OK doohan Cyrus IMAP4 v1.5.19 server ready > > 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? It is set using (when (memq (process-status process) '(open run)) (setq done process))))) a few lines above, what did edebug say on that? Did process have the correct value? Perhaps the process had died? Perhaps it was in some other state than open or run? Which one?