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: eglot.el commentary suggestion Date: Tue, 25 Oct 2022 12:00:53 +0100 Message-ID: References: <86lep6juga.fsf@stephe-leake.org> <74041D6B-1149-4C51-B1AF-76397C1DF7F8@thornhill.no> <87tu3tr490.fsf@gmail.com> <87lep543pw.fsf@posteo.net> <8735bdqjs5.fsf@gmail.com> <87h6zsp5sl.fsf_-_@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000b9262e05ebd9ce4c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34136"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 25 13:03:06 2022 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 1onHi6-0008hQ-6C for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Oct 2022 13:03:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onHf2-0000jf-0W; Tue, 25 Oct 2022 06:59:56 -0400 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 1onHf1-0000g7-8A for emacs-devel@gnu.org; Tue, 25 Oct 2022 06:59:55 -0400 Original-Received: from mail-oa1-x32.google.com ([2001:4860:4864:20::32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1onHez-0007G4-Ka for emacs-devel@gnu.org; Tue, 25 Oct 2022 06:59:55 -0400 Original-Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-1322fa1cf6fso15043992fac.6 for ; Tue, 25 Oct 2022 03:59:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=pgIetuQTjq8HEgRjyHH8jS9FFiDHUiYrzCWABpUg5qw=; b=U6EHPovMuAStInsucYxiGNwiVLAFOo8idVRu/XrxyJqLnfuUm7WZjAP3gB3t1/79A+ hMHxUkGMDpVFmZCnW6qKwMJl5Bn6Y7VylykB062ItRcMlwdT3XCpMcJlBMSIaa98fxDm EiXU3nJjIFS+kFqFbh9swkAjqPLrsX99mZyGDHYd/Sz2hH2hNDANBL0hxEVyhrGOfuOJ T2h1NesRDme8TAJflB9X89O7SWJeNlpOrm1JRjsiVZ7vwNrciYx4rvRQhRfKs0fA6qaO AWxjzVq+E9DkYvQEizJG163i52ivwpmPEqlwWaoFxO2a5sQXmzAdYKTIdSMoIxzxazcu RI/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=pgIetuQTjq8HEgRjyHH8jS9FFiDHUiYrzCWABpUg5qw=; b=CtSyJjAzn6Yly3UPGyH+Ahl5/P6457daEBVos3kOApufhMtOHQor1rIR+qRhrlZ+LD UV9EC7ZF3/2FqL/3JY/Y+YSOxrEJIlFFjwoEmyE4UR/ueq5fclSr2Kvo9YL5opSfo/3e qAyzxoFjyoN75eWiDEcxxFXu1r7FhVWKedyuV4C3I/sdAb4IO29Ehe5mbB5Ih5zv331w wG0phc5vRY4fSXf4XTs8vivM7LJ4UI8QUB8SKsy1AXVWNdWtKUUISrSYDS8oPg97K8bL RiUoZ64w7CGbmqKIW6a19oPqV7drOUGrDPB9sam8TF4dZZOVvou3kNPufV1aiZnaxBnY PUCg== X-Gm-Message-State: ACrzQf2gf5lgaTmMdr6gfREz6S9co0R6kMrhM7bA2PdezGvOILL/8Ea5 86GkYxuESnfTkjTXIQKwNExIJUyrUjeTFOY7LjE= X-Google-Smtp-Source: AMsMyM7hBOBWI0ZbI19ssWazb0omvEM50UZFPnhvQu3lmOalcohjW+lrZetRmEKn5ZUOMdhLBF/pfM9UppoE17ifeoE= X-Received: by 2002:a05:6870:e242:b0:13b:d561:ad02 with SMTP id d2-20020a056870e24200b0013bd561ad02mr3678322oac.215.1666695592223; Tue, 25 Oct 2022 03:59:52 -0700 (PDT) In-Reply-To: <87h6zsp5sl.fsf_-_@gmail.com> Received-SPF: pass client-ip=2001:4860:4864:20::32; envelope-from=joaotavora@gmail.com; helo=mail-oa1-x32.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 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: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:298450 Archived-At: --000000000000b9262e05ebd9ce4c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Robert, thanks for reading the commentary, On Tue, Oct 25, 2022 at 11:16 AM Robert Pluim wrote: > Jo=C3=A3o> Yes. Be sure to read the commentary on the file's header a= ble compatibility > Jo=C3=A3o> with other Emacs versions, and design philosophy in genera= l. Happy to add > Jo=C3=A3o> clarifications. Grammar fixes welcome there, too ;-) > I know we all laugh about how we=CA=BCre all pedants, but there are peopl= e > who suffer from debilitating OCD and related syndromes, so perhaps we > can tone down the humour: Or we can turn it up to 11 with your other much better suggestion! -;; of Emacs power users, but these users can use `eglot-stay-out-of' -;; and `eglot-managed-mode-hook' to quench their OCD. +;; of Emacs power pedants, but these users can use +;; `eglot-stay-out-of' and `eglot-managed-mode-hook' to quench their +;; debilitating OCD and related syndromes. Then maybe add a heart emoji or fluffy ascii kitten to subdue the hyperventilation. I'd focus efforts on making eglot-stay-out-of and e-m-m-hook less necessary in the first place. For example: * If the default of eldoc-documentation-strategy were eldoc-d-compose Eglot could stop setting eldoc-documentation-strategy and tweak more ElDoc stuff. * If Eglot supported multiple LSP servers simultaneously, less people would need to tweak flymake-diagnostic-functions to add e.g. a ESlint backend to it. * If Emacs had a decent built-in TUI and GUI completion tooltip with less baggage, Eglot could stop setting company-backends, etc. * I _think_ Eglot can already stop setting xref-prompt-for-identifier, but I'm not 100% sure. -- Jo=C3=A3o power pedant doctrinaire emeritus III --000000000000b9262e05ebd9ce4c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Robert, thanks for reading the commentary,

