From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/43120 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: Fri, 15 Feb 2002 03:36:50 -0700 (MST) Sender: owner-ding@hpc.uh.edu Message-ID: <200202151036.g1FAaos07327@santafe.santafe.edu> References: <200202081357.g18Dvfw05454@aztec.santafe.edu> <5x1yfva7m8.fsf@kfs2.cua.dk> <5xn0yhrtye.fsf@kfs2.cua.dk> <200202111848.g1BIm0406891@aztec.santafe.edu> <5x3d07iojn.fsf@kfs2.cua.dk> <5x4rkmfcp8.fsf@kfs2.cua.dk> <200202140312.g1E3CMf09146@aztec.santafe.edu> <5xlmdwe6ym.fsf@kfs2.cua.dk> Reply-To: rms@gnu.org NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035178266 15864 80.91.224.250 (21 Oct 2002 05:31:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:31:06 +0000 (UTC) Cc: emacs-devel@gnu.org, ding@gnus.org Return-Path: Original-Received: (qmail 9990 invoked from network); 15 Feb 2002 10:37:52 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 15 Feb 2002 10:37:52 -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 16bfjy-0002Lo-00; Fri, 15 Feb 2002 04:37:18 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 15 Feb 2002 04:37:17 -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 EAA16811 for ; Fri, 15 Feb 2002 04:37:04 -0600 (CST) Original-Received: (qmail 9968 invoked by alias); 15 Feb 2002 10:36:59 -0000 Original-Received: (qmail 9963 invoked from network); 15 Feb 2002 10:36:58 -0000 Original-Received: from pele.santafe.edu (192.12.12.119) by gnus.org with SMTP; 15 Feb 2002 10:36:58 -0000 Original-Received: from santafe.santafe.edu (santafe [192.12.12.2]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g1FAapu25289; Fri, 15 Feb 2002 03:36:51 -0700 (MST) Original-Received: (from rms@localhost) by santafe.santafe.edu (8.10.2+Sun/8.9.3) id g1FAaos07327; Fri, 15 Feb 2002 03:36:50 -0700 (MST) X-Authentication-Warning: santafe.santafe.edu: rms set sender to rms@santafe using -f Original-To: storm@cua.dk In-reply-to: <5xlmdwe6ym.fsf@kfs2.cua.dk> (storm@cua.dk) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:43120 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:43120 (setq p (open-network-stream .... t)) (when p (cond ((eq (process-status p) 'connecting) ;; New return value ;; connecting, so set sentinel (set-process-sentinel p 'my-sentinel)) There may be a timing error here: each call to process-status allows the value to change. Perhaps the sentinel should be passed as an argument to open-network-stream, so that there is no time at which the connection is open and has no sentinel.