[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: smtpmail.el and 1msg
From: |
Stefan Monnier |
Subject: |
Re: smtpmail.el and 1msg |
Date: |
11 Mar 2004 14:11:16 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>> While I think it's good to add support for 1msg, I also think it would be
>> worthwhile to fix the spinning problem. After all, if the other end closes
>> the connection, we should detect it. Do we? If `no' why not and if `yes'
>> why does it spin?
> Detecting closed connections, during the spin loop, was the intention
> of my patch. They weren't detected before. What do you think?
Yes, I've now seen your patch, looks fine.
> (while (not (search-forward "\r\n" nil t))
> (unless (memq (process-status process) '(open run))
> (throw 'done nil))
> (accept-process-output process)
> (goto-char smtpmail-read-point))
Isn't it possible to just check the return value of accept-process-output?
Something like
(while (not (search-forward "\r\n" nil t)
(unless (accept-process-output process)
(throw 'done nil))
(goto-char smtpmail-read-point))
-- Stefan
- Re: smtpmail.el and 1msg, (continued)
- Re: smtpmail.el and 1msg, jglauner, 2004/03/11
- Re: smtpmail.el and 1msg, Simon Josefsson, 2004/03/11
- Re: smtpmail.el and 1msg, Jonathan Glauner, 2004/03/11
- Re: smtpmail.el and 1msg, Simon Josefsson, 2004/03/11
- Re: smtpmail.el and 1msg, Jonathan Glauner, 2004/03/11
- Re: smtpmail.el and 1msg, Jonathan Glauner, 2004/03/13
- Re: smtpmail.el and 1msg, Simon Josefsson, 2004/03/13
- Re: smtpmail.el and 1msg, Stefan Monnier, 2004/03/12
Re: smtpmail.el and 1msg, Stefan Monnier, 2004/03/13