From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= 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 15:52:49 +0100 Message-ID: References: <837cnfqmz8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36326"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Yuan Fu , 66669@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 22 16:51:00 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 1quZnA-0009Ep-3b for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 Oct 2023 16:51:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1quZmm-0000vP-Pj; Sun, 22 Oct 2023 10:50: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 1quZmj-0000v2-VM for bug-gnu-emacs@gnu.org; Sun, 22 Oct 2023 10:50:33 -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 1quZmj-0006bj-NZ for bug-gnu-emacs@gnu.org; Sun, 22 Oct 2023 10:50:33 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1quZnB-000662-Oa for bug-gnu-emacs@gnu.org; Sun, 22 Oct 2023 10:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Oct 2023 14:51:01 +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.169798623823398 (code B ref 66669); Sun, 22 Oct 2023 14:51:01 +0000 Original-Received: (at 66669) by debbugs.gnu.org; 22 Oct 2023 14:50:38 +0000 Original-Received: from localhost ([127.0.0.1]:47902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quZmn-00065J-NE for submit@debbugs.gnu.org; Sun, 22 Oct 2023 10:50:38 -0400 Original-Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]:57672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quZml-000654-G4 for 66669@debbugs.gnu.org; Sun, 22 Oct 2023 10:50:37 -0400 Original-Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-507ac66a969so3164751e87.3 for <66669@debbugs.gnu.org>; Sun, 22 Oct 2023 07:50:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697986201; x=1698591001; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=x3WgWdzZNgeMpl6koWY/W0VFTnMxAF4glbWj60cWWGI=; b=JUGXt8VrtsWjfFwPUf6dQELzpiu8wCRoWzU8OIbkMWJ97I68ImPcr6B2ftHlnWqRhj 1EkLlzRDwXwUxq2QazMkZcXXSlHiuWFtYTsEa7VzApC9muZDhLsT99o6aLqRy8pqjrY/ 89Z+TvLhvSMg3xjYHNH3Ve5UUop3hcTZUaj82YzyzV9Obyw+gDmimcrtD0u4iNFsZQb3 zPSpp55tsSQvvOUGlYUmmFVm5uRWTFl2YPzXwHuG3o7fhkT5wJCLxUBGRmtVlduAxyBm sd43avTOv3zbiT3msAZLngCkG+RYWQT55u/gFErXcNor0EnFKsIs6F+Q7GahKgFJRQYQ 3uVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697986201; x=1698591001; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=x3WgWdzZNgeMpl6koWY/W0VFTnMxAF4glbWj60cWWGI=; b=lZIr7xqkvYpjvA1z6PrjVfvVD72Pt/wmODodHZ8Kw6Zm7guVLrsiOSthqeO+Ptq37+ pMbGTJnOUuyhQKYcP1LWsSbLLEj8dwxm3B7LtU1TGfvGzWpGl5q9M1qnQIocrufJMhJ8 9N04+UXjONxud+C8/dOMlNBHRTvLr+pzFkiG8z76xRWVLKQnwFsO/cSTS6kVe2SnXHYT Z4fvNfCAqiyfUCMJSmtWCdmfNHvuHgZK+tjFWrQPKeYLjaeDZG4L58a6xjyB7OnMWN8C f0Mk5tcEu4ieb6QbLo7OCyVIdL4ZgjTER3iW5tB1lYfGFMMcRr6TGbZ6R2MjL0d2vhYo 0CkQ== X-Gm-Message-State: AOJu0Yw6Ts1DQ3mhk4fdAGc0AgnjtAIIVCat29tZ+zIz6zZgYSK/oRrj wKEgNGOkkL3ekNQKokJ6o2p5zRZ37zPJIxShBfw= X-Google-Smtp-Source: AGHT+IHGjUt+81XKaedqv9hUiz373lljjz/BlqbqsERLJpFIeNjJNu0XWFvoFWJ6+RRMEzCXc6v5RTTLUmoxeJAPd24= X-Received: by 2002:ac2:5192:0:b0:507:cfbc:bf8d with SMTP id u18-20020ac25192000000b00507cfbcbf8dmr4160564lfi.16.1697986200581; Sun, 22 Oct 2023 07:50:00 -0700 (PDT) In-Reply-To: <837cnfqmz8.fsf@gnu.org> 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:272980 Archived-At: On Sun, Oct 22, 2023 at 5:50=E2=80=AFAM Eli Zaretskii wrote: > > > Cc: joaotavora@gmail.com > > From: Yuan Fu > > Date: Sat, 21 Oct 2023 12:10:49 -0700 > > > > I use rust=E2=80=99s language server (rust-analyzer) with eglot. And wh= enever 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 thi= nk the reason is that the rust language server sends a ton of progress noti= fications, which completely blocks Emacs before it=E2=80=99s done. > > > > Setting eglot-report-progress to nil doesn=E2=80=99t help me, presumabl= y because eglot still needs to process the notifications. > > Can't this information be processed in chunks, not in one go? Maybe, depending on what that means. I think it's important to get to the bottom of Yuan's "presumably" first, preferably by reproducing his problem. Jo=C3=A3o