emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: display-time, mail-icon and POP3 mailboxes


From: Richard Stallman
Subject: Re: display-time, mail-icon and POP3 mailboxes
Date: Fri, 15 Feb 2002 03:36:50 -0700 (MST)

      (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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]