[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49682: 27.2.50; accept-process-output within accept-process-output h
bug#49682: 27.2.50; accept-process-output within accept-process-output hangs emacs
Mon, 26 Jul 2021 23:22:57 +0300
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0
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.
(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
:end-of-command "^[0-9]+ .*\r\n"
(and (string-match "[
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