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: Mon, 03 Oct 2022 14:28:32 +1100 Message-ID: <86pmf9shfv.fsf@gmail.com> References: <83pmfdduix.fsf@gnu.org> <86wn9ji3ma.fsf@gmail.com> <87ill13c3j.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30814"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.9.0; emacs 29.0.50 Cc: Richard Stallman , emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 03 05:41:30 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 1ofCKg-0007tQ-Pc for ged-emacs-devel@m.gmane-mx.org; Mon, 03 Oct 2022 05:41:30 +0200 Original-Received: from localhost ([::1]:46742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofCKf-0005yi-3i for ged-emacs-devel@m.gmane-mx.org; Sun, 02 Oct 2022 23:41:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofCJw-0005Ig-8D for emacs-devel@gnu.org; Sun, 02 Oct 2022 23:40:44 -0400 Original-Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]:37864) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofCJu-0002Ga-OL; Sun, 02 Oct 2022 23:40:43 -0400 Original-Received: by mail-pj1-x102c.google.com with SMTP id p3-20020a17090a284300b0020a85fa3ffcso2477471pjf.2; Sun, 02 Oct 2022 20:40:42 -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:cc:to:from :user-agent:references:from:to:cc:subject:date; bh=F0k/lPAlOX5bQfmeKXT/D4/hysydZD96AX4CDk62/b4=; b=RxBcph33BUjCgUXuwgFbvEzfJKDn1v9qTGLMgiTWwYO192ZoAaLRTzcgaMwggy02GI FVvDLQbdxqZMgqXr3KM9IHyQWc9Cv3cNf3o/VX7B/TNJk1JXdbUG5d3FN49NB/o/UUVI kSWWvOS1yODNjZk6dN+S7Y6reQZuajTPSVAnQJIMZ3RP3+gN/vt4rmhyqYJLmVSXSPtC 9upf4ssfdqMqIp9etjkPGEYkJ8JrFC8BZ5GkDc3wc4lJNMlTk66w7kYDjpHhvoRUBJmI EzEd5Y0BH/0eO9LOZSwNs9PCbYY+cJILQfe+AhR0y1V+hyXUy6L5zAwPiaApyYMYZOt1 bsWQ== 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:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date; bh=F0k/lPAlOX5bQfmeKXT/D4/hysydZD96AX4CDk62/b4=; b=JOvtHm3xamCsmQ/SukF/g2dfovLhjs5GhYwKRlOGgaf2uSRZXvcPQU7f4D812dWnzq 30ioAaVhTdC0bcNd5y0IA1R3ciKX7nUteJytTtb65dt0DwgBDa+GoOskyW36Kid++R3Z mqICXAJfxxfSOF+BhfSjhn+anQloY9ixwc9OkZ8EtUN/V3VzrcDwlju433o8bYLlA6DY qBCA4qn58/5iuz2Hw9RccugV73L+jxM8oTlN9Up3tLmHyNZ9NNOgWg7RugLeRTnj4xV4 8cY/2Xhrn5xwX4VBT/MOnQOAscUHp8x529ryZwb00tu+//4hBvemCqbWPMo1DWZOSQbw IX7w== X-Gm-Message-State: ACrzQf3wm4lEfLCIx4xx+P2PWcUcCCm1aP+VTvAOBGTDmbFyUYV1vNDt U47t9BEqbM7gpNnkog9jHvwH1XibqtJf3Q== X-Google-Smtp-Source: AMsMyM67VYLRgIQ0miHug77t7aK5MVZoU8V/HcmCfwTngttvvgUKQbXw57kU+BAHaiHGUVLgrQau0A== X-Received: by 2002:a17:902:aa42:b0:17e:b779:dadb with SMTP id c2-20020a170902aa4200b0017eb779dadbmr5594394plr.11.1664768440444; Sun, 02 Oct 2022 20:40:40 -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 b4-20020a170903228400b001780e4e6b65sm6028523plh.114.2022.10.02.20.40.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Oct 2022 20:40:39 -0700 (PDT) In-reply-to: <87ill13c3j.fsf@yahoo.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::102c; envelope-from=theophilusx@gmail.com; helo=mail-pj1-x102c.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:296729 Archived-At: Po Lu writes: > Richard Stallman writes: > >> I am reputed to be good at that. nstead of telling me how hopeless it >> is, which won't convince me, how about telling me what Eglot does? >> Then we'll see if I come up with a more descriptive name. > > It uses an external program speaking the language server protocol to > provide completion-at-point and cross-referencing (think > xref-find-references and xref-find-definitions.) and a fair bit more like - code snippets - code diagnostics and linting - enhanced documentation and feeds into eldoc - provide code actions to fix diagnostic/linter errors or suggest code refactoring - hovering over symbols provides function signatures/documentation - symbol renaming and other refactoring support Note that what functionality is provided depends largely on what functionality is supported by the specific language server being used. All of the above may not be available in all language servers. It isn't eglot which does any of this - eglot is just the client. The language server is what does the work - eglot just feeds that data into other Emacs facilities, like eldoc, flymake etc.