From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Explain a bit more on how to configure language server in Eglot's manual Date: Mon, 6 Mar 2023 16:25:14 +0000 Message-ID: References: <87cz5mqicb.fsf@gmail.com> <874jqyqh51.fsf@gmail.com> <87v8jeowmc.fsf@gmail.com> <87r0u1q2sn.fsf@gmail.com> 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="14369"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Pedro Andres Aranda Gutierrez , Yuan Fu , Emacs developers , Stephen Leake To: Augusto Stoffel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 06 17:26:16 2023 Return-path: Envelope-to: ged-emacs-devel@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 1pZDfE-0003cQ-T3 for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Mar 2023 17:26:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZDea-0004xL-48; Mon, 06 Mar 2023 11:25:36 -0500 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 1pZDeT-0004oG-4l for emacs-devel@gnu.org; Mon, 06 Mar 2023 11:25:34 -0500 Original-Received: from mail-oi1-x234.google.com ([2607:f8b0:4864:20::234]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZDeR-0003FW-L7 for emacs-devel@gnu.org; Mon, 06 Mar 2023 11:25:28 -0500 Original-Received: by mail-oi1-x234.google.com with SMTP id e21so7491774oie.1 for ; Mon, 06 Mar 2023 08:25:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678119926; 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=G33aKyMia/RI1JLJk9k7CLiwb1KKyOYmH7XAp5CEzvQ=; b=GkDhVUo3yyUUStqiHPEhSL4jT5yG+yTszSoYAkK/IK759AoYRECHtx4Db3eTWQ1LC6 eaIRMNbrW76nNhdCfLFgUHIR7aUEvGSpx+7v61YoZwjM/kuk8hxkmKaqer/nVg001Dhj wL/19C3l6tQANRNNOliAWK9iSd41NSeEXQVzK3T+2k+LEjLy2VRdLsReakv91OQmkIEX pHJxMz4os8NWAq+nNC3rX2Aydi2vw4elHVQTYRAgwyW7Qo2PePI4EfFjHUOk6UJscxub pbWdGkYYxG89uK+N4cP9r7OzyTiZOME+zTbhNP4+ew4xX1wVQbonAypS/FweDaCDHSYC nzDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678119926; 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=G33aKyMia/RI1JLJk9k7CLiwb1KKyOYmH7XAp5CEzvQ=; b=tGsA+T5E8g9Gk94CHg8IqXBhtUpVVDxcvEIDt8o4Q9dK0eCkLkb82EKHXs7pqMABo+ qR2dOZPYXrq2mJ9xRpMMDyrxKhiBppek3nL2QhnYZ/vFHJ12as5HF9JlFh9Xr+DJmupD FLNdzUWXRsxIFWd0twnGMMWYFktJTEwN690o2PQu4qEdvIgoXVwS5c7SnJ9edJPNie6E 9cVumQ70YcC3riSHSB2G92Yn0gtHFjmvUHjzFJ04mzLRJsRedxU9GsEFzo1gfUdyBv+Z y/yZbZSvtrxZmXTdqTAzXJyQS978YTZJt00x7mSvGJIOpeN+ILFpS5X9E2KbqZ7UTXxq gN+A== X-Gm-Message-State: AO0yUKWvHmuwDSls1w6I2uyzjsSgRAJgyRsRXzJ19BRxDPMNGtABCZrh 2rweZrT90vckFU+EZj4Id1lZS9T5/j2kqstbjKY= X-Google-Smtp-Source: AK7set8qy/RloZO8Hg78uh0syXFzVVD5UVkKedVqkHDMmFpPJtukPLpNznJcdO0zxvVeDMww3vEDlm0oQmeLNEKezvU= X-Received: by 2002:a05:6808:7c5:b0:37f:a3b7:c877 with SMTP id f5-20020a05680807c500b0037fa3b7c877mr3701295oij.8.1678119926176; Mon, 06 Mar 2023 08:25:26 -0800 (PST) In-Reply-To: <87r0u1q2sn.fsf@gmail.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::234; envelope-from=joaotavora@gmail.com; helo=mail-oi1-x234.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-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:304055 Archived-At: On Mon, Mar 6, 2023 at 4:10=E2=80=AFPM Augusto Stoffel wrote: > > Anyway if eglot-dotted-to-plist appears in eglot.el anytime soon, > > it's an improvement to work with a-d-l-v and a-f-l-v or whatever > > variable setting-methods are available today ortomorrow. > > I think this could be helpful; maybe a lot, maybe just a little. If I > may give an honest opinion, I think you've searching for the minimal > quick fix for this configuration conundrum for some time now and it > doesn't look it's working. I'm looking for the right fix. Proceeding minimally and deliberately is how I roll, and that's how I avoid bloat that I know I won't have time to maintain. > We wouldn't be discussing any of this is LSP servers had configuration > files like any other normal program, but, given the state of affairs, we > should just decide on an "actually good" solution and spend the 300 LOC > it takes to implement that. I gave my take on where those 300 LOC should be spent: add-dir-local-variable with new edit-in-buffer option, an eval option, and a fill-in-existing-value option. As a bonus, all those are orthogonal, so you can do 100 + 100 + 100. Jo=C3=A3o