From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: xiliuya via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#62795: 29.0.90; eglot: gdscript default port is 6005 Date: Wed, 12 Apr 2023 18:33:01 +0800 Message-ID: <87zg7dido0.fsf@aliyun.com> Reply-To: xiliuya Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25748"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.10.2; emacs 29.0.90 To: 62795@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 12 17:22:43 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1pmcJ1-0006Rj-AT for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Apr 2023 17:22:43 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pmcIS-0003Cw-HO; Wed, 12 Apr 2023 11:22:08 -0400 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 1pmcIO-0003Bc-TR for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 11:22:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pmcIO-0002uW-Jj for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 11:22:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pmcIO-0004Zs-G8 for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 11:22:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: xiliuya Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Apr 2023 15:22:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62795 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.168131290617524 (code B ref -1); Wed, 12 Apr 2023 15:22:04 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Apr 2023 15:21:46 +0000 Original-Received: from localhost ([127.0.0.1]:40669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmcI5-0004YT-B1 for submit@debbugs.gnu.org; Wed, 12 Apr 2023 11:21:46 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:34898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmY21-00024n-PS for submit@debbugs.gnu.org; Wed, 12 Apr 2023 06:48:54 -0400 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 1pmY20-0004Wz-Sm for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 06:48:53 -0400 Original-Received: from out30-77.freemail.mail.aliyun.com ([115.124.30.77]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmY1x-0007SG-Ve for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2023 06:48:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aliyun.com; s=s1024; t=1681296523; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; bh=+34+DFVzwgbAnas5B3j0r9dMX4V3rx0GRVblEh8nndM=; b=ng4nXNgwZtwQUKRgzUOq7kIWdVZJJ1rGcjLaIizuD+vcYoKS6gU4RHwNrMe0Eg3MMF1IUrCYV7B1DagansE4zLPnmM4A36Be51GDcFDZUB372kJ9vONtRs8k/YgVQgZNlFodadlK3InYG0dtKXVAiTgVfpO4wWHEx1QumwGfETM= X-Alimail-AntiSpam: AC=CONTINUE; BC=0.09034789|-1; CH=green; DM=|CONTINUE|false|; DS=CONTINUE|ham_system_inform|0.00595344-0.00148456-0.992562; FP=0|0|0|0|0|0|0|0; HT=ay29a033018046056; MF=xiliuya@aliyun.com; NM=1; PH=DS; RN=1; RT=1; SR=0; TI=SMTPD_---0Vfw6rvU_1681296208; Original-Received: from xiliuya-pc(mailfrom:xiliuya@aliyun.com fp:SMTPD_---0Vfw6rvU_1681296208) by smtp.aliyun-inc.com; Wed, 12 Apr 2023 18:43:31 +0800 Received-SPF: pass client-ip=115.124.30.77; envelope-from=xiliuya@aliyun.com; helo=out30-77.freemail.mail.aliyun.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 12 Apr 2023 11:21:37 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:259760 Archived-At: --=-=-= Content-Type: text/plain The default port for godot lsp is defined in gdscript_language_server.h file: : > bool use_thread = false; > String host = "127.0.0.1"; > int port = 6005; > static void thread_main(void *p_userdata); patch: --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=1.patch Content-Description: Change gdscript lsp port diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 10b6c0cc2ca..f61040af636 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -230,7 +230,7 @@ eglot-server-programs (erlang-mode . ("erlang_ls" "--transport" "stdio")) ((yaml-ts-mode yaml-mode) . ("yaml-language-server" "--stdio")) (nix-mode . ,(eglot-alternatives '("nil" "rnix-lsp"))) - (gdscript-mode . ("localhost" 6008)) + (gdscript-mode . ("localhost" 6005)) ((fortran-mode f90-mode) . ("fortls")) (futhark-mode . ("futhark" "lsp")) (lua-mode . ,(eglot-alternatives --=-=-= Content-Type: text/plain In GNU Emacs 29.0.90 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.17.8) of 2023-04-12 built on xiliuya-pc Repository revision: 7972b76c2c7426745fad8ea0fc9325f475f728b6 Repository branch: makepkg System Description: Arch Linux -- xiliuya :) --=-=-=--