From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/43039 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.gnus.general Subject: Re: display-time, mail-icon and POP3 mailboxes Date: Mon, 11 Feb 2002 11:48:00 -0700 (MST) Sender: owner-ding@hpc.uh.edu Message-ID: <200202111848.g1BIm0406891@aztec.santafe.edu> References: <200202081357.g18Dvfw05454@aztec.santafe.edu> <5x1yfva7m8.fsf@kfs2.cua.dk> <5xn0yhrtye.fsf@kfs2.cua.dk> Reply-To: rms@gnu.org NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035178195 15425 80.91.224.250 (21 Oct 2002 05:29:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:29:55 +0000 (UTC) Cc: emacs-devel@gnu.org, ding@gnus.org Return-Path: Original-Received: (qmail 5047 invoked from network); 11 Feb 2002 18:48:36 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 11 Feb 2002 18:48:36 -0000 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 16aLV0-0001wJ-00; Mon, 11 Feb 2002 12:48:22 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 11 Feb 2002 12:48:21 -0600 (CST) 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 MAA29683 for ; Mon, 11 Feb 2002 12:48:10 -0600 (CST) Original-Received: (qmail 5043 invoked by alias); 11 Feb 2002 18:48:07 -0000 Original-Received: (qmail 5038 invoked from network); 11 Feb 2002 18:48:07 -0000 Original-Received: from pele.santafe.edu (192.12.12.119) by gnus.org with SMTP; 11 Feb 2002 18:48:07 -0000 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.9.3/8.9.3) with ESMTP id LAA00910; Mon, 11 Feb 2002 11:48:00 -0700 (MST) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g1BIm0406891; Mon, 11 Feb 2002 11:48:00 -0700 (MST) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: storm@cua.dk In-reply-to: <5xn0yhrtye.fsf@kfs2.cua.dk> (storm@cua.dk) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:43039 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:43039 > > With the pop3 sample code I posted some time ago, there is one serious > > problem: If emacs cannot connect to the pop3 server, it may hang (no > > user interaction) until the connect times out. That is not > > satisfactory! > > The same applies to pop3.el from Gnus. If we want to support this in general, we must implement an async version of open-network-stream (or add an optional arg to it to make it async - that arg could be a function which is called when the connection has been opened. Is it hanging in open-network-stream? If so, precisely where in open-network-stream is it waiting? It may be a straightforward matter to implement quitting from a few places where the waiting typically happens. That would fix this problem.