From unknown Fri Jun 20 07:25:35 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#62538 <62538@debbugs.gnu.org> To: bug#62538 <62538@debbugs.gnu.org> Subject: Status: 29.0.60; Setting eglot-report-progress dir-locally doesn't work Reply-To: bug#62538 <62538@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:25:35 +0000 retitle 62538 29.0.60; Setting eglot-report-progress dir-locally doesn't wo= rk reassign 62538 emacs submitter 62538 Augusto Stoffel severity 62538 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 30 03:56:52 2023 Received: (at submit) by debbugs.gnu.org; 30 Mar 2023 07:56:52 +0000 Received: from localhost ([127.0.0.1]:55659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phn9Q-0007KB-0R for submit@debbugs.gnu.org; Thu, 30 Mar 2023 03:56:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:42286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phn9O-0007K4-Ev for submit@debbugs.gnu.org; Thu, 30 Mar 2023 03:56:50 -0400 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 1phn9O-0006ZK-1q for bug-gnu-emacs@gnu.org; Thu, 30 Mar 2023 03:56:50 -0400 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1phn9M-0006le-GH for bug-gnu-emacs@gnu.org; Thu, 30 Mar 2023 03:56:49 -0400 Received: by mail-ed1-x52b.google.com with SMTP id er13so32077861edb.9 for ; Thu, 30 Mar 2023 00:56:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680163006; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=lK+fSiX9O300D0ZI72UWIrG/zKKHNMeosG1krA1bGP4=; b=URDlfQF3U+eh2U87OUV946IQqeFMVdz6sa/oHK5wAkcKhzWF7MxvexZTc8lEx4VbV3 1Pr6wsKuaIITfwKQ4gSFS7ytg3kOWtxTxT933ZiFgqUWdRgLENEN0ETjs3pCYvh6ynF6 O+DFysl4uv4zrV8mqk18einSuIKqrO0qRnD18GM8esaEIH5e7fATg+vagJt3FzXWZQdY mfff3g2ZIL/5dxquR9vnnQHH21uPUxTM11kK/11DppIjaUXDwXPPC5V8ChK1DAqzpNvp U6MZLrBOZFnmyvOD5k9xIPj0DytTcK0Rmb48ifldr3gzPhNhVef1HnZall2c1mbwuGlv qwOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680163006; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lK+fSiX9O300D0ZI72UWIrG/zKKHNMeosG1krA1bGP4=; b=ZcfykvkbVoJREbxyZpUPDJHI3vAiR4jhZPx8QrvPR42N/t4QOVTtjgPhokiBby4tQq 0qWBLuGliYgw17pu1gUuCViokbaYK8HLABZ72KGNopJaXfDeChOsEMC8F41RuNrKorY1 Gkn/72p/lw249sHwhQY7soDpfxLZQfe9+y3Z4ZSPQG+C1Pbp03Nq1PYip7FPQziu8QpL a2jiXoTAgGxGgZ7E+Ip1QtFGH/jdkhDa0vNCj5eW+BH9E8zYJeH9JLrNf8d1Q3DCFF2F 4bL9mr11moNVPbK/FEcfrZoLohTdot8E3eHNWNeMgetoNjaz0XB0N8AgH/zeszdFXRid RZEA== X-Gm-Message-State: AAQBX9ceDyrRzsmCNR25/lUT5pomS4cIfPMt7p/sCx4EUR8JoSB7pau1 1cjm8ET84+3Ar3KqMUws9g5L1VFSpyQ= X-Google-Smtp-Source: AKy350b68UGICTwNInwf8qadiM/PaFL5PBdIjZgGghMqYPu4V7BIrOTTpkUybrvG07G7T61cOnCUrQ== X-Received: by 2002:a17:906:4805:b0:92b:3c78:91fa with SMTP id w5-20020a170906480500b0092b3c7891famr21002493ejq.28.1680163005828; Thu, 30 Mar 2023 00:56:45 -0700 (PDT) Received: from ars3 ([2a02:8109:8ac0:56d0::f39f]) by smtp.gmail.com with ESMTPSA id z9-20020a1709067e4900b0092be390b51asm17361068ejr.113.2023.03.30.00.56.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Mar 2023 00:56:45 -0700 (PDT) From: Augusto Stoffel To: bug-gnu-emacs@gnu.org Subject: 29.0.60; Setting eglot-report-progress dir-locally doesn't work X-Debbugs-Cc: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Date: Thu, 30 Mar 2023 09:56:43 +0200 Message-ID: <87pm8qu0xw.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::52b; envelope-from=arstoffel@gmail.com; helo=mail-ed1-x52b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) I set eglot-report-progress to nil in the "nil" section of my project's .dir-locals.el, but I still see progress reports in the mode line. If I add a debug message to the corresponding eglot-handle-notification method, I see that the "(when eglot-report-progress" is evaluated in a temp buffer and so doesn't pick up the dir-local value. (By the way, Eglot was feeling very sluggish until I decided to disable these notifications. It reminded me of a similar situation with garbage collection, where disabling a message changed user's perception of latency in the process. Or is this an urban legend?) From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 30 04:17:32 2023 Received: (at 62538) by debbugs.gnu.org; 30 Mar 2023 08:17:32 +0000 Received: from localhost ([127.0.0.1]:55698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phnTQ-0007rC-B7 for submit@debbugs.gnu.org; Thu, 30 Mar 2023 04:17:32 -0400 Received: from mail-wr1-f52.google.com ([209.85.221.52]:33357) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phnTN-0007qx-R2 for 62538@debbugs.gnu.org; Thu, 30 Mar 2023 04:17:30 -0400 Received: by mail-wr1-f52.google.com with SMTP id j24so18201288wrd.0 for <62538@debbugs.gnu.org>; Thu, 30 Mar 2023 01:17:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680164244; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wcjutXL08hAo12eNWkqDfepfxHOV9TvkLKI3vvVzNT0=; b=ZcgWdrMlfZ/LU4CwJuEcOmfrGcY0djv0g3agz9vTy28rXWNkyMYEUFf7Yt/BS4aLJN UeIoFQVjeZFMPjvGR2gbrwwkjJ795h/81gIY74P9IN2GRcYTJMVIcUYdGAqfLKzQksLs DgOwGrg9mHSl4btmNUDFVzSRhTh2kQHu5hisQxAJNBYvSVnu+YBEtQBGOJAUcKTo4EuN vGEb0wp4pavIw8kaF3KBjTFNzGluVLq09ijPoiaSOfMgTZLzu4ONpYJEvzPPJ4NTjlxA 9iHV3xgdkh/6nq8MZtBJNx7XtXPmm2op2pCBPoH6oyFVekMq/+8ns944/rf6yB3i0z+o QXAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680164244; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=wcjutXL08hAo12eNWkqDfepfxHOV9TvkLKI3vvVzNT0=; b=eISVSKkaZ/Qr5MPMxV7qpmfexLW0JzdMiEpqdA6tN9ChZwCKS/8VgCJ5Y43ftqoQfa THwPeqz0jxuVmKDU/CYJainRp2SZuZHLr5wjj032utQNoc+tA4WT6l/DmCiCt732uFvV P1XpsOucHX5669IIdWvp1kbjgZ8o4JaI1O06FUiCn+5TrgDOjcKrlhbviLR5oyMgZ9F2 BGCiPD5eFIzMmSYGxEVnM2gWgtIiyyWWFs0STYqtUXfK1DdhrlIe6VLa7hSznylx4ezd GBV2CAIHgmxOjcRKlQ3YurwpeWm6yLJnqZk5YDsIhHFLbIGvxM18wJqv8b+yqxAXwrl4 vKIQ== X-Gm-Message-State: AAQBX9eM0Q7eMpOZB8Y6y+SP2LuwkDwI1FPos/1bqiuub1r2asO7IE2i qvocVi2Ph6zCyMumbL0GNUp5JjAFcbw= X-Google-Smtp-Source: AKy350ZJSqDlmttCUNLdDNqKdPTuQ4oSR7DBmDD2D+ENcN0TduXsV8RyB6Z8/7sIz7S+RJQJO4XHSA== X-Received: by 2002:adf:ff87:0:b0:2e4:e508:4a8f with SMTP id j7-20020adfff87000000b002e4e5084a8fmr513165wrr.46.1680164243885; Thu, 30 Mar 2023 01:17:23 -0700 (PDT) Received: from krug (87-196-72-128.net.novis.pt. [87.196.72.128]) by smtp.gmail.com with ESMTPSA id s17-20020a5d4251000000b002d1801018e2sm32205404wrr.63.2023.03.30.01.17.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Mar 2023 01:17:23 -0700 (PDT) From: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= To: Augusto Stoffel Subject: Re: bug#62538: 29.0.60; Setting eglot-report-progress dir-locally doesn't work In-Reply-To: <87pm8qu0xw.fsf@gmail.com> (Augusto Stoffel's message of "Thu, 30 Mar 2023 09:56:43 +0200") References: <87pm8qu0xw.fsf@gmail.com> Date: Thu, 30 Mar 2023 09:19:25 +0100 Message-ID: <87cz4qy7le.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62538 Cc: 62538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Augusto Stoffel writes: > I set eglot-report-progress to nil in the "nil" section of my project's > .dir-locals.el, but I still see progress reports in the mode line. > > If I add a debug message to the corresponding eglot-handle-notification > method, I see that the "(when eglot-report-progress" is evaluated in a > temp buffer and so doesn't pick up the dir-local value. Ah. It wasn't meant to be used buffer-locally. But if it's an easy fix, there so reason it shouldn't be. > (By the way, Eglot was feeling very sluggish until I decided to disable > these notifications. It reminded me of a similar situation with garbage > collection, where disabling a message changed user's perception of > latency in the process. Or is this an urban legend?) OK I will see what I can do. Jo=C3=A3o