From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tim Cross Newsgroups: gmane.emacs.devel Subject: Re: Renaming eglot -- or at least add an alias? Date: Sun, 02 Oct 2022 12:31:10 +1100 Message-ID: <86sfk7hse3.fsf@gmail.com> References: <83pmfdduix.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35656"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.9.0; emacs 29.0.50 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 02 04:28:10 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 1oeoi9-000957-L1 for ged-emacs-devel@m.gmane-mx.org; Sun, 02 Oct 2022 04:28:09 +0200 Original-Received: from localhost ([::1]:50998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeoi8-0000pF-3M for ged-emacs-devel@m.gmane-mx.org; Sat, 01 Oct 2022 22:28:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeohQ-00007C-Al for emacs-devel@gnu.org; Sat, 01 Oct 2022 22:27:24 -0400 Original-Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]:35807) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oeohO-0000wO-E0 for emacs-devel@gnu.org; Sat, 01 Oct 2022 22:27:23 -0400 Original-Received: by mail-pf1-x42f.google.com with SMTP id i6so7463797pfb.2 for ; Sat, 01 Oct 2022 19:27:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:to:from:user-agent :references:from:to:cc:subject:date; bh=CaDtP9jAUxp++Yl1sqmgCQH+FclqlGSxojQBiykmbSs=; b=kXC6T5KcHCgpzqJHV9Lm8ON6cZxSWxDLn9WO81eOpk1OmHgAr3PiSEQZzh9CMYIIFZ aYivOz3ZwV5779OdWZV/eAOGJ+s7maQ1987loTwSb3MXmUHRrvfXqLAIjJR3mSRuz15p 4LeQDJ0uPMKkoGRjBHk98ilepfariuTDvk/CJVzVXwlifWforPKs+WxgABsNM1Q1ieYO OaI0eGYl8Y79pmA0fjYMQ4cvIAqz48W7CU6QcaW2GzIhMsh28rFp0bQv9ZQM4OJIMBpJ JO2chf5f8BkhE73j/mdWVbjBvbkPN0BocHei59rXI9GIeiQzfrltgbNjlPDeYSw+XBAW LUyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:to:from:user-agent :references:x-gm-message-state:from:to:cc:subject:date; bh=CaDtP9jAUxp++Yl1sqmgCQH+FclqlGSxojQBiykmbSs=; b=za1Xbxmn6EXj94iebX0XbZ1p+5oewnWrFRh6H1zNG5lU5MO0zLO1kSHO2uSDd7Kb4z /DFUO3Oy76HmVz+Yc2jX9ZM2pEtAKkKHx0FNJR2V4nGKCSiviTKJNa/Th3hZBYKDctti Ynq8ZLT0VnH/AqjV4RQ2TINnQ2kbCLotPRAQIhn6rMB10lTnfxF8AsTjO3sZnDsh2mzz WCF1PgqUutDsJs+Anbi2AqQPs48nuvmqPdQJ/UjdPyT/OrIkADvVdhP5dsSDEImH2uMn s6iynfiTLTJcqWAuYsaW9DcCZbUU229BjEq3v2rQUaJ+ZKYp1AtxHhbLn979IOQsnjL3 vu3g== X-Gm-Message-State: ACrzQf0bXRLp6HIgABS6dd3sNpT8kWGV5XH9k/ZIWtVs8heGSUQK7jh6 v7CvVMdLSwKoGJEjPnodMsr58mO1aFw= X-Google-Smtp-Source: AMsMyM5IF5HJAC+YZjzCdKO0WscC3ZwKTrUm4YuY4gm+ANcU5Uw3eCH/YqDhgWWJnJh/oL+9rkImzQ== X-Received: by 2002:a63:1d1:0:b0:43a:348b:63fd with SMTP id 200-20020a6301d1000000b0043a348b63fdmr14026329pgb.52.1664677640429; Sat, 01 Oct 2022 19:27:20 -0700 (PDT) Original-Received: from dingbat (124-169-22-230.dyn.iinet.net.au. [124.169.22.230]) by smtp.gmail.com with ESMTPSA id y17-20020a170903011100b001788494b764sm4490277plc.231.2022.10.01.19.27.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Oct 2022 19:27:19 -0700 (PDT) In-reply-to: Received-SPF: pass client-ip=2607:f8b0:4864:20::42f; envelope-from=theophilusx@gmail.com; helo=mail-pf1-x42f.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:296569 Archived-At: Richard Stallman writes: > > Can anyone suggest a way to describe the job that Eglot does, NOT > using technical jargon, or implementation details such as "LSP"? Isn't that the crux of the issue - it seems nobody has any suggestion any better than eglot. Quite a few of the suggestion are worse. One thing you could do is just call the package eglot-lsp, which might give you the additional name info you seem to desire. The package namespace could remain eglot-*, so perhaps would not have the overhead and delay to release of Emacs 29 which a full rename would cause. Personally, I would just stick with eglot as I think this whole argument regarding the need for package names to describe their functionality is misguided. Great if you can do it, but should not be a necessity. In general, it seems only very simple and single purpose packages lend themselves to clear descriptive names. For example, tempo, skeleton and flycheck. Few packages which perform multiple functions seem to have the sort of descriptive name you are after. The name closest to function I can think of for eglot would be lsp-client, but that is too close to lsp-mode and in general, too close to 'lisp' and 'elisp'. Using the full name i.e. language-server-protocol-client is cumbersome, we be shortened in actual use and will likely result in confusion with lsp-mode. A good name is the one which you can easily remember and communicate. Once you are told what eglot does, you will remember it. You don't need its function to be in the name. > Would the word "parse" be good? "Code-analyze"? > I never used Eglot so I don't know what it does. No, none of those words/terms are appropriate. Eglot is essentially just a client for servers which implement the language server protocol. It simply takes the data provided by those servers and uses it to annotate your code using flymake. It is just the glue between a language server and flymake - we could call it language-glue or ide-glue! Neither are jargon or too technical (I doubt IDE is considered jargon or technical these days). If you are going to insist on a new name, I would suggest you also need to understand what eglot is and what the language server protocol architecture is about. Without these key elements, you are unlikely to be in a position to judge the suitability of the name. See for example https://whatacold.io/blog/2022-01-22-emacs-eglot-lsp/ https://langserver.org/