From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: Renaming eglot -- or at least add an alias? Date: Wed, 12 Oct 2022 16:19:18 -0700 Message-ID: <1B846141-FEFD-49E8-AA03-59D2B647F295@gmail.com> References: <86wn9ji3ma.fsf@gmail.com> <86tu4lsnqk.fsf@gmail.com> <8335c0p2fn.fsf@gnu.org> <83leproov6.fsf@gnu.org> <83fsfzonwn.fsf@gnu.org> <5a1e604c-4500-a476-da3d-259d9057a7f0@yandex.ru> <838rlromxu.fsf@gnu.org> <83h70dk3wf.fsf@gnu.org> <83fsfxk30x.fsf@gnu.org> <83r0zdd1cy.fsf@gnu.org> <83pmexcy1n.fsf@gnu.org> <86r0zdcrnj.fsf@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) 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="38134"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Richard Stallman , emacs-devel@gnu.org To: Tim Cross Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 13 01:20:09 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 1oil1F-0009ip-Oy for ged-emacs-devel@m.gmane-mx.org; Thu, 13 Oct 2022 01:20:09 +0200 Original-Received: from localhost ([::1]:43786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oil1E-0004E8-IY for ged-emacs-devel@m.gmane-mx.org; Wed, 12 Oct 2022 19:20:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oil0X-0003Xe-5s for emacs-devel@gnu.org; Wed, 12 Oct 2022 19:19:25 -0400 Original-Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]:37808) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oil0V-0002z9-B4; Wed, 12 Oct 2022 19:19:24 -0400 Original-Received: by mail-pl1-x62c.google.com with SMTP id d24so283797pls.4; Wed, 12 Oct 2022 16:19:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=6t3m23lWqjufrcwh1Fn2jn5+MNRTAmNEjHkZFDoRflo=; b=Mya37/4VypFIjoGDZbwkrRMSU7HiD6uPiX+dxRvHvZryvazVdkn4Cw61bI4qNpKrkS gIpZHehd+BAfNNTvcO4ytWN+CtiL4lF74xeCsk4Qr1b3PMB2W7/VD2Ze0xOAKSM7/GML syRebmkoWLTfhA+SIsJi0encm2lwWOsVK12IvFOhkUiDeG5toCNLFP0lgbPjZOW8vZX4 6iiCsmbJoEVC8pCs+/R9lSUwrLl2PpCHQwLtsQBb7aKG+LjO/zWZLvBeHeqq2o1SsZ76 ItYjETO8TprgmbNuk6nmt5hmd01HALR615UYkqU6dqzCyMwGLgcoVgvOrQjjLk9+xgRo oLJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6t3m23lWqjufrcwh1Fn2jn5+MNRTAmNEjHkZFDoRflo=; b=hO/FL7Av8Drh8RYu3Qh3OjRkNFilfbe7B8A32gkcD560bwwRJmb7BriFcvTWl6etsf jq3XK0fbadDakoYNRQX5puCb0Rn7ujzayjxpff/tCu9VKnL5Ha91BsziEYcXIKhfaotB nm+CmqKyQcktz7TcrO14lL9T6VnEKzIC7bJik47HXGJShcbFlhyCKLdIbIB84h1xNoEW JpQzjp0tUb77Q/BXG9Qui4nH9J5rFQzq13zSwAll3cSxB9oR9G/ETYZnffyTiWles1Ho 1uF2dhogAheYSYxwDHQ90Iw28XGvWsA9ximKHW6G2ro5jRohUJ6w2OSdyJPJoVryD0NJ i3QQ== X-Gm-Message-State: ACrzQf2RT//KD0DnR1OrFaRkHn+m7Wd6cinUtjNXJkmW/ugO2xMFdk+L taRvIJJ63QcrJOScUmwzus4= X-Google-Smtp-Source: AMsMyM6rzvfVEw5n6HyWB5WHCvgWSOiuVCmcfy7EzoVP1tuFdbM4p1JLrJpnWbuJC6WcSr8vr62adA== X-Received: by 2002:a17:90b:1644:b0:20d:459b:9d81 with SMTP id il4-20020a17090b164400b0020d459b9d81mr7675866pjb.196.1665616760868; Wed, 12 Oct 2022 16:19:20 -0700 (PDT) Original-Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id w7-20020a623007000000b005637e5d7770sm364083pfw.219.2022.10.12.16.19.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Oct 2022 16:19:20 -0700 (PDT) In-Reply-To: <86r0zdcrnj.fsf@gmail.com> X-Mailer: Apple Mail (2.3696.120.41.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=casouri@gmail.com; helo=mail-pl1-x62c.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" Xref: news.gmane.io gmane.emacs.devel:297641 Archived-At: >=20 > This all seems to get very confusing/complicated quite fast. >=20 > In case it helps, as a user, for most of the languages I work in, here > is what I would want (assuming eglot/tree-sitter support available for > each language. >=20 > - Tree-sitter for font lock and indentation. I don't think eglot will = be > fast enough given json parsing and process comms etc. >=20 > - eglot for linting, xref, completion, doc lookup, code actions etc. > Most of the time, I want this on a project rather than a file > basis. Also, I want something which is consistent with co-workers who > use other editors, but the same language server. >=20 > So for me, I want to be able to specify for xxx-mode, use tree-sitter > for font locking and indentation and eglot for everything else. Being > able to easily set that in myh init will be what I am looking for.=20 Thanks for you input. I don=E2=80=99t think eglot (and LSP the protocol) = handles font-lock and indent, and tree-sitter doesn=E2=80=99t do the = things you listed for eglot. So if you just enable tree-sitter and eglot = you should get what you want exactly. I don=E2=80=99t know about eglot, = but we are working on the toggle for tree-sitter right now, you can see = the other thread I started on this topic. Yuan=