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 to core [Was: rmsbolt.el [Was: Colorful line numbers]] Date: Mon, 25 Jul 2022 12:01:56 +0100 Message-ID: References: <87leslpow2.fsf@gmail.com> <83ilnpl8e0.fsf@gnu.org> <874jz9peq0.fsf@gmail.com> <837d45l6ge.fsf@gnu.org> <87zgh1nyo6.fsf@gmail.com> <831qudl1k3.fsf@gnu.org> <87v8rpntiv.fsf@gmail.com> <83sfmtjjy8.fsf@gnu.org> <87fsitnpxd.fsf@gmail.com> <83k085jgxr.fsf@gnu.org> <87tu77vq1a.fsf@eve> <874jz6mj6b.fsf@gmail.com> <87r12aypas.fsf@yahoo.com> <87h735zp5o.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d47da405e49f185c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6615"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , Stefan Kangas , Eli Zaretskii , emacs-devel To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jul 25 13:02:28 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 1oFvr1-0001YL-QL for ged-emacs-devel@m.gmane-mx.org; Mon, 25 Jul 2022 13:02:27 +0200 Original-Received: from localhost ([::1]:34730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFvr0-0007cE-FQ for ged-emacs-devel@m.gmane-mx.org; Mon, 25 Jul 2022 07:02:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFvpY-0006D1-8B for emacs-devel@gnu.org; Mon, 25 Jul 2022 07:00:57 -0400 Original-Received: from mail-oi1-x235.google.com ([2607:f8b0:4864:20::235]:46874) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFvpW-0008WU-JW; Mon, 25 Jul 2022 07:00:55 -0400 Original-Received: by mail-oi1-x235.google.com with SMTP id v130so7820521oie.13; Mon, 25 Jul 2022 04:00:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=W4BALK1/5E32sXx2OrhxnRlWh2Mpw9mZW0I0NvVOF4M=; b=Ud4/4j38pdjXQllBY4MW/fNgKLILAKKmjEDEiCC4SDtcIX8CFNfxXNcFU2EwOzlFGo c4fhiRGLLI4b11QtBobtsFlam6r3ZLQjvO6yiLm0ASItsL0kUNrBk8EJP3oeQu7FKLoH if4EX7cVr4qkWBr0i4bB4X5vHU4SaVAGSz9lY4Ihld0UMsjcrHsYwveyKK9Oav+bWa8B ExtDahbq+7NzTdJ2WGQT7Tw1TTbViZi40mSSHGn1TFe6hGNoNBGVdC6jXwo6nvVQJrfk 6vhQts7WMeYxoHWA/CukMHt1r09iB8EipSiTQfSLj7ZYibUZSjz7zc+KckOa+CRP478O wOjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=W4BALK1/5E32sXx2OrhxnRlWh2Mpw9mZW0I0NvVOF4M=; b=ur6JGoNJ8rYZRlIAJbvP6PYKJF7VHLamLc+klyTYSj+BCjSdaEC4iaU9/VRGhgJfIJ AnyvoE1fo5kZU3LpUqiypFi5tkAAL3IvSM4Rc01tTMmphQq93cYsZZJdgIwr4Zqp2Utv zXcFqWfTCmkEklQJ4aPCt+WbMFXc8JatSvmG0f5ufmjeAH1/CmSzTx8o7U+0qMyyGRfG jyzlfpcEGzIQ0f78oJNAEVEwqHWLt3thHcL8eGSykqafl+yhwdmT06xH5wRykwlYZAZx vVmhn1yYVSdbWQW5Ah3X3lByOD5Ov9eiL3UFH0b2a7oIFCyqckuWX0kdXuNcU/XFACJG 4OXQ== X-Gm-Message-State: AJIora/IBKK/PTi3gTeghQbD1i08fpX5elo4xH1ihxAT47syQTejIUIb X+FEku/iSa+PVpX95ZY1AzkTyTepozYrrRvVIUs= X-Google-Smtp-Source: AGRyM1sejSHng36fvCxvJPhimiamJsV44EV3t74cU5cIDDbkcqs1LTldQfJhpM8T8d9uNHUSid/lNeXaRd6zhTajsp4= X-Received: by 2002:aca:210e:0:b0:33a:3557:b224 with SMTP id 14-20020aca210e000000b0033a3557b224mr12760696oiz.209.1658746851063; Mon, 25 Jul 2022 04:00:51 -0700 (PDT) In-Reply-To: <87h735zp5o.fsf@yahoo.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::235; envelope-from=joaotavora@gmail.com; helo=mail-oi1-x235.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-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" Xref: news.gmane.io gmane.emacs.devel:292623 Archived-At: --000000000000d47da405e49f185c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jul 25, 2022 at 7:23 AM Po Lu wrote: > > So I see no need to rename it. But we can definitely add various ways > > to make it easier to find, such as adding a `language-server-mode` > > alias. > I think a major improvement would be for searching "Language Server" in > Custom to find variables defined by eglot. Makes sense, but keep in mind that in contrast to some other "super popular" LSP packages Eglot provides very few of these. Only 10 currently. I intend to keep this set minimal, maybe even remove some (but not right away). One of the points of bringing Eglot into core is that it can be used as a library by other major modes, who are free to build on top of Eglot's API. Thus language server support becomes somewhat transparent (according to Stefan's recent definition): users don't need to know -- to some reasonable extent -- that Eglot as an LSP client is being used, just as they needn't know that tree-sitter is being used to provide, say, a better C++ mode. Jo=C3=A3o --000000000000d47da405e49f185c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Jul 25, 2022 at 7:23 AM Po Lu <luangruo@yahoo.com> wrote:

> > So= I see no need to rename it.=C2=A0 But we can definitely add various ways> > to make it easier to find, such as adding a `language-server-mo= de`
> > alias.
> I think a major improvement would be for se= arching "Language Server" in
> Custom to find variables def= ined by eglot.

Makes sense, but keep in mind that in contrast to som= e other "super popular" =C2=A0LSP
packages Eglot provides very= few of these.=C2=A0 Only 10 currently.=C2=A0 I intend to keep this
set minimal, maybe even remove some (but not right away).
One of the points of bringing Eglot into core is that it can b= e used as
a library by other major modes, who are free to build on top= of Eglot's API.=C2=A0 Thus
language server support becomes somewhat= transparent (according to Stefan's
recent definition): users don= 9;t need to know -- to some reasonable extent -- that Eglot
as an LSP cl= ient is being used, just as they needn't know that tree-sitter is being=
used to provide, say, a better C++ mode.

Jo=C3=A3o --000000000000d47da405e49f185c--