Subject: bug#68870: closed (Re: bug#68870: [PATCH] eglot: Add php-ts-mode to eglot-server-programs)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 02 Feb 2024 07:53:02 +0000

Your bug report

#68870: [PATCH] eglot: Add php-ts-mode to eglot-server-programs

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
68870: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68870
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#68870: [PATCH] eglot: Add php-ts-mode to eglot-server-programs
From: Stefan Kangas <[email-masked]>
To: Piotr Kwiecinski <[email-masked]>
Cc: [email-masked]
Date: Thu, 1 Feb 2024 23:52:14 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Piotr Kwiecinski <[email-masked]> writes:

> Tags: patch
>
> Add support for https://github.com/emacs-php/php-ts-mode.

Installed on emacs-29, thank you.

> This package is not yet available in any ELPA, but will be submitted
> to GNU ELPA in due course.

That's really good news!  Thank you for working on it.

Subject: [PATCH] eglot: Add php-ts-mode to eglot-server-programs
From: Piotr Kwiecinski <[email-masked]>
To: [email-masked]
Date: Thu, 01 Feb 2024 14:21:15 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Tags: patch

Tags: patch

Tags: patch

Add support for https://github.com/emacs-php/php-ts-mode. This package is not yet available in any ELPA, but will be submitted to GNU ELPA in due course.

In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.37, cairo version 1.16.0)
Windowing system distributor 'The X.Org Foundation', version 11.0.12101007
System Description: Ubuntu 23.10

Configured using:
 'configure
 CONFIG_SHELL=/gnu/store/v9p25q9l5nnaixkhpap5rnymmwbhf9rp-bash-minimal-5.1.16/bin/bash
 SHELL=/gnu/store/v9p25q9l5nnaixkhpap5rnymmwbhf9rp-bash-minimal-5.1.16/bin/bash
 --prefix=/gnu/store/yc4m69q3fqa5962cn3yjjlxyhi020kn1-emacs-next-30.0.50-1.9d27b95
 --enable-fast-install --with-cairo --with-modules
 --with-native-compilation=aot --disable-build-details'

>From c56813bc19459bcdf63c67540b1dc37cfbd074c3 Mon Sep 17 00:00:00 2001
From: Piotr Kwiecinski <[email-masked]>
Date: Thu, 1 Feb 2024 14:02:20 +0100
Subject: [PATCH] eglot: Add php-ts-mode to eglot-server-programs

* lisp/progmodes/eglot.el (eglot-server-programs): Add php-ts-mode.
---
 lisp/progmodes/eglot.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index beba268f923..82a0060680d 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -243,7 +243,7 @@ eglot-server-programs
                                   (typescript-mode :language-id "typescript"))
                                  . ("typescript-language-server" "--stdio"))
                                 ((bash-ts-mode sh-mode) . ("bash-language-server" "start"))
-                                ((php-mode phps-mode)
+                                ((php-mode phps-mode php-ts-mode)
                                  . ,(eglot-alternatives
                                      '(("phpactor" "language-server")
                                        ("php" "vendor/felixfbecker/language-server/bin/php-language-server.php"))))
-- 
2.40.1