From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Renaming eglot -- or at least add an alias? Date: Thu, 13 Oct 2022 13:35:20 +0300 Message-ID: <89e74df0-013a-5cad-0c4d-94c6f3298a42@yandex.ru> References: <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> <835ygqg1bh.fsf@gnu.org> <87ilkqbsp3.fsf@thornhill.no> <0ef04e1e-3f6c-31b6-4852-0c9c2c43b912@yandex.ru> <86h708ft1k.fsf@stephe-leake.org> <86bkqgdnz6.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35634"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Cc: Richard Stallman , eliz@gnu.org, emacs-devel@gnu.org To: Stephen Leake , Theodor Thornhill Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 13 13:16:57 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 1oiwCu-00099n-RE for ged-emacs-devel@m.gmane-mx.org; Thu, 13 Oct 2022 13:16:56 +0200 Original-Received: from localhost ([::1]:45256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiwCs-0001B4-TS for ged-emacs-devel@m.gmane-mx.org; Thu, 13 Oct 2022 07:16:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oivZT-0002b6-Fe for emacs-devel@gnu.org; Thu, 13 Oct 2022 06:36:11 -0400 Original-Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:41730) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oivZR-00008d-Go; Thu, 13 Oct 2022 06:36:11 -0400 Original-Received: by mail-wm1-x329.google.com with SMTP id fn7-20020a05600c688700b003b4fb113b86so1132050wmb.0; Thu, 13 Oct 2022 03:35:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=TxFKJqrZ51IBnAOlwpYS1xA0JNSLtoFAcdwLPG7Yhn4=; b=MqnSB6ERa24GdFMjDD86Zv5ZN4tb6kGjZIgqeRebxMsBHkjxG3GwrxjOy1sHAEVoDt D7B9v46qmIMsqnBwpqYD35nAmjY9X1GMH6qg5CHuZULH2WFT4dLyhNBgV4rsJhqzfkx8 mGijWWa9CX2ZOnn9PLDuwUDhbI2RW/OScG5OmFNLq8uyghpt80+/CfyeiF4x0UnZxX18 oo4C64IbSWw2M21eH7JJRTcUW6oKeI7fcFM/WPaHcq/qvbjw1AH9TBoH8CJ8OITGyBgb 5WAjQoZ84sVbPb7feCuVOFq14y02B/lawZNX/MQ5NeC6HOpl8wahfsZnE7IlUSTAn/4Z QU/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TxFKJqrZ51IBnAOlwpYS1xA0JNSLtoFAcdwLPG7Yhn4=; b=EjyG4ME9DodD6jc785x4ap5EnhWKbLa7mAyazsTbcxWH7yWZZZ6ALrrzK722mYEAF0 bEYXf9PlMlZ32AVC/y2fJ3oEk36DTtpczmtCm9N6kXndFkCpLAjrDFik3A04X41OnjHv UmvWhf68/HfuAS77qGoMuSZqZAPf3plaGCrpisAGzpLHnQ38QrXP+DRBCTEEiIVqCkVP 7hhZAqOM+cABzVhH24LYrZa3dMHrvO6G0AuXZNxSRB3sHdV5b7sdoMH5Rx4DPJjcQ0uT oiM/bolV1EZYdL31h5gBjXXzYeNcrg+7uKXyTri/RGqJQNmRfPUDjIWhuGMqKHbL4M06 s5Fg== X-Gm-Message-State: ACrzQf2/qK4QDKVEOAHwxseTaK0A+dsOuyeZ8UQsfPoM/d6ipmYcvBtX t7qoz5/YwkUAaIrK5yH9Tgz41VYqTH0= X-Google-Smtp-Source: AMsMyM5hoHEZlHzqLciT82TMVqU9g7khfnoc6QlTmKq2bAGYUBULqcdg3hhEWIaQRQnL6aoUpP4xQA== X-Received: by 2002:a05:600c:1da2:b0:3b4:856a:162c with SMTP id p34-20020a05600c1da200b003b4856a162cmr5797932wms.28.1665657322840; Thu, 13 Oct 2022 03:35:22 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id f13-20020adff58d000000b0022c906ffedasm1770403wro.70.2022.10.13.03.35.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Oct 2022 03:35:22 -0700 (PDT) Content-Language: en-US In-Reply-To: <86bkqgdnz6.fsf@stephe-leake.org> Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=raaahh@gmail.com; helo=mail-wm1-x329.google.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.528, 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:297673 Archived-At: On 13.10.2022 13:20, Stephen Leake wrote: >> I've been using lsp for a long time, and typing lag can get unbearable >> with servers that sends too much stuff. When 20k completions >> containing_full_ documentation for every result that json gets >> humongous. > Ok, that's actual data. On the other hand, did you measure different > parts of the process, so you are sure that the json is the bottleneck, > and not something else? It's not clear just from this description that a > tree-sitter implementation would be faster. I'm pretty sure that we should support syntax highlighting when the corresponding language server is not installed. Or fails to launch for some reason. We can control which grammars we bundle with Emacs, but we're not going to bundle language servers.