From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ruijie Yu 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: Sun, 16 Apr 2023 15:36:59 +0800 Message-ID: References: <87ildwnxyo.fsf@aliyun.com> Reply-To: Ruijie Yu Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33370"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= , 62795@debbugs.gnu.org To: xiliuya Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 16 09:38:40 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 1pnwy7-0008UB-OH for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Apr 2023 09:38:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pnwxq-0000IV-RN; Sun, 16 Apr 2023 03:38:23 -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 1pnwxj-0000I7-LQ for bug-gnu-emacs@gnu.org; Sun, 16 Apr 2023 03:38:18 -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 1pnwxW-0004bQ-FJ for bug-gnu-emacs@gnu.org; Sun, 16 Apr 2023 03:38:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pnwxV-0001A5-Of for bug-gnu-emacs@gnu.org; Sun, 16 Apr 2023 03:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ruijie Yu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Apr 2023 07:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62795 X-GNU-PR-Package: emacs Original-Received: via spool by 62795-submit@debbugs.gnu.org id=B62795.16816306514428 (code B ref 62795); Sun, 16 Apr 2023 07:38:01 +0000 Original-Received: (at 62795) by debbugs.gnu.org; 16 Apr 2023 07:37:31 +0000 Original-Received: from localhost ([127.0.0.1]:50549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pnwx0-00019L-VG for submit@debbugs.gnu.org; Sun, 16 Apr 2023 03:37:31 -0400 Original-Received: from netyu.xyz ([152.44.41.246]:55270 helo=mail.netyu.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pnwwv-000199-HS for 62795@debbugs.gnu.org; Sun, 16 Apr 2023 03:37:29 -0400 Original-Received: from smtpclient.apple ( [112.97.49.52]) by netyu.xyz (OpenSMTPD) with ESMTPSA id 8e7e0647 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 16 Apr 2023 07:37:22 +0000 (UTC) In-Reply-To: <87ildwnxyo.fsf@aliyun.com> X-Mailer: iPhone Mail (20D67) 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:260101 Archived-At: On Apr 16, 2023, at 14:28, xiliuya wrote: >=20 > =EF=BB=BF > Ruijie Yu writes: >=20 >> This is a user-local config file, with an interesting "_4" in its name. >> Is it possible to have other numbers attached to the file name? Does it >> have a global default port for which we can search? Something like >> "/usr/share/godot/..." or "/etc/godot/..."? Also, from your original >> report, there seems to be a default value compiled into its C/C++ >> source. Is there any chance to retrieve that value from a distributed >> package? >=20 > The "_4" suffix refers to the godot version number. > ``` > Godot3: editor_settings-3.tres > Godot4: editor_settings-4.tres >=20 > ``` > The default configuration file is not provided with the installation > package,but is automatically generated under `$HOME/.config/godot` > after `godot` starts. Great, that means the function only needs to look at one particular file whi= ch is guaranteed to exist unless the lsp server is not run. Note, though, t= hat there might be a need for a defcustom on the godot version in effect bec= ause it is possible that a user does not have the newest environment install= ed, right?=20 >> The rest, including the discussion of how exactly to implement this >> function, should then be handled in the repo of "gdscript-mode", since >> it is not part of GNU Elpa nor NonGNU Elpa. >=20 > So should gdscript-mode handle this function? That is my opinion as someone who happens to regularly use Emacs in the past= few years. This should be Jo=C3=A3o=E2=80=99s decision to make, since he i= s the maintainer of eglot.=20 > --=20 > xiliuya :) -- Best, RY=