From: Dmitry Gutov <dgutov@yandex.ru>
To: Rajeev N <rajeev.jnk@sivalik.com>
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 23:22:57 +0300 [thread overview]
Message-ID: <27f2f996-5cb2-acf2-4f94-b964a7f1d32a@yandex.ru> (raw)
In-Reply-To: <87y29s7svx.fsf@hm.sivalik.com>
On 26.07.2021 22:54, Rajeev N via Bug reports for GNU Emacs, the Swiss
army knife of text editors wrote:
> 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 "EHLOwww.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)))))
Hmm, that doesn't freeze for me.
Even though if I follow 'C-x C-e' with 'C-p' right away, it will wait
for like 0.5s before moving the cursor to the previous line.
I have tried it in a number of versions of Emacs, so far no luck.
Any chance you're not starting with 'emacs -Q' and your personal config
affects this?
next prev parent reply other threads:[~2021-07-26 20:22 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
2021-07-26 20:22 ` Dmitry Gutov [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=27f2f996-5cb2-acf2-4f94-b964a7f1d32a@yandex.ru \
--to=dgutov@yandex.ru \
--cc=49682@debbugs.gnu.org \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).