From unknown Sat Jun 14 03:57:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65671: Eglot: add support for terraform-ls Resent-From: me@rosstimson.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Sep 2023 06:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65671 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 65671@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169354982814441 (code B ref -1); Fri, 01 Sep 2023 06:31:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Sep 2023 06:30:28 +0000 Received: from localhost ([127.0.0.1]:59722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbxfn-0003kp-G4 for submit@debbugs.gnu.org; Fri, 01 Sep 2023 02:30:28 -0400 Received: from lists.gnu.org ([2001:470:142::17]:58488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbnTm-0004iW-Pb for submit@debbugs.gnu.org; Thu, 31 Aug 2023 15:37:23 -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 1qbnTX-0007yt-Bi for bug-gnu-emacs@gnu.org; Thu, 31 Aug 2023 15:37:07 -0400 Received: from st43p00im-zteg10063401.me.com ([17.58.63.175]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbnTU-0006De-Nl for bug-gnu-emacs@gnu.org; Thu, 31 Aug 2023 15:37:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rosstimson.com; s=sig1; t=1693510621; bh=1VPI6fw/xtevAjRnc8AsJAJpZzoMclrikY6EYAm8cJs=; h=From:Content-Type:Mime-Version:Subject:Message-Id:Date:To; b=DsbbXXQUJ6vMrRi9kl4TfPtRW2jyDuN3x0hPeD+NnakKl5NRnlRsGLwNx5bRzh+Kx Tik2M5iyaCJNiJuFgY5jI4tTtvUAyVfcmC8t3SAO4MPSLAJmp0nmHBIT2HfdE3w51u 3UyYkqUlb4QjnAhB96kxPk60pKX4y/O3rULlDW4R9jFEAC2fu3KijAL3F5kMKCfrZ+ br/jU1pjTGWohCP+ZuUoRuxyj8GrzNicXSyUynMAQMAh1ONE/lZ0HhBtKrT99OrAMf fGpavrfBzwfklT9uuwBCxnZdwO/qFX8PUkV7cXOGTLgeR12L8UFEpuEFig53HFPuOv gvSaMUmWFdr4w== Received: from smtpclient.apple (st43p00im-dlb-asmtp-mailmevip.me.com [17.42.251.41]) by st43p00im-zteg10063401.me.com (Postfix) with ESMTPSA id 12455C60411 for ; Thu, 31 Aug 2023 19:37:00 +0000 (UTC) From: me@rosstimson.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Message-Id: Date: Thu, 31 Aug 2023 20:36:29 +0100 X-Mailer: Apple Mail (2.3731.700.6) X-Proofpoint-GUID: YNPzEwBQ7CPUelR99RamHKSfRsqoeUyc X-Proofpoint-ORIG-GUID: YNPzEwBQ7CPUelR99RamHKSfRsqoeUyc X-Proofpoint-Virus-Version: vendor=fsecure engine=1.1.170-22c6f66c430a71ce266a39bfe25bc2903e8d5c8f:6.0.138,18.0.957,17.11.176.26.0000000 definitions=2023-07-31_15:2020-02-14_02,2023-07-31_15,2023-05-22_02 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 bulkscore=0 clxscore=1030 mlxlogscore=285 malwarescore=0 adultscore=0 mlxscore=0 phishscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2308310175 Received-SPF: pass client-ip=17.58.63.175; envelope-from=me@rosstimson.com; helo=st43p00im-zteg10063401.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Mailman-Approved-At: Fri, 01 Sep 2023 02:30:26 -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: -0.0 (/) =46rom 00b2b7f5a456278325334509a1396e6b9307914d Mon Sep 17 00:00:00 2001 From: Ross Timson Date: Thu, 31 Aug 2023 20:28:22 +0100 Subject: [PATCH] Eglot: add support for terraform-ls Adding support for the official Terraform LSP server. --- lisp/progmodes/eglot.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 65daa0941d5..3375e7969c2 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -257,7 +257,8 @@ chosen (interactively or automatically)." . ,(eglot-alternatives '(("marksman" "server") = ("vscode-markdown-language-server" "--stdio")))) - (graphviz-dot-mode . = ("dot-language-server" "--stdio"))) + (graphviz-dot-mode . = ("dot-language-server" "--stdio")) + (terraform-mode . ("terraform-ls" = "serve"))) "How the command `eglot' guesses the server to start. An association list of (MAJOR-MODE . CONTACT) pairs. MAJOR-MODE identifies the buffers that are to be managed by a specific --=20 2.39.2 (Apple Git-143) From unknown Sat Jun 14 03:57:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65671: Eglot: add support for terraform-ls Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Sep 2023 16:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65671 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: me@rosstimson.com Cc: 65671@debbugs.gnu.org, =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Received: via spool by 65671-submit@debbugs.gnu.org id=B65671.169358427827097 (code B ref 65671); Fri, 01 Sep 2023 16:05:01 +0000 Received: (at 65671) by debbugs.gnu.org; 1 Sep 2023 16:04:38 +0000 Received: from localhost ([127.0.0.1]:33718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qc6dS-00072z-2E for submit@debbugs.gnu.org; Fri, 01 Sep 2023 12:04:38 -0400 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]:62508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qc6dM-00072g-GQ for 65671@debbugs.gnu.org; Fri, 01 Sep 2023 12:04:36 -0400 Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-500bdef7167so163462e87.0 for <65671@debbugs.gnu.org>; Fri, 01 Sep 2023 09:04:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693584257; x=1694189057; 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=8PaWdwvyb2nAYV39D7ywP6spuXLnvM37XG+WU37u9io=; b=OO8LKNxuJRifc9/n0GxZNgBTIhmms+tJqwmvew6DK8xSPclTGIYMi0wRggZfWn3+Ue DJwnYkQM2DbUIbCW2wOZ0enkcsq882Jq4y/aV+ZV9CKMf/hq9BfyQb3ll5BhBKk2Acxx y8fdZvO2odusFiFbaTF91dfC6EyG+Dt/LJZFRDxGGme1Xjz2znJU1JlAoHs5+9o7MTY7 0qL/S5W37Yt2reAZGSnmPFPsMR66MpD+2imptdbZLDs8t20EOuglLpXIbeElNRRZzj8K drPQuyq3AFxl22eugYwRJ815tVyyFXJTm78Dwb/mHm4hJI8/MjgjaK6OssH2FqFNXj5I keug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693584257; x=1694189057; 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=8PaWdwvyb2nAYV39D7ywP6spuXLnvM37XG+WU37u9io=; b=U78a/89NpAWgS3LlO7PXQy1qYkimMJEvjUTDD7A3L3QqOa97Hd3Rn68tRKGYmCHDcr hl049Xkb06o5o5pjhCknuE8C9N5DrmOyx2NemUewuDr+9HVWC4WngO02RE+7acUu71Co yLxu/gaG20sEg3eoqdq3TRlGGyfeykEX6U6sLLN3ICOHJftP195ZkSoXYpC4i6wq4RCk +8nkx6nyiylpL5hV3Q6G2EVjq46VZZ7bRsf6OzLvg3TyINipvjQl8pKuzxBcveKYp7nS eHhm3tnxOPxNtLGsDtG4aIayQwT5tQO4U/pHRcDOhdelkSV1un4lAdgV4J7XFLIaLT/0 Xc9A== X-Gm-Message-State: AOJu0YyDCjHqWuE21LJBbY7c6vgz2dyNleO8H/iyX+WB5vMvFnuoUztS t6d64Z8EvA0B7bgcnmhUp8/+0gRkMHRv8dOshrCJ3XwblIM= X-Google-Smtp-Source: AGHT+IGH0xgI9oOYEwsVdZVEeq8aC5QYS0liSQU41Rt0s6VtU2ivW9wiV/DeaSjqufokshea18SsRtJFFGDD4gv6WbQ= X-Received: by 2002:a05:6512:2215:b0:500:bf44:b2b3 with SMTP id h21-20020a056512221500b00500bf44b2b3mr1046922lfu.21.1693584257186; Fri, 01 Sep 2023 09:04:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Stefan Kangas Date: Fri, 1 Sep 2023 18:04:05 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) 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 (-) > From 00b2b7f5a456278325334509a1396e6b9307914d Mon Sep 17 00:00:00 2001 > From: Ross Timson > Date: Thu, 31 Aug 2023 20:28:22 +0100 > Subject: [PATCH] Eglot: add support for terraform-ls > > Adding support for the official Terraform LSP server. > --- > lisp/progmodes/eglot.el | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el > index 65daa0941d5..3375e7969c2 100644 > --- a/lisp/progmodes/eglot.el > +++ b/lisp/progmodes/eglot.el > @@ -257,7 +257,8 @@ chosen (interactively or automatically)." > . ,(eglot-alternatives > '(("marksman" "server") > ("vscode-markdown-language-server= " "--stdio")))) > - (graphviz-dot-mode . ("dot-language-serv= er" "--stdio"))) > + (graphviz-dot-mode . ("dot-language-serv= er" "--stdio")) > + (terraform-mode . ("terraform-ls" "serve= "))) > "How the command `eglot' guesses the server to start. > An association list of (MAJOR-MODE . CONTACT) pairs. MAJOR-MODE > identifies the buffers that are to be managed by a specific > -- > 2.39.2 (Apple Git-143) Makes sense to me. Jo=C3=A3o, do you have any comments? From unknown Sat Jun 14 03:57:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65671: Eglot: add support for terraform-ls 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: Fri, 01 Sep 2023 16:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65671 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: me@rosstimson.com, 65671@debbugs.gnu.org Received: via spool by 65671-submit@debbugs.gnu.org id=B65671.169358482727892 (code B ref 65671); Fri, 01 Sep 2023 16:14:01 +0000 Received: (at 65671) by debbugs.gnu.org; 1 Sep 2023 16:13:47 +0000 Received: from localhost ([127.0.0.1]:33722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qc6mJ-0007Fn-97 for submit@debbugs.gnu.org; Fri, 01 Sep 2023 12:13:47 -0400 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]:50641) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qc6mG-0007FZ-QA for 65671@debbugs.gnu.org; Fri, 01 Sep 2023 12:13:46 -0400 Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2bcbfb3705dso37076861fa.1 for <65671@debbugs.gnu.org>; Fri, 01 Sep 2023 09:13:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693584809; x=1694189609; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=hjhIpT2Kn+pS/rx5phKdbdkwXL8tORl+EXK43r9O8lQ=; b=nwhWDtkk+n4t353sDZyV4YDkPWr2VHBkROmogfIi2UwJ9FC4whRM1RK185dSNCJsCz SPSvT/hCZX1hRo6YCYYcsh5rCoULriVWYt6aY3K92XZLOOiOczFkYOG9zGeujShysY6H sJoH/FPoy7MSFebj6O9uzq8LzNdogzWCqsxcwcpQpgMdqLn5FFK84ybmLS0jYgGPg9gZ JCasLlbJLcj5N2BW/el2yOCc7+pXIqqukuVi6FbwfI4cHYaifDwF39t1Ozjosbqfm7Qj 3n3OT+3Iexty/JD5EEG7Y/qqcNY2gKKnAXdpsfuiV/kXAUqy8ysMKKCt7B5QHAdvPbiI CAXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693584809; x=1694189609; h=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=hjhIpT2Kn+pS/rx5phKdbdkwXL8tORl+EXK43r9O8lQ=; b=Lbi/luQ4iX51djKpuCydBXCbB16zOHlT9RTAMgi2/ngI5oRVtJ3oIfDs/VYfFsl1Un +z7Zp3R03w3J/2latEfNQtk+yNUgpvQQa3wizpKiqpPJr1CeGQ9mkcH44HbVnSMXeGn7 zmZAHfx9MW5579U68Svfl1BUFLvozkutG9Eq7Mgera9I9CqcFvBojkLgb4IeINkTvt5x oQv9AkL5Gd/jUa6Bubu7ly+SavBZaCglzS9A/eFeO61E0ie4beS9219XvVem3X8K8Rwk AI/onMIRWZ80VYW4LlegCvdZ4l3Idm3yEW9q2x+Gv3gYzBGGKCkpvaw59bTnSHuhTY7R TdDQ== X-Gm-Message-State: AOJu0Yx/HFIQbio73yW6zP369xTSfRrmQTdr2GpOd9MpF+FQzgyiXU54 7xsxJKXF/Ih6XahYtc7GLY1RMMehwhvkOWYs1jA= X-Google-Smtp-Source: AGHT+IEqeqbv7XoULNUf83mqhAwA+dRLjkuRJnmWV7PZK3tqkbwf1dtYkxX4bfg9xnsfLL47OKHrkdVxvbYzeBHfwdE= X-Received: by 2002:a2e:8007:0:b0:2bc:f1a1:29d9 with SMTP id j7-20020a2e8007000000b002bcf1a129d9mr2013925ljg.2.1693584809257; Fri, 01 Sep 2023 09:13:29 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Date: Fri, 1 Sep 2023 17:13:14 +0100 Message-ID: Content-Type: multipart/alternative; boundary="000000000000f3efa406044e70ac" X-Spam-Score: 0.0 (/) 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 (-) --000000000000f3efa406044e70ac Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable No, no comments. Push these simple contributions at will, as usual. It would be useful, at some point, to collect these additions in the etc/EGLOT-NEWS for (grouped in a single bullet, of course). Jo=C3=A3o On Fri, Sep 1, 2023, 17:04 Stefan Kangas wrote: > > From 00b2b7f5a456278325334509a1396e6b9307914d Mon Sep 17 00:00:00 2001 > > From: Ross Timson > > Date: Thu, 31 Aug 2023 20:28:22 +0100 > > Subject: [PATCH] Eglot: add support for terraform-ls > > > > Adding support for the official Terraform LSP server. > > --- > > lisp/progmodes/eglot.el | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el > > index 65daa0941d5..3375e7969c2 100644 > > --- a/lisp/progmodes/eglot.el > > +++ b/lisp/progmodes/eglot.el > > @@ -257,7 +257,8 @@ chosen (interactively or automatically)." > > . ,(eglot-alternatives > > '(("marksman" "server") > > > ("vscode-markdown-language-server" "--stdio")))) > > - (graphviz-dot-mode . > ("dot-language-server" "--stdio"))) > > + (graphviz-dot-mode . > ("dot-language-server" "--stdio")) > > + (terraform-mode . ("terraform-ls" > "serve"))) > > "How the command `eglot' guesses the server to start. > > An association list of (MAJOR-MODE . CONTACT) pairs. MAJOR-MODE > > identifies the buffers that are to be managed by a specific > > -- > > 2.39.2 (Apple Git-143) > > Makes sense to me. Jo=C3=A3o, do you have any comments? > --000000000000f3efa406044e70ac Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
No, no comments. Push these simple contributions at will,= as usual.

