From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 15 00:40:19 2024 Received: (at submit) by debbugs.gnu.org; 15 Aug 2024 04:40:19 +0000 Received: from localhost ([127.0.0.1]:48080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1seSHb-0007WS-8M for submit@debbugs.gnu.org; Thu, 15 Aug 2024 00:40:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:49004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1seRp8-0006ih-Pu for submit@debbugs.gnu.org; Thu, 15 Aug 2024 00:10:55 -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 1seRoU-00080Y-Ul for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2024 00:10:16 -0400 Received: from mail-ua1-x935.google.com ([2607:f8b0:4864:20::935]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1seRoS-0000Gm-QD for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2024 00:10:14 -0400 Received: by mail-ua1-x935.google.com with SMTP id a1e0cc1a2514c-842f1dd60deso206043241.2 for ; Wed, 14 Aug 2024 21:10:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723695010; x=1724299810; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=fWBGgUzQeAhQ8VMYwHnCqKdv7yCAGbHaZVSJPeLG7GI=; b=Qztyg8zl/cTX/IVPbKjevgK4+QGskOGXXtuiDwsoODdnfQt95rsZ/iwW4oyksclCgp CntLYSgaSB4OKzl+QwUJSRxYSl53Xsw+nlRfjaQDfhvo6hKV68WoInVlSI/rPRGfeI5G BD+ceGtrXTXwFVw6U+k1JlGzesUsrkOeMg2/J8So4AvaA6/qPQDdb6/069U2SiIXQQXM /IAEAE12xd7drDmIxItzSSOsTzcEygJNaMtnuFUFWrVpSQ0vrj2iDe4BC6q69K5Q4/N2 G9oHLerd9zLziJqGFZwP0929c5J1csXOzdVklDJtzzCF9kK6qBuNVknkfQATt6FGSZ+y RdJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723695010; x=1724299810; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=fWBGgUzQeAhQ8VMYwHnCqKdv7yCAGbHaZVSJPeLG7GI=; b=fXwqV9ED3EYN0ErcQs6ArdaxHEtLuH2Pu6LCvHh8DE8ra30ev47lYlU4iUwZ6YwG7o oEQB2eRmGuydGXCQQF5o/Q/N+ChUg/BfP6+PaeofBBBoibJD24wcIbjmuLIUTvSR4Mrm ldg7lDip09fHuVYmB37GnFkOKijmSTQ0gMP1HwRgutVVR/kuNX4w3WTTvVVRtWbYH06m 0mKOWyIMey7nxMtuJUSOmBSsGni2L9EeZ9Qn6Qi86jDpy04cc8hmd7wO62H72nt9G1O1 0zFsvse4YWGwua3da54j9/uD3Uo2ni7XxtSKTYYw2JYdsc/Ky7wQNVPb9HSlv49CuAy4 C16g== X-Gm-Message-State: AOJu0YxnzzXm7SlOwStucJSSOT1C5bkV5IR6NWoI5DG1ZffO+9zEtgjj nmRBciQoQnqDE6qMB3UahAVzNu57NfjB6Q4GVL9J3yB8o2SzW/sOYUMuVI15o/HI2y5M7t/4Qms gRsnQP9lu9VxDs8WuUZiY5WN8PntFIzIEt88= X-Google-Smtp-Source: AGHT+IF0ZCB3g67pg1qIS2tJO4vALrts4imG+6yWtSJOr867zXs8UZ/abCO4KtP+rc4kIJdQ1VA7Bl1iuinZsBxA92s= X-Received: by 2002:a05:6102:cca:b0:493:bf74:42f2 with SMTP id ada2fe7eead31-49759952d10mr7006020137.17.1723695010256; Wed, 14 Aug 2024 21:10:10 -0700 (PDT) MIME-Version: 1.0 From: david edmonds Date: Thu, 15 Aug 2024 14:09:59 +1000 Message-ID: Subject: Documentation correction in eglot.texi To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="000000000000c99e93061fb104d9" Received-SPF: pass client-ip=2607:f8b0:4864:20::935; envelope-from=edmonds.david.a@gmail.com; helo=mail-ua1-x935.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 15 Aug 2024 00:40:18 -0400 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 (--) --000000000000c99e93061fb104d9 Content-Type: text/plain; charset="UTF-8" eglot-managed-p is a function, not a variable. The documentation states that to check whether a buffer is managed by eglot the user should, for example: (if eglot-managed-p ...). But in fact, what is required is: (if (eglot-managed-p) ...). --- doc/misc/eglot.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/misc/eglot.texi b/doc/misc/eglot.texi index ba7aeb448e5..fb5b618bd84 100644 --- a/doc/misc/eglot.texi +++ b/doc/misc/eglot.texi @@ -600,7 +600,7 @@ user, but automatically, as the result of starting an Eglot session for the buffer. However, this minor mode provides a hook variable @code{eglot-managed-mode-hook} that can be used to customize the Eglot management of the buffer. This hook is run both when the minor mode -is turned on and when it's turned off; use the variable +is turned on and when it's turned off; use the function @code{eglot-managed-p} to tell if current buffer is still being managed or not. When Eglot stops managing the buffer, this minor mode is turned off, and all the settings that Eglot changed are restored to -- 2.46.0 --000000000000c99e93061fb104d9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
eglot-managed-p is a function, not a variable.

The = documentation states that to check whether a buffer is managed by
eglot = the user should, for example: =C2=A0(if eglot-managed-p ...). But in
fac= t, what is required is: (if (eglot-managed-p) ...).
---
=C2=A0doc/mis= c/eglot.texi | 2 +-
=C2=A01 file changed, 1 insertion(+), 1 deletion(-)<= br>
diff --git a/doc/misc/eglot.texi b/doc/misc/eglot.texi
index ba7a= eb448e5..fb5b618bd84 100644
--- a/doc/misc/eglot.texi
+++ b/doc/misc/= eglot.texi
@@ -600,7 +600,7 @@ user, but automatically, as the result of= starting an Eglot session
=C2=A0for the buffer.=C2=A0 However, this min= or mode provides a hook variable
=C2=A0@code{eglot-managed-mode-hook} th= at can be used to customize the Eglot
=C2=A0management of the buffer.=C2= =A0 This hook is run both when the minor mode
-is turned on and when it&= #39;s turned off; use the variable
+is turned on and when it's turne= d off; use the function
=C2=A0@code{eglot-managed-p} to tell if current = buffer is still being
=C2=A0managed or not.=C2=A0 When Eglot stops manag= ing the buffer, this minor mode
=C2=A0is turned off, and all the setting= s that Eglot changed are restored to
--
2.46.0


--000000000000c99e93061fb104d9-- From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 17 06:09:45 2024 Received: (at 72634-done) by debbugs.gnu.org; 17 Aug 2024 10:09:45 +0000 Received: from localhost ([127.0.0.1]:53567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfGNU-0003gw-NV for submit@debbugs.gnu.org; Sat, 17 Aug 2024 06:09:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfGNS-0003gk-Pw for 72634-done@debbugs.gnu.org; Sat, 17 Aug 2024 06:09:43 -0400 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 1sfGMk-0000k6-Gt; Sat, 17 Aug 2024 06:08:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=FPEa4j8ZC8+dqs+gHpWe3SNasS33jAwFxVszFER6LUw=; b=ZE/gkCExBu6W yjY3/6aTCpGDR1XqBpjRGQb68cVS1LBJ2Y8z00HUKp9fM0/7d3U0oZ9H0IYwBQkaAklCBvuYfEOtT qveAK0GpIsC40OUtG+/MSzHH6ru42d99rNe2JULLSBJBHwWZcYlersECgVHihJ7t4KT7aHomIeKdK N/sr0C8v6EL4mvniC/pe3izrDxzKIpvOwT4lzg6VMxbGQkk7vw/rhPVPE10gMOQZyZ5Vz0KdpURfQ Ad9fmF2mEeBQWxQtR1OIgem1xk01DybN/3X9YGhXUTEawhXSJonU3IQYFt7Rjs8Am9nGbsK0IeEXI lHZ0yw6Fvv9+xfLTckQpYA==; Date: Sat, 17 Aug 2024 13:08:55 +0300 Message-Id: <86mslb31hk.fsf@gnu.org> From: Eli Zaretskii To: david edmonds In-Reply-To: (message from david edmonds on Thu, 15 Aug 2024 14:09:59 +1000) Subject: Re: bug#72634: Documentation correction in eglot.texi References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 72634-done Cc: 72634-done@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: -3.3 (---) > From: david edmonds > Date: Thu, 15 Aug 2024 14:09:59 +1000 > > eglot-managed-p is a function, not a variable. > > The documentation states that to check whether a buffer is managed by > eglot the user should, for example: (if eglot-managed-p ...). But in > fact, what is required is: (if (eglot-managed-p) ...). Thanks, installed on the emacs-30 branch, and closing the bug. From unknown Fri Jun 20 19:45:17 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 14 Sep 2024 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator