From: Simon Josefsson <jas@extundo.com>
Cc: emacs-devel@gnu.org
Subject: Re: smtpmail.el and 1msg
Date: Thu, 11 Mar 2004 19:52:34 +0100 [thread overview]
Message-ID: <iluptbjgqrx.fsf@latte.josefsson.org> (raw)
In-Reply-To: <jwvbrn3bgg4.fsf-monnier+emacs@asado.iro.umontreal.ca> (Stefan Monnier's message of "11 Mar 2004 09:37:03 -0500")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> Thanks! I believe this also explains a few bug reports I've got, with
>> the exact same symptoms as the ones you describe.
>
> 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?
OLD:
(while (not (search-forward "\r\n" nil t))
(accept-process-output process)
(goto-char smtpmail-read-point))
NEW:
(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))
next prev parent reply other threads:[~2004-03-11 18:52 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-04 21:29 smtpmail.el and 1msg jglauner
2004-03-08 16:51 ` Simon Josefsson
2004-03-09 22:36 ` Simon Josefsson
2004-03-10 18:15 ` jglauner
2004-03-10 22:51 ` Simon Josefsson
2004-03-10 23:05 ` Jonathan Glauner
2004-03-10 23:11 ` Simon Josefsson
2004-03-10 23:24 ` Jonathan Glauner
2004-03-10 23:38 ` Jonathan Glauner
2004-03-11 10:54 ` Simon Josefsson
2004-03-12 13:42 ` Stefan Monnier
2004-03-11 14:37 ` Stefan Monnier
2004-03-11 18:52 ` Simon Josefsson [this message]
2004-03-11 19:11 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=iluptbjgqrx.fsf@latte.josefsson.org \
--to=jas@extundo.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.