It would be useful,= at some point, to collect these additions in the etc/EGLOT-NEWS for (group= ed in a single bullet, of course).

Jo=C3=A3o

On Fri, Sep 1, 2023, 17:04 Stefan Kangas <stefankangas@gmail.com> wrote:=
> From 00b2b7f5a456278325334509= a1396e6b9307914d Mon Sep 17 00:00:00 2001
> From: Ross Timson <me@rosstimson.com>
> Date: Thu, 31 Aug 2023 20:28:22 +0100
> Subject: [PATCH] Eglot: add support for terraform-ls
>
> Adding support for the official Terraform LSP server.
> ---
>=C2=A0 lisp/progmodes/eglot.el | 3 ++-
>=C2=A0 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
> index 65daa0941d5..3375e7969c2 100644
> --- a/lisp/progmodes/eglot.el
> +++ b/lisp/progmodes/eglot.el
> @@ -257,7 +257,8 @@ chosen (interactively or automatically)."
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0. ,(eglot-alternativ= es
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0'(= ("marksman" "server")
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0("vscode-markdown-language-server" "--stdio"))))
> -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (graphviz-dot-mode . ("dot-= language-server" "--stdio")))
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (graphviz-dot-mode . ("dot-= language-server" "--stdio"))
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (terraform-mode . ("terrafo= rm-ls" "serve")))
>=C2=A0 =C2=A0 "How the command `eglot' guesses the server to s= tart.
>=C2=A0 An association list of (MAJOR-MODE . CONTACT) pairs.=C2=A0 MAJOR= -MODE
>=C2=A0 identifies the buffers that are to be managed by a specific
> --
> 2.39.2 (Apple Git-143)