On Tue, Oct 25, 2022 at 11:16 AM Robert Pluim <rpluim@gmail.com> wrote:
> = =C2=A0 =C2=A0 Jo=C3=A3o> Yes. Be sure to read the commentary on the file= 's header able compatibility
> =C2=A0 =C2=A0 Jo=C3=A3o> with o= ther Emacs versions, and design philosophy in general. Happy to add
>= =C2=A0 =C2=A0 Jo=C3=A3o> clarifications. Grammar fixes welcome there, t= oo ;-)
> I know we all laugh about how we=CA=BCre all pedants, but th= ere are people
> who suffer from debilitating OCD and related syndrom= es, so perhaps we
> can tone down the humour:

Or we can turn i= t up to 11 with your other much better suggestion!

-;; =C2=A0 of Ema= cs power users, but these users can use `eglot-stay-out-of'
-;; =C2= =A0 and `eglot-managed-mode-hook' to quench their OCD.
+;; =C2=A0 of= Emacs power pedants, but these users can use
+;; =C2=A0 `eglot-stay-out= -of' and `eglot-managed-mode-hook' to quench their
+;; =C2=A0 de= bilitating OCD and related syndromes.

Then maybe add a heart emoji o= r fluffy ascii kitten to subdue the
hyperventilation.

I'= d focus efforts on making eglot-stay-out-of and e-m-m-hook less necessary <= br>
in the first place.=C2=A0 For example:

* If the defa= ult of eldoc-documentation-strategy were eldoc-d-compose Eglot could
=C2= =A0 stop setting eldoc-documentation-strategy and tweak more ElDoc stuff.
* If Eglot supported multiple LSP servers simultaneously, less people= would need to
=C2=A0 tweak flymake-diagnostic-functions to add e.g. a E= Slint backend to it.

* If Emacs had a decent built-in TUI and G= UI completion tooltip with less
=C2=A0 baggage, Eglot could = stop setting company-backends, etc.

* I _think_ Eglot can alre= ady stop setting xref-prompt-for-identifier, but I'm not
=C2=A0= 100% sure.

--
Jo=C3=A3o = power pedant doctrinaire emeritus III
--000000000000b9262e05ebd9ce4c--