From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.devel Subject: Re: Explain a bit more on how to configure language server in Eglot's manual Date: Mon, 06 Mar 2023 17:10:00 +0100 Message-ID: <87r0u1q2sn.fsf@gmail.com> References: <87cz5mqicb.fsf@gmail.com> <874jqyqh51.fsf@gmail.com> <87v8jeowmc.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="8472"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Pedro Andres Aranda Gutierrez , Yuan Fu , Emacs developers , Stephen Leake To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 06 17:10:55 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 1pZDQM-00024h-PP for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Mar 2023 17:10:54 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZDPe-0006I4-F6; Mon, 06 Mar 2023 11:10:10 -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 1pZDPc-0006Gc-An for emacs-devel@gnu.org; Mon, 06 Mar 2023 11:10:08 -0500 Original-Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZDPa-0000VU-Hy for emacs-devel@gnu.org; Mon, 06 Mar 2023 11:10:08 -0500 Original-Received: by mail-ed1-x536.google.com with SMTP id x3so40687169edb.10 for ; Mon, 06 Mar 2023 08:10:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678119004; 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=YMlPwiAECkITPGeM4GeQQH2jDad9sZZYFTxJHnDHzoY=; b=c2NSO6FtJeShT3NlnGYp8IdP0n39R+uBSVG08mrX/AdAXoE80ORciSZMaTu1RIUU5j scqNy0HDlbCOUFy9LKvUB2lNXzSpM/1a/UKI5UHXwjYRXmNMdgLF0JAnOqcg0bmGbemR ew9V90IBOxtoeqfqqkZR97SMr6iGLulZV69akY8yTq7bO6usdVnSQFd51jODrDzjOpys YmY6dVIlG+kt5nm7pFJjgtB7JZI+RocmeXhVau7RO1c3Tv43qzGR8vYAwnP/3GdpJGxi hmZVg0NRY+co7GFAMHnUBVVQNsgF5obBqkWs852YZXK0pJeubyC2WAkiyeyriVWaKEX4 s1ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678119004; 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=YMlPwiAECkITPGeM4GeQQH2jDad9sZZYFTxJHnDHzoY=; b=Pu5cX1VHlSVZTZEOvUe+3rejvYUJUJysOIHf7SyVlA45crtALOg67nyyOQQ3ind+KL A7hy4wgeGt9dUMUjgaq3vu/6XVHIHMuYHTt3mTC85hfHBSoUbVAyx813Ty+2oh6plOEb E+nY23vHHlzwiHksMf2eicYHBqbQ9oinvYCaObgD9FLL6Gr8nCvygHjzwkaCBKrSaViw XweQhrSoSjpy9h/zI94h3BKWXT4hAu3BUyBHF5JfHTyIY5vtMIpkV/ieYbZ56WMYKCtT NGaHi2j9M4vsDuQw1WO4oLSnlbDYPHOE6IBMl6tprYeeTgepN/Y9UNMy2H3jR5mBH1D+ dcrA== X-Gm-Message-State: AO0yUKX7eroMizbrA5gIVRm1kiYRErUrmTMfNRmS2UT7u9mbyYfwZLmQ wyzdJMd7ZtYw7Vt53ku3GIw= X-Google-Smtp-Source: AK7set9SYGaWnv+Aq+g3/UzFkt0kyTueQdmfGsITR/DgtVl5J/hKWYKFvuN5Empk/0TCcJi06/zpOw== X-Received: by 2002:a17:907:8747:b0:87f:a197:5666 with SMTP id qo7-20020a170907874700b0087fa1975666mr12262446ejc.5.1678119004533; Mon, 06 Mar 2023 08:10:04 -0800 (PST) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::8b3a]) by smtp.gmail.com with ESMTPSA id f20-20020a1709064dd400b008ec43ae626csm4728830ejw.167.2023.03.06.08.10.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Mar 2023 08:10:03 -0800 (PST) In-Reply-To: (=?utf-8?Q?=22Jo=C3=A3o_T=C3=A1vora=22's?= message of "Mon, 6 Mar 2023 13:50:20 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=arstoffel@gmail.com; helo=mail-ed1-x536.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:304053 Archived-At: On Mon, 6 Mar 2023 at 13:50, Jo=C3=A3o T=C3=A1vora wrote: > I'm not a fan of Customize myself, and AFAIK it doesn't support > dir/file/buffer variable locality cleanly (or at all). I think > the enhancements we are talking about should go to the existing > add-dir-local-variable, add-file-local-variable etc. Of course > you may convince others of the contrary and go on a Customize > overhauling adventure (of which I will probably not be a part of). To be clear, I didn't mean that we should use Customize to save the values. I just said a Customize-type buffer with widgets could be used to view and edit the so-called "workspace configuration". If you use Gnus, I'd suggest to try M-x gnus-group-edit-group-parameters and M-x gnus-group-customize in the Group buffer to see how the two ideas I raised here look like in practice. > 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. 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.