From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Piotr Kwiecinski Newsgroups: gmane.emacs.bugs Subject: bug#68870: [PATCH] eglot: Add php-ts-mode to eglot-server-programs Date: Thu, 01 Feb 2024 14:21:15 +0100 Message-ID: <87cytg48xg.fsf@gmail.com> 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="27517"; mail-complaints-to="usenet@ciao.gmane.io" To: 68870@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 01 14:22:15 2024 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 1rVX1D-0006xD-ER for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Feb 2024 14:22:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVX0t-00069I-DN; Thu, 01 Feb 2024 08:21:55 -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 1rVX0r-00068m-1Y for bug-gnu-emacs@gnu.org; Thu, 01 Feb 2024 08:21:53 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rVX0q-0004us-P9 for bug-gnu-emacs@gnu.org; Thu, 01 Feb 2024 08:21:52 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rVX10-0002gt-Kx for bug-gnu-emacs@gnu.org; Thu, 01 Feb 2024 08:22:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Piotr Kwiecinski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Feb 2024 13:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68870 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.170679370610317 (code B ref -1); Thu, 01 Feb 2024 13:22:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Feb 2024 13:21:46 +0000 Original-Received: from localhost ([127.0.0.1]:40532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVX0k-0002gL-5R for submit@debbugs.gnu.org; Thu, 01 Feb 2024 08:21:46 -0500 Original-Received: from lists.gnu.org ([2001:470:142::17]:34656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVX0f-0002g4-5O for submit@debbugs.gnu.org; Thu, 01 Feb 2024 08:21:43 -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 1rVX0O-0005fF-SF for bug-gnu-emacs@gnu.org; Thu, 01 Feb 2024 08:21:24 -0500 Original-Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rVX0L-0004rx-P6 for bug-gnu-emacs@gnu.org; Thu, 01 Feb 2024 08:21:24 -0500 Original-Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-55a179f5fa1so1239812a12.0 for ; Thu, 01 Feb 2024 05:21:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706793679; x=1707398479; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=AHTG9ERGAmpXJxRB+tkHXx+gDYigTMuP5TcSRQiXSdM=; b=ScxSXlPO3VtWkG/7fm5aFYE0VTv7eGQFmucTGKKUkJVh4Fwq4LMnwiYTPhuKyTNeKP BDxvAJrYHhhYV8VHP4vFeUXiWJupTCBKuNr6eK58PCgi4kS0QW6TNS/cuRO577RMtqDw 3UJOKRK33uE6Q7UBcFbSUclXP/HlkzQKU36JhJh67gg1iyVoB/gwn2O3y4YWLUQpOzOk OT2OuAP+iV30CWMIT2ir+RaGOgCZAUOj7vAHgwIJbfEsU4FRvF0zFM0Tg7X24ZpiCO3D 8GbQQBbNNDSJLBx8321DLjbc3+8yL29eZv0N4q3zJt206oF45uBNpWsO1ttHHerqfT5a 9x7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706793679; x=1707398479; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=AHTG9ERGAmpXJxRB+tkHXx+gDYigTMuP5TcSRQiXSdM=; b=Yu44GUXZvyrDg5ruAKEAKZgUdiKgByLE0sYjj7g+a0W612Jt8CYyT40LEq+Tyv6Gua fXzMYno5tvN+UH94LyDPTyZWZr/BQllzjOPO43Pdmv6pc/32AQJHkeIfwA2JH9SHOCxr szMw3ya3MsYMecuytiGd4wXU2J3Fcf+6lvujK0G5VZXTfRsdydsiI6OHRxxczsmxZ9c5 bRLUp6gFsRcID7JIFjbKIoAZPpU+lVjH+m8JsyVwmJ+UP2djTrX31xrL4iHt+hH2MnjP gn63XKu5znLu7VKg19dSprU+lpguheekM742dgGY6ZLo1ZkeerUheuL8NINa6f+IwPNS W2og== X-Gm-Message-State: AOJu0YxZ5Jc2vfhqHiNA+BRtfVQCyol51Ir79OG1vICIZbQNfFbU9VGl GyWkek8fCtiJhGLg3UJ+WR1JAMyCTp2W1Ef0+3aBsAVPzKHaD3cFG6+7997sgkw= X-Google-Smtp-Source: AGHT+IGtnK424MT77RZNHxmWUNPWwIsEzLGcApbAW4bZJczsOrIUrz0Lod568G38/RktBxbrZE5e8g== X-Received: by 2002:aa7:c3cc:0:b0:55f:43f4:9ba with SMTP id l12-20020aa7c3cc000000b0055f43f409bamr3120637edr.34.1706793678609; Thu, 01 Feb 2024 05:21:18 -0800 (PST) Original-Received: from piotr-laptop (mob-5-91-118-206.net.vodafone.it. [5.91.118.206]) by smtp.gmail.com with ESMTPSA id e8-20020a056402104800b0055ef2c893b3sm4489920edu.52.2024.02.01.05.21.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 05:21:18 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::52c; envelope-from=piokwiecinski@gmail.com; helo=mail-ed1-x52c.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:279288 Archived-At: --=-=-= Content-Type: text/plain 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' --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-eglot-Add-php-ts-mode-to-eglot-server-programs.patch >From c56813bc19459bcdf63c67540b1dc37cfbd074c3 Mon Sep 17 00:00:00 2001 From: Piotr Kwiecinski 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 --=-=-=--