From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#66669: 30.0.50; [EGLOT] Emacs freezes when server sends a ton of progress notifications Date: Sun, 22 Oct 2023 07:50:51 +0300 Message-ID: <837cnfqmz8.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30077"; mail-complaints-to="usenet@ciao.gmane.io" Cc: joaotavora@gmail.com, 66669@debbugs.gnu.org To: Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 22 06:51:47 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1quQRG-0007cU-OF for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 Oct 2023 06:51:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1quQR7-0001wd-2W; Sun, 22 Oct 2023 00:51:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1quQR4-0001wB-Jt for bug-gnu-emacs@gnu.org; Sun, 22 Oct 2023 00:51:34 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1quQR4-0003Km-Be for bug-gnu-emacs@gnu.org; Sun, 22 Oct 2023 00:51:34 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1quQRW-0007y9-5n for bug-gnu-emacs@gnu.org; Sun, 22 Oct 2023 00:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Oct 2023 04:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66669 X-GNU-PR-Package: emacs Original-Received: via spool by 66669-submit@debbugs.gnu.org id=B66669.169795029030586 (code B ref 66669); Sun, 22 Oct 2023 04:52:02 +0000 Original-Received: (at 66669) by debbugs.gnu.org; 22 Oct 2023 04:51:30 +0000 Original-Received: from localhost ([127.0.0.1]:45322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quQQz-0007xG-W6 for submit@debbugs.gnu.org; Sun, 22 Oct 2023 00:51:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quQQy-0007x2-HF for 66669@debbugs.gnu.org; Sun, 22 Oct 2023 00:51:29 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1quQQQ-0003F4-9t; Sun, 22 Oct 2023 00:50:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Qo0kHtEx5VhzC7X4mZWdZ586yb2vvbHX82QK+YegAcQ=; b=QkK4Wb1BhymSv1qTd+I6 k/FLdd/C+rWR40o2TMikqTyrrP8bq2BDJxttWQrXmlQkyEfKdA6aS4u0KUfMjTDZccpvKyf6eihrt 1x6ztJyiAlDIU6v5olm14r2Be6skRoSN4loV69q41F3xhVxkU74eu6hPMAA/kOYdv5BSogJb5ZeCZ IBUzGaF0zhSCMfai3GSa1VBryYN2sGGDVTLBKAVS8QwNk0rWASuiF+JQrrK0VFMqKXoFE0RA8ghtS xmXuE2Nm1YRWgZLs/keBhqmNNVND8djKp8BApKhu/ewbAfgJS8I3wTa3U02j0M4QdkO5ddvaNE+BE c1RTaRcMufYlZA==; In-Reply-To: (message from Yuan Fu on Sat, 21 Oct 2023 12:10:49 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:272952 Archived-At: > Cc: joaotavora@gmail.com > From: Yuan Fu > Date: Sat, 21 Oct 2023 12:10:49 -0700 > > I use rust’s language server (rust-analyzer) with eglot. And whenever I turn eglot on for a project, Emacs freezes for a good 30 seconds, busy updating the eglot progress indicator, before I can do anything. I think the reason is that the rust language server sends a ton of progress notifications, which completely blocks Emacs before it’s done. > > Setting eglot-report-progress to nil doesn’t help me, presumably because eglot still needs to process the notifications. Can't this information be processed in chunks, not in one go?