[mew-int 00591] Re: POP/SMTP Process life

Kazu Yamamoto ( 山本和彦 ) kazu at example.com
Wed Nov 21 21:04:32 JST 2001


From: Dhruva Krishnamurthy <ykd at example.com>
Subject: [mew-int 00584] Re: POP/SMTP Process life

>  The main problem is the process does not get killed even after the
>  POP retrieval is completed. So, "(mew-summary-exclusive-p)" will
>  continue to return "nil" and it fails. The problem is the status is
>  not changing properly after completing the POP retrieval. If I get
>  the correct status (the error can be seen even on the modeline as
>  some 78% complete when all messages have been retrieved). The only
>  way I can think of is to check for status on modeline for number of
>  mails retrieved versus number of mails in the spool. The problem in
>  this approach is when POPing the last mail, the status will be 10/10
>  (if you had 10 mails in the spool) and if I try to kill the process,
>  the popping of the last mail may be incomplete. Please suggest a
>  method of finding the exact completion of POP process.

I have not tried this yet, but I could suggest this:

  (unless (mew-summary-exclusive-p)
    (mew-rendezvous mew-summary-buffer-process))
  ;; your code here

--Kazu



More information about the Mew-int mailing list