From: Rajeev N via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: Lars Ingebrigtsen <larsi@gnus.org>, 49682@debbugs.gnu.org
Subject: bug#49682: 27.2.50; accept-process-output within accept-process-output hangs emacs
Date: Mon, 26 Jul 2021 15:54:42 -0400 [thread overview]
Message-ID: <87y29s7svx.fsf@hm.sivalik.com> (raw)
In-Reply-To: <895868e4-4f20-ba77-f4e5-7ea2715d18f0@yandex.ru> (Dmitry Gutov's message of "Mon, 26 Jul 2021 21:58:39 +0300")
For me the following also hangs emacs. The problem seems to me that (accept-process-output stream 0.05) in network-stream-get-response does not return even though it has a timeout of .05.
(let ()
(run-with-timer 0 nil #'url-retrieve "https://www.gnu.org/" #'ignore)
(make-process :name "echo" :command '("echo")
:sentinel (lambda (_p _e)
(with-current-buffer (generate-new-buffer " *debug")
(run-with-timer 0 nil #'open-network-stream
"testing" (current-buffer) "smtp.gmail.com" 587
:type 'starttls
:return-list t
:warn-unless-encrypted t
:capability-command "EHLO www.gnu.org\r\n"
:end-of-command "^[0-9]+ .*\r\n"
:success "^2.*\n"
:always-query-capabilities t
:starttls-function
(lambda (capabilities)
(and (string-match "[ -]STARTTLS" capabilities)
"STARTTLS\r\n"))
:client-certificate t
:use-starttls-if-possible t)))))
On Mon, 26 Jul 2021 at 9:58 pm +0300, Dmitry Gutov wrote:
#+begin_quote
On 23.07.2021 20:00, Rajeev N via Bug reports for GNU Emacs, the Swiss
army knife of text editors wrote:
> (let ()
> (run-with-timer 0 nil #'url-retrieve"https://www.gnu.org/" #'ignore)
> (make-process :name "echo" :command '("echo")
> :sentinel (lambda (_p _e) (run-with-timer 0 nil #'diary-mail-entries))))
Any chance you have an example of the problem that doesn't require
SMTP/Mail/Gnus to be configured in Emacs?
#+end_quote
next prev parent reply other threads:[~2021-07-26 19:54 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-21 14:58 bug#49682: 27.2.50; accept-process-output within accept-process-output hangs emacs Rajeev N via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-21 15:14 ` Lars Ingebrigtsen
2021-07-21 16:14 ` Rajeev N via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-21 16:18 ` Lars Ingebrigtsen
[not found] ` <87tukntz2m.fsf@hm.sivalik.com>
2021-07-21 16:40 ` Lars Ingebrigtsen
2021-07-23 17:00 ` Rajeev N via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-24 10:28 ` Lars Ingebrigtsen
2021-07-24 10:46 ` Rajeev N via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-26 18:58 ` Dmitry Gutov
2021-07-26 19:54 ` Rajeev N via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-07-26 20:22 ` Dmitry Gutov
2021-07-26 20:55 ` Rajeev N via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-27 14:13 ` Dmitry Gutov
2021-07-27 17:22 ` Rajeev N via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-27 17:35 ` Eli Zaretskii
2021-07-27 21:40 ` Rajeev N via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-28 16:12 ` Eli Zaretskii
2021-07-28 17:12 ` Rajeev N via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-06 16:55 ` Robert Pluim
2021-07-21 19:29 ` Eli Zaretskii
2021-07-21 21:32 ` Lars Ingebrigtsen
2021-07-21 21:53 ` Rajeev N via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-22 5:47 ` Eli Zaretskii
2021-07-23 18:30 ` Dmitry Gutov
2023-11-06 17:14 ` LdBeth
2023-11-06 17:39 ` Eli Zaretskii
2023-11-06 20:27 ` LdBeth
2023-11-07 9:24 ` Michael Albinus
2023-11-08 15:50 ` Kazuhiro Ito
2023-11-08 16:37 ` Eli Zaretskii
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=87y29s7svx.fsf@hm.sivalik.com \
--to=bug-gnu-emacs@gnu.org \
--cc=49682@debbugs.gnu.org \
--cc=dgutov@yandex.ru \
--cc=larsi@gnus.org \
--cc=rajeev.jnk@sivalik.com \
/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.