From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Making `eglot-server-programs' a custom variable? Date: Thu, 10 Nov 2022 10:24:29 +0200 Message-ID: <83o7tfrzcy.fsf@gnu.org> References: <86fservpri.fsf@gnu.org> <831qqbtixr.fsf@gnu.org> <865yfndy14.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13558"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Tim Cross Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 10 09:24:55 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 1ot2rm-0003PL-AV for ged-emacs-devel@m.gmane-mx.org; Thu, 10 Nov 2022 09:24:54 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ot2rU-0006cr-AV; Thu, 10 Nov 2022 03:24:36 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ot2rS-0006ch-MW for emacs-devel@gnu.org; Thu, 10 Nov 2022 03:24:34 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ot2rS-0005l6-69; Thu, 10 Nov 2022 03:24:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=YnDrnrOgGc0GIpWDLgq1DSRYJEwgDAMRPy3JYsHLMEg=; b=Amn8d+NQUtrT aSB0yVEqj5oaBNrZ7RwSDUvzFd/8AMUjVtyAe6ovvt06/MNTLvD3Dpgv9ddfTrLF0D0m4RkeUAO1u Tn8xcMCSL8d3/1OTvGGtLEEFX4bZfXx7gDhWAufD4y5pm7cce+qwBqVYMPygoXNXTReDLu0/q2hxE ETEYwFDph6z/xj120yCEfojuM/rE712HICBXXLxYV6jF2QQ/9ThDOt6i8ISMCoJKNII66xPwax39F LFeQpBEwhrmFXq3+Ym7TWRtk0qbVKDHPhl3gSF0P1fGWKTsu4iaiIuQbkNry8jM6uEDZUhilSyy2Y 0GztDSRaZmq5AY6t6M2y5A==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ot2rP-00027o-Vn; Thu, 10 Nov 2022 03:24:32 -0500 In-Reply-To: <865yfndy14.fsf@gmail.com> (message from Tim Cross on Thu, 10 Nov 2022 18:56:01 +1100) 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:299465 Archived-At: > From: Tim Cross > Date: Thu, 10 Nov 2022 18:56:01 +1100 > > > Is the LSP server you needed to add still missing from the database > > currently on master? If so, please suggest the addition(s). > > I'm not sure that intent will hold. It has the underlying assumption > there is a definitive language server for each language. No, it doesn't. Please see the current value of the variable and its documentation in the manual. > There are multiple servers for many languages and individual > preferences/requirements can differ. Yes, and the variable already supports that. > The first thing I had to do in order to use eglot was modify this > variable to add my preferred Javascript server. Which one? Can it be added to the variable if it's still missing?