From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Felician Nemeth Newsgroups: gmane.emacs.devel Subject: Re: Renaming eglot -- or at least add an alias? Date: Sun, 09 Oct 2022 16:45:19 +0200 Message-ID: <8735bxoy2o.fsf@betli.tmit.bme.hu> 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> <87c5875e-e448-cd0f-942e-a1c8e3d57d22@yandex.ru> <87a665ozqo.fsf@betli.tmit.bme.hu> <911444af-7fca-9560-0ded-894ca464780a@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12934"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: Eli Zaretskii , rms@gnu.org, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 09 16:46:29 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 1ohXZU-00039L-Tl for ged-emacs-devel@m.gmane-mx.org; Sun, 09 Oct 2022 16:46:28 +0200 Original-Received: from localhost ([::1]:42716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohXZT-000874-FQ for ged-emacs-devel@m.gmane-mx.org; Sun, 09 Oct 2022 10:46:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohXYU-0007JN-Kx for emacs-devel@gnu.org; Sun, 09 Oct 2022 10:45:26 -0400 Original-Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:45696) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohXYR-0000z8-Q7; Sun, 09 Oct 2022 10:45:26 -0400 Original-Received: by mail-ed1-x536.google.com with SMTP id a67so3477491edf.12; Sun, 09 Oct 2022 07:45:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:face:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=EBwCNhH2wfWp41ipP8oaLeOHdC5Ofw9xV6fv34D9GV8=; b=E11CIPFyrScpyGiiNxvExGFwAs/7TrJndy7wMaRVkjKSPDIpQf6XBrHQJl50yEpnhN fEsHdEiEViiOFh7Lu5wx9LzobSVvvJMF3Ah/NY/0qMd/WFgW5+o3R2PrqLXMiymcq98e +uVrBWpUCQwyXHdXUMRRYVRAFkjgG29F4M+/xxuoNRfnmQnCCs0HMc20tWXyOL3YzUc5 DKQ/eu/FE94iFz0l55aGPMZA4Kl+aLqmew0FwuiPOUPmJnuGDpg92e2gjxifLyxo7n91 FAcaOTAQnpN47vbZKuebE2ErJz4Rivp3G9JpIJFTQxTagnXMMObPm2tXqPmeLhzRNthq HaGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:face:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=EBwCNhH2wfWp41ipP8oaLeOHdC5Ofw9xV6fv34D9GV8=; b=lrPulEkN+kJAwq00uemC++KK1Wz02d6iw8lGJIyvU1l0ni6Td6hp7olN8Jxvl4Ksws 31ZfKVPaWF9IC6PFcObHimw/YhZAUr57IVJcs6JuEDpl2BSYygyp6czzoZbgZpsOR3mw 1nEiYguO9LfFqNSOxOYY6wkQpEVKPzac6brwhW/B+pm6stcpwQdJP1KJJmjflJRYaOo0 wQK645bgqheWSWdw5GeHYTncElagn0IO+0B4R5LkPAudn4YK69IfpCMxREhZrslvx4qx +b8pLH3KRSfOk/hrsnwEznaJENzTK43D+Qhd512Pt4HO3vZvfJQJvSNicnQu+6D8sR8u fHLQ== X-Gm-Message-State: ACrzQf0nirfJEb6deC6V0wagAQiRHmX21HIjVfoAisrOzG5/IDeW6CZ1 xll/eqgOcAyfdgFwKCKXUudd7+IvHuQ= X-Google-Smtp-Source: AMsMyM4dCX78WGEjHJp6Yxyh2vDY8z+jzGURNatsQLwMJBTR1MX3oB4AycbzkmvOBULfhHP1mfAXkg== X-Received: by 2002:a05:6402:5483:b0:45c:1336:6d9b with SMTP id fg3-20020a056402548300b0045c13366d9bmr1515421edb.100.1665326720931; Sun, 09 Oct 2022 07:45:20 -0700 (PDT) Original-Received: from betli.gmail.com (catv-86-101-66-128.catv.fixed.vodafone.hu. [86.101.66.128]) by smtp.gmail.com with ESMTPSA id 13-20020a170906308d00b0078c1e174e11sm4018428ejv.136.2022.10.09.07.45.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Oct 2022 07:45:20 -0700 (PDT) In-Reply-To: <911444af-7fca-9560-0ded-894ca464780a@yandex.ru> (Dmitry Gutov's message of "Sun, 9 Oct 2022 17:15:52 +0300") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEWOdXElERN7LDLZs6/l 0dDQq6TepMcqAAACW0lEQVQ4jWWSzY7bMAyEaSm6mypylxjkroTRvUW8d9lavf+r7NDOZotWQHzg lyGHP0Sn5ed9qKrLWWIWos9/QJWIeCSywPNTd/AE0LtwFj7A+3WT5PwfeBrQKcsBnkfwVcNySWQr 3i34XN6gRNgis/v4uwSKHCD9lPitB0Aq9BHfHX4cgsI7cJJfLdZg/4bbCzoRmkD9MsagQSBDedZi CgNxkVSJmSOStTBUBKkywEnEoZzbwWj+ACiVJkF6pOpak2PMCqkMYDpaw+gatLR8atMOrB3JGzmm 3rSQo+tkxU+UAbhQSgtslULhsXKk6+IyQ1QTzeQB0MzjlpkCEUCeUdviWrwBcxVqpZjP+v0MYPA0 aq2rvIEZe4GRM0v+9QIB03rsABVSk5y+Mz3LSzExtJLlCCO6dV1uzDQFTBad+gO0TqqL9XE8x4ek +orvYiMJgzC8e+r6TqaPaK6QyqVNvoHtsRrooQ6tTi4vgaSkd8wIikodB3B0iIk58avsDdYNajpS bSKJ+mQnipGszB6zW4lGgsOkKHE2RWVcBpwhaIv3BYIAu3WsnC7YYKLRchp6w8fRGZIWiZuFsVai 7gbcUcJEhiDZ3K1+uzZvBlfaEO8oH4MLu6/hrKVM7QpQcIXJFuC1XjfbfKRxNslk94l9cYcEihV2 HWyNDQAXaLsvnrSyp7HaQhrAn13V6/XW11nh0XINBOEAV+tHK4EvAGNGvEwc0eZw8Vyr56imYEsV sOW9jxm/yb9AH1ufqGMviIK7A0Tc/723oM3tJ4HTOu9gDr3ftbdkxfdjsUv5AqWKwyfCYo5WAAAA AElFTkSuQmCC Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=felician.nemeth@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" Xref: news.gmane.io gmane.emacs.devel:297275 Archived-At: >>> LSP syntax highlighting is a new-ish thing, and apparently isn't >>> supported by Eglot. >> True, but there is a pending patch by Akib Azmain Turja that adds this >> very feature to Eglot. Akib hopes to start the copyright process soon. >> https://github.com/joaotavora/eglot/pull/839 > > Do you expect it to have advantages compared to using TreeSitter? I'm not very familiar with TreeSitter, but I think TreeSitter would for all practical cases provide a faster/simpler solution to font-locking. (TreeSitter uses an already defined grammar, whereas an LSP server could potentially take into account dynamic information. I've reimplemented the hangman game as an LSP server, and there the color of a word depends on its location within the file. The color of the hanged man could also depend on the number of remaining guesses.)