all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#34763: 27.0.50; url-retrieve-synchronously misbehaves inside eldoc-documentation-function
@ 2019-03-05 21:34 Dmitry Gutov
  2019-03-11  0:18 ` Dmitry Gutov
  0 siblings, 1 reply; 38+ messages in thread
From: Dmitry Gutov @ 2019-03-05 21:34 UTC (permalink / raw)
  To: 34763

[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]

1. Evaluate the attached .el file.

2. Start typing, randomly and with certain pauses, trying to align the
interval to the "Contacting host" messages.

At first, Emacs is responsive, and the requests are duly aborted, like
'while-no-input' obliges them to. A little bit later (maybe 10-30
seconds later), I see errors like "Transfer interrupted", and Emacs
stutters when that happens. Later on, any HTTP request to the same host
freezes Emacs until I press C-g. The attached screenshot shows the
messages log and the list of processes at the end.

I guessing this became much easier to trigger with
12e922156c86a26fa4bb2cb9e7d2b3fd639e4707 when eldoc started using
when-no-input. But whatever underlying problem is there in url-http,
it's probably been there longer.

In GNU Emacs 27.0.50 (build 20, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
  of 2019-03-05 built on zappa
Repository revision: 9b93e3b0759d562989283eaecf32e075f984c18c
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12001000
System Description: Ubuntu 18.04.2 LTS

[-- Attachment #2: Screenshot from 2019-03-05 16-36-55.png --]
[-- Type: image/png, Size: 439329 bytes --]

[-- Attachment #3: url-retrieve-synchronously-bug.el --]
[-- Type: text/x-emacs-lisp, Size: 262 bytes --]

(defun silly-eldoc ()
  (dotimes (_ 10)
    (url-retrieve-synchronously "http://www.google.com"))
  "done")

(setq-local eldoc-documentation-function #'silly-eldoc)

(setq-local eldoc-idle-delay 0.05)

; asdadasdasdasdas

; aadasdsddsdasddddasds
; asssddasaaaaa

^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2019-05-21  1:02 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-05 21:34 bug#34763: 27.0.50; url-retrieve-synchronously misbehaves inside eldoc-documentation-function Dmitry Gutov
2019-03-11  0:18 ` Dmitry Gutov
2019-03-11 14:30   ` Eli Zaretskii
2019-03-12  9:08     ` Dmitry Gutov
2019-03-12 15:02       ` Dmitry Gutov
2019-03-12 17:18       ` Eli Zaretskii
2019-03-12 17:44         ` Dmitry Gutov
2019-03-12 18:00           ` Eli Zaretskii
2019-03-12 20:05             ` Dmitry Gutov
2019-03-13 16:49               ` Eli Zaretskii
2019-03-15 14:24                 ` Dmitry Gutov
2019-03-15 15:47                   ` Eli Zaretskii
2019-03-15 16:07                     ` Dmitry Gutov
2019-03-15 14:29                 ` Dmitry Gutov
2019-03-15 15:49                   ` Eli Zaretskii
2019-04-03 23:37                     ` Dmitry Gutov
2019-04-04 13:04                       ` Eli Zaretskii
2019-04-04 13:29                         ` Dmitry Gutov
2019-04-04 14:36                           ` Eli Zaretskii
2019-04-05  0:29                             ` Dmitry Gutov
2019-04-05  6:14                               ` Eli Zaretskii
2019-04-08 10:25                                 ` Dmitry Gutov
2019-04-08 15:20                                   ` Eli Zaretskii
2019-04-08 16:42                                     ` Dmitry Gutov
2019-04-08 17:13                                       ` Eli Zaretskii
2019-04-09  0:48                                         ` Dmitry Gutov
2019-04-09  6:34                                           ` Eli Zaretskii
2019-04-10  1:44                                             ` Dmitry Gutov
2019-04-10 15:46                                               ` Eli Zaretskii
2019-04-11  1:03                                                 ` Dmitry Gutov
2019-04-11  7:59                                                   ` Andreas Schwab
2019-04-11 13:08                                                     ` Dmitry Gutov
2019-04-11 15:08                                                       ` Dmitry Gutov
2019-04-11 16:22                                                         ` Eli Zaretskii
2019-04-11 16:31                                                           ` Dmitry Gutov
2019-04-13  0:44                                                           ` Dmitry Gutov
2019-05-15  5:16                                                             ` Lars Ingebrigtsen
2019-05-21  1:02                                                               ` Dmitry Gutov

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.