Makes sense to me.=C2=A0 Jo=C3=A3o, do you have any comments?
--000000000000f3efa406044e70ac-- From unknown Sat Jun 14 03:57:43 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: me@rosstimson.com Subject: bug#65671: closed (Re: bug#65671: Eglot: add support for terraform-ls) Message-ID: References: X-Gnu-PR-Message: they-closed 65671 X-Gnu-PR-Package: emacs Reply-To: 65671@debbugs.gnu.org Date: Fri, 01 Sep 2023 18:03:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1693591382-6743-1" This is a multi-part message in MIME format... ------------=_1693591382-6743-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #65671: Eglot: add support for terraform-ls which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 65671@debbugs.gnu.org. --=20 65671: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D65671 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1693591382-6743-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 65671-done) by debbugs.gnu.org; 1 Sep 2023 18:02:51 +0000 Received: from localhost ([127.0.0.1]:33826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qc8Tr-0001kP-CF for submit@debbugs.gnu.org; Fri, 01 Sep 2023 14:02:51 -0400 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]:52695) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qc8Tq-0001k9-8V for 65671-done@debbugs.gnu.org; Fri, 01 Sep 2023 14:02:50 -0400 Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-500bb392ab7so3898851e87.1 for <65671-done@debbugs.gnu.org>; Fri, 01 Sep 2023 11:02:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693591354; x=1694196154; 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=P1MgukBMGiXIqCygQKi1YIN09RtJfoH60/mdaA436OA=; b=CHf25qR2IX0O5OIc6ZQVbbSI0v4nx1yb/qDgDc19G6P83HpnU2GoznCmCtXXaHHFWy opRARVmAS007S64e/55KfTc8E+9Bf7sZDx/Mpr0+PdVF6dxvnSsqthiXoJleBVPSEgJq X1VU1NG/mBUkyLKe5JzT14ztS6q32gNVp5xUaP1ZSg7rZxKd5B4KLmPSp0kBGAzMevfG Q/eESztqlHA3kTk9Fqd1XxfIwx+6d1Y7RJDWMpyVwUsv07xojryT3/XgHpBnZuYJAPgd m+q+G4Gig3krN953e1HvebTbUlFEz8lknPUhvs5BpzdTQ0WwOTfRQPAokrSG9qarLgW6 hfWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693591354; x=1694196154; 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=P1MgukBMGiXIqCygQKi1YIN09RtJfoH60/mdaA436OA=; b=OwEeOL2gbMHUcB/pYCVx27/rjtovSCYylt70XiCVlG6z/sLOpWxboyPcV/+U9cNtID 3Ul6eM+4i+0F/6BrtTjb5vADJbyvJcBIEyHPxNkSuqiKqLJpvrLHc/WZJ7wAivRBggRW NSbeUpSQfVwzQ/vJk2kinQd9AOFNOWyESfpx1jlq0kLpBRit25kivW/GoUXLzgmzjMR1 YwLajiCBBf64CN7cSc7YtEf8hjq21kQmu5893HAGQt3shR6uHEdHN3UqDVTqEtGnGdPq 4H1mqx8Zo0+ze5E180T5h1pmSIoRekxrCDUK4+qLhrLqL8L1kpbvy2SDR5VmoAbRxA61 WGJw== X-Gm-Message-State: AOJu0YzeKnk4xb5QVtEP96c4MnpTtexrb3Z/4Px/hnr3U8j5TAmZGIN4 yIbC3cgKf/SOHKxSUZ9bbrsYUbRCOViXBDFajNc= X-Google-Smtp-Source: AGHT+IHrGu4T/2gzOrg3m6QsaWpdk5sO1j68EuR4V8x2QuL1HWH4yg3V5gEuOqwwEdVKZHDUj8WrxLiez63qY9kPRxg= X-Received: by 2002:a05:6512:a8d:b0:500:8ecb:509 with SMTP id m13-20020a0565120a8d00b005008ecb0509mr2911843lfu.15.1693591353974; Fri, 01 Sep 2023 11:02:33 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Stefan Kangas Date: Fri, 1 Sep 2023 20:02:22 +0200 Message-ID: Subject: Re: bug#65671: Eglot: add support for terraform-ls To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65671-done Cc: me@rosstimson.com, 65671-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: -1.0 (-) Version: 29.2 Jo=C3=A3o T=C3=A1vora writes: > No, no comments. Push these simple contributions at will, as usual. Thanks. Fixed up the commit message and pushed to emacs-29 as commit 369f2eea100. Thank you for the patch, Ross. ------------=_1693591382-6743-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 1 Sep 2023 06:30:28 +0000 Received: from localhost ([127.0.0.1]:59722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbxfn-0003kp-G4 for submit@debbugs.gnu.org; Fri, 01 Sep 2023 02:30:28 -0400 Received: from lists.gnu.org ([2001:470:142::17]:58488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbnTm-0004iW-Pb for submit@debbugs.gnu.org; Thu, 31 Aug 2023 15:37:23 -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 1qbnTX-0007yt-Bi for bug-gnu-emacs@gnu.org; Thu, 31 Aug 2023 15:37:07 -0400 Received: from st43p00im-zteg10063401.me.com ([17.58.63.175]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbnTU-0006De-Nl for bug-gnu-emacs@gnu.org; Thu, 31 Aug 2023 15:37:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rosstimson.com; s=sig1; t=1693510621; bh=1VPI6fw/xtevAjRnc8AsJAJpZzoMclrikY6EYAm8cJs=; h=From:Content-Type:Mime-Version:Subject:Message-Id:Date:To; b=DsbbXXQUJ6vMrRi9kl4TfPtRW2jyDuN3x0hPeD+NnakKl5NRnlRsGLwNx5bRzh+Kx Tik2M5iyaCJNiJuFgY5jI4tTtvUAyVfcmC8t3SAO4MPSLAJmp0nmHBIT2HfdE3w51u 3UyYkqUlb4QjnAhB96kxPk60pKX4y/O3rULlDW4R9jFEAC2fu3KijAL3F5kMKCfrZ+ br/jU1pjTGWohCP+ZuUoRuxyj8GrzNicXSyUynMAQMAh1ONE/lZ0HhBtKrT99OrAMf fGpavrfBzwfklT9uuwBCxnZdwO/qFX8PUkV7cXOGTLgeR12L8UFEpuEFig53HFPuOv gvSaMUmWFdr4w== Received: from smtpclient.apple (st43p00im-dlb-asmtp-mailmevip.me.com [17.42.251.41]) by st43p00im-zteg10063401.me.com (Postfix) with ESMTPSA id 12455C60411 for ; Thu, 31 Aug 2023 19:37:00 +0000 (UTC) From: me@rosstimson.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Eglot: add support for terraform-ls Message-Id: Date: Thu, 31 Aug 2023 20:36:29 +0100 To: bug-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.3731.700.6) X-Proofpoint-GUID: YNPzEwBQ7CPUelR99RamHKSfRsqoeUyc X-Proofpoint-ORIG-GUID: YNPzEwBQ7CPUelR99RamHKSfRsqoeUyc X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.138,18.0.957,17.11.176.26.0000000_definitions?= =?UTF-8?Q?=3D2023-07-31=5F15:2020-02-14=5F02,2023-07-31=5F15,2023-05-22?= =?UTF-8?Q?=5F02_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 bulkscore=0 clxscore=1030 mlxlogscore=285 malwarescore=0 adultscore=0 mlxscore=0 phishscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2308310175 Received-SPF: pass client-ip=17.58.63.175; envelope-from=me@rosstimson.com; helo=st43p00im-zteg10063401.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 01 Sep 2023 02:30:26 -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: -0.0 (/) =46rom 00b2b7f5a456278325334509a1396e6b9307914d Mon Sep 17 00:00:00 2001 From: Ross Timson Date: Thu, 31 Aug 2023 20:28:22 +0100 Subject: [PATCH] Eglot: add support for terraform-ls Adding support for the official Terraform LSP server. --- lisp/progmodes/eglot.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 65daa0941d5..3375e7969c2 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -257,7 +257,8 @@ chosen (interactively or automatically)." . ,(eglot-alternatives '(("marksman" "server") = ("vscode-markdown-language-server" "--stdio")))) - (graphviz-dot-mode . = ("dot-language-server" "--stdio"))) + (graphviz-dot-mode . = ("dot-language-server" "--stdio")) + (terraform-mode . ("terraform-ls" = "serve"))) "How the command `eglot' guesses the server to start. An association list of (MAJOR-MODE . CONTACT) pairs. MAJOR-MODE identifies the buffers that are to be managed by a specific --=20 2.39.2 (Apple Git-143) ------------=_1693591382-6743-1--