GNU bug report logs - #59252
29.0.50; Add new ts-modes to eglot-server-programs

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Theodor Thornhill <theo@HIDDEN>; Keywords: patch; merged with #59229; dated Sun, 13 Nov 2022 20:58:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Forcibly Merged 59229 59252. Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Added tag(s) patch. Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 59252 <at> debbugs.gnu.org:


Received: (at 59252) by debbugs.gnu.org; 14 Nov 2022 14:28:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 14 09:28:23 2022
Received: from localhost ([127.0.0.1]:49163 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ouaRj-0001NF-Fz
	for submit <at> debbugs.gnu.org; Mon, 14 Nov 2022 09:28:23 -0500
Received: from out2.migadu.com ([188.165.223.204]:18887)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <theo@HIDDEN>) id 1ouaRg-0001N4-GS
 for 59252 <at> debbugs.gnu.org; Mon, 14 Nov 2022 09:28:21 -0500
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no;
 s=key1; t=1668436098;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=IR3/8GfAw1/bXcZezVZV7tTgtIP054GxZy6HJF01R8A=;
 b=hG0xR29GeooBS6+g8ibJhqc1FSANA62RMnKP+EOq7EO/Q6PEOWzYoTNKzO6/IjlTGRoqz9
 yCbcPN3CzR8d0DeAqddxQ4Ibu1UtLYMHBPBFBqTH7+O5ToMAwNAqkXtVoUzlnaYG1nfXN7
 rrk8UZP6Mx+P9+xD+Vca3Y1Lz1Ie1waXAtWHSDbxo5fjCpSFDGNYgKPh5jlpDxFSwrqYMS
 bsrwbPX2r/QodZ8RPs29NFfCbN0aIOJCddxIGhH0M1S65tieEJZSiXO0UaiV4UeN36iR/h
 MA9uw1uHJpDVFHunujqMoTPkYd1Y8tbs9HFHp8Ury1fGoafjRd1r3rw++sHbIA==
From: Theodor Thornhill <theo@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#59252: 29.0.50; Add new ts-modes to eglot-server-programs
In-Reply-To: <83k03xk7gt.fsf@HIDDEN>
References: <87h6z2a7za.fsf@HIDDEN> <83sfimjjzh.fsf@HIDDEN>
 <584C0878-F0E5-47E3-8CB0-FF22F1F54465@HIDDEN>
 <83k03xk7gt.fsf@HIDDEN>
Date: Mon, 14 Nov 2022 15:28:12 +0100
Message-ID: <87o7t91ugz.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Migadu-Flow: FLOW_OUT
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 59252
Cc: 59252 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> Date: Mon, 14 Nov 2022 07:21:54 +0100
>> From: Theodor Thornhill <theo@HIDDEN>
>> CC: 59252 <at> debbugs.gnu.org
>> 
>> 
>> 
>> On 14 November 2022 04:25:06 CET, Eli Zaretskii <eliz@HIDDEN> wrote:
>> >> Date: Sun, 13 Nov 2022 21:56:57 +0100
>> >> From:  Theodor Thornhill via "Bug reports for GNU Emacs,
>> >>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
>> >> 
>> >> It seems my new ts-mode was already added to the eglot-server-programs,
>> >> so why not also add the others that were added to feature/tree-sitter?
>> >
>> >Because I asked to wait with this until tree-sitter lands on master.
>> >As you yourself know, we are still debating whether to make these
>> >modes separate major modes or minor variations of existing modes.
>> >There's no need to rush with trivial changes that will need to be
>> >undone later.
>> 
>> Sure :-)
>> You can close this then.
>
> Let's wait until the branch lands, and revisit this then.
>
> Thanks.

Sure!




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59252; Package emacs. Full text available.

Message received at 59252 <at> debbugs.gnu.org:


Received: (at 59252) by debbugs.gnu.org; 14 Nov 2022 13:10:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 14 08:10:12 2022
Received: from localhost ([127.0.0.1]:49135 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ouZE3-0007zG-Lv
	for submit <at> debbugs.gnu.org; Mon, 14 Nov 2022 08:10:11 -0500
Received: from eggs.gnu.org ([209.51.188.92]:57508)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1ouZDy-0007yn-Hn
 for 59252 <at> debbugs.gnu.org; Mon, 14 Nov 2022 08:10:10 -0500
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 <eliz@HIDDEN>)
 id 1ouZDs-0006BO-F8; Mon, 14 Nov 2022 08:10:00 -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=8GbXaF1zA/jp7P8ieFm0yK2/oaUctgRGbk304xxcTuM=; b=d7zukFXs0iP4
 3XJShSmQzII9GwvWp0ofKnATAqbZ6bQD0vm54cv1W5xU9i9drMHmeupBlJtNPAfYZWjaPS4fykasn
 gxM83RCWlKjwuK7PFo17lMjR8m9FHTNb7mY+l1qCRzlOXW6kXcQDldDrb2KiIbCe/xJLIdVXoSpSG
 MNQuz8GOAwa4teYCxovGUNwOH/osNfu7RbUA+NSeoEGqXQlJpUcfR8oTQ/g1R0J2jCYMsjnE3gNcC
 vVdbnkj5QLPt6RaYqbbr9SBVfEAn09VSNf3+TyZ4iI91aW4lIbAk4wwkXpRRW8BC7F4gcsCDuKmxg
 Sf9yqfC4vjlCWCeny15HFQ==;
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 <eliz@HIDDEN>)
 id 1ouZDr-0004Bm-V4; Mon, 14 Nov 2022 08:10:00 -0500
Date: Mon, 14 Nov 2022 15:10:11 +0200
Message-Id: <83k03xk7gt.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Theodor Thornhill <theo@HIDDEN>
In-Reply-To: <584C0878-F0E5-47E3-8CB0-FF22F1F54465@HIDDEN> (message from
 Theodor Thornhill on Mon, 14 Nov 2022 07:21:54 +0100)
Subject: Re: bug#59252: 29.0.50; Add new ts-modes to eglot-server-programs
References: <87h6z2a7za.fsf@HIDDEN> <83sfimjjzh.fsf@HIDDEN>
 <584C0878-F0E5-47E3-8CB0-FF22F1F54465@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 59252
Cc: 59252 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Mon, 14 Nov 2022 07:21:54 +0100
> From: Theodor Thornhill <theo@HIDDEN>
> CC: 59252 <at> debbugs.gnu.org
> 
> 
> 
> On 14 November 2022 04:25:06 CET, Eli Zaretskii <eliz@HIDDEN> wrote:
> >> Date: Sun, 13 Nov 2022 21:56:57 +0100
> >> From:  Theodor Thornhill via "Bug reports for GNU Emacs,
> >>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> >> 
> >> It seems my new ts-mode was already added to the eglot-server-programs,
> >> so why not also add the others that were added to feature/tree-sitter?
> >
> >Because I asked to wait with this until tree-sitter lands on master.
> >As you yourself know, we are still debating whether to make these
> >modes separate major modes or minor variations of existing modes.
> >There's no need to rush with trivial changes that will need to be
> >undone later.
> 
> Sure :-)
> You can close this then.

Let's wait until the branch lands, and revisit this then.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59252; Package emacs. Full text available.

Message received at 59252 <at> debbugs.gnu.org:


Received: (at 59252) by debbugs.gnu.org; 14 Nov 2022 06:22:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 14 01:22:39 2022
Received: from localhost ([127.0.0.1]:48809 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ouSre-0007e6-TE
	for submit <at> debbugs.gnu.org; Mon, 14 Nov 2022 01:22:39 -0500
Received: from out0.migadu.com ([94.23.1.103]:34384)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <theo@HIDDEN>) id 1ouSrZ-0007dt-MM
 for 59252 <at> debbugs.gnu.org; Mon, 14 Nov 2022 01:22:36 -0500
Date: Mon, 14 Nov 2022 07:21:54 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no;
 s=key1; t=1668406952;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=24yQy6ZnEsk1g5CG8fmIC49TPXERvuJlzvKNcWPdbbI=;
 b=oDlWWTBMVThPDqjYAa5CVZitk+bFBD6ZSQK5hztflTo0gKk0APE3WDo3RXMe4AH08JnIZL
 wjRsvvGMCL85aIdiYGgL0w7cUXoQIfrniGus1g3sU6xOLRQVuOw5uIQ83WpC0UBq/XDXyb
 0b6M1CYvRM83DuL3sNDo51m3TXCsT0LQefM8Hs5AHQghIGCdrVi0hI9IeVpTPDgSeBl8IJ
 jxvOsE/B5XCP4oAI6alalPM+S/lM1/HRe9LQVRV3zfenT5PbJLS9JxBn+9GhHGKzf0fgen
 wSPcCbPF0Ysl+idRoOVFgzVHrwz7VZtXmGkMZmbRoVX5zNswUpGoaTNoyjbgxQ==
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
From: Theodor Thornhill <theo@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#59252: 29.0.50; Add new ts-modes to eglot-server-programs
In-Reply-To: <83sfimjjzh.fsf@HIDDEN>
References: <87h6z2a7za.fsf@HIDDEN> <83sfimjjzh.fsf@HIDDEN>
Message-ID: <584C0878-F0E5-47E3-8CB0-FF22F1F54465@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Migadu-Flow: FLOW_OUT
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 59252
Cc: 59252 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)



On 14 November 2022 04:25:06 CET, Eli Zaretskii <eliz@gnu=2Eorg> wrote:
>> Date: Sun, 13 Nov 2022 21:56:57 +0100
>> From:  Theodor Thornhill via "Bug reports for GNU Emacs,
>>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu=2Eorg>
>>=20
>> It seems my new ts-mode was already added to the eglot-server-programs,
>> so why not also add the others that were added to feature/tree-sitter?
>
>Because I asked to wait with this until tree-sitter lands on master=2E
>As you yourself know, we are still debating whether to make these
>modes separate major modes or minor variations of existing modes=2E
>There's no need to rush with trivial changes that will need to be
>undone later=2E

Sure :-)
You can close this then=2E





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59252; Package emacs. Full text available.

Message received at 59252 <at> debbugs.gnu.org:


Received: (at 59252) by debbugs.gnu.org; 14 Nov 2022 03:25:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 13 22:25:05 2022
Received: from localhost ([127.0.0.1]:48760 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ouQ5p-0003Ab-LE
	for submit <at> debbugs.gnu.org; Sun, 13 Nov 2022 22:25:05 -0500
Received: from eggs.gnu.org ([209.51.188.92]:39726)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1ouQ5n-0003A1-QS
 for 59252 <at> debbugs.gnu.org; Sun, 13 Nov 2022 22:25:04 -0500
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 <eliz@HIDDEN>)
 id 1ouQ5h-0000cE-Na; Sun, 13 Nov 2022 22:24:57 -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=XFzIRiWIFnQJaNlDe9Nkn6i3wDs+Kmkab/BoUhHsiBk=; b=QDvVnKJNUrXD
 1hdfm+2IeJKoZzXLwFTbQ3/mAV2mXiqIxgAB4EWZX/3PtousmaxAKmEHZfeINeftlfCSUQd+UE3jK
 RphKUF84ovvv0i+DjLAiR41IB8n2TAZ2c2Csa8iow0YfPkjgkDtWCF65hretVmLuD4a/OkhIcURkd
 hK0ymULmRvRYkKD5+QdvIn1G5a9aARbYVbGiwxB7jO8aqTW0gDzPeKVXS6D2m+Sie6/9+KSKGFNNQ
 XbAhUu3k6u1zcrj6eMlkw7jadMeXTispJLFdNAPdjhPxVnmLW4/hlk0tLFXhGidmWk1rDAp83666O
 W1S+9EVuXMMAA/zLTWGbkg==;
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 <eliz@HIDDEN>)
 id 1ouQ5h-000390-0A; Sun, 13 Nov 2022 22:24:57 -0500
Date: Mon, 14 Nov 2022 05:25:06 +0200
Message-Id: <83sfimjjzh.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Theodor Thornhill <theo@HIDDEN>
In-Reply-To: <87h6z2a7za.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN)
Subject: Re: bug#59252: 29.0.50; Add new ts-modes to eglot-server-programs
References: <87h6z2a7za.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 59252
Cc: 59252 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Sun, 13 Nov 2022 21:56:57 +0100
> From:  Theodor Thornhill via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> 
> It seems my new ts-mode was already added to the eglot-server-programs,
> so why not also add the others that were added to feature/tree-sitter?

Because I asked to wait with this until tree-sitter lands on master.
As you yourself know, we are still debating whether to make these
modes separate major modes or minor variations of existing modes.
There's no need to rush with trivial changes that will need to be
undone later.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#59252; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Nov 2022 20:57:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 13 15:57:12 2022
Received: from localhost ([127.0.0.1]:48467 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ouK2R-0001wr-QV
	for submit <at> debbugs.gnu.org; Sun, 13 Nov 2022 15:57:12 -0500
Received: from lists.gnu.org ([209.51.188.17]:35244)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <theo@HIDDEN>) id 1ouK2Q-0001wi-2U
 for submit <at> debbugs.gnu.org; Sun, 13 Nov 2022 15:57:10 -0500
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 <theo@HIDDEN>) id 1ouK2P-0007ff-PR
 for bug-gnu-emacs@HIDDEN; Sun, 13 Nov 2022 15:57:09 -0500
Received: from out0.migadu.com ([2001:41d0:2:267::])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <theo@HIDDEN>) id 1ouK2M-0004CX-SB
 for bug-gnu-emacs@HIDDEN; Sun, 13 Nov 2022 15:57:09 -0500
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no;
 s=key1; t=1668373024;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type;
 bh=cx/AF6xAsl2sSIXjzNJqTn8rQ4QgV8wOgxdoJk67dHU=;
 b=M6QyGy5u6pnftUGJhrTRSc/Bsr3BA8+UnNlhgVPzScYBCx1YY/azY6Pba6y6wwPiOBLmeS
 vK0l2RT4wwgFHOTao3X36fPh2ZLWXhILNBGUnXVawK2yUo2vfbOZo3tZhwvUYQnxqpfWKR
 ugGHyWP/4qUZrgOAa6c9Nqf/cRukUOWrB3kM7+5Va6h3+ac2Fev4GqPLagVkcbQFaOPTGL
 rh6HiaOpTmTdmz/prJw+eaUvyO2neLpOuhi3pVf3vrT0aeYWXAt2y0MUz1epAq5VoL39On
 dh5n8//6IBzuitKmj5S66mmzpbLaDy6JogL9uGMGbQGUw3ibLlOp6FdaxG5GmA==
From: Theodor Thornhill <theo@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 29.0.50; Add new ts-modes to eglot-server-programs
Date: Sun, 13 Nov 2022 21:56:57 +0100
Message-ID: <87h6z2a7za.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Migadu-Flow: FLOW_OUT
Received-SPF: pass client-ip=2001:41d0:2:267::; envelope-from=theo@HIDDEN;
 helo=out0.migadu.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 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,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

--=-=-=
Content-Type: text/plain


Hi there!

It seems my new ts-mode was already added to the eglot-server-programs,
so why not also add the others that were added to feature/tree-sitter?

This patch fixes that :-)

Theo


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0001-Add-new-ts-modes-to-eglot-server-programs.patch

From 7ad812237470c6edeb7f2dd21cbec404c76af7a9 Mon Sep 17 00:00:00 2001
From: Theodor Thornhill <theo@HIDDEN>
Date: Sun, 13 Nov 2022 21:54:15 +0100
Subject: [PATCH] Add new *-ts-modes to eglot-server-programs

* lisp/progmodes/eglot.el (eglot-server-programs): Add in the new
tree-sitter powered modes.
---
 lisp/progmodes/eglot.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 12808e80c4..a07bbec22e 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -187,15 +187,15 @@ eglot-server-programs
                                 (python-mode
                                  . ,(eglot-alternatives
                                      '("pylsp" "pyls" ("pyright-langserver" "--stdio") "jedi-language-server")))
-                                ((js-json-mode json-mode) . ,(eglot-alternatives '(("vscode-json-language-server" "--stdio") ("json-languageserver" "--stdio"))))
+                                ((js-json-mode json-mode json-ts-mode) . ,(eglot-alternatives '(("vscode-json-language-server" "--stdio") ("json-languageserver" "--stdio"))))
                                 ((js-mode ts-mode typescript-mode)
                                  . ("typescript-language-server" "--stdio"))
                                 (sh-mode . ("bash-language-server" "start"))
                                 ((php-mode phps-mode)
                                  . ("php" "vendor/felixfbecker/\
 language-server/bin/php-language-server.php"))
-                                ((c++-mode c-mode) . ,(eglot-alternatives
-                                                       '("clangd" "ccls")))
+                                ((c++-mode c-mode c-ts-mode c++-ts-mode)
+                                 . ,(eglot-alternatives '("clangd" "ccls")))
                                 (((caml-mode :language-id "ocaml")
                                   (tuareg-mode :language-id "ocaml") reason-mode)
                                  . ("ocamllsp"))
@@ -209,7 +209,7 @@ eglot-server-programs
                                 ((go-mode go-dot-mod-mode go-dot-work-mode) . ("gopls"))
                                 ((R-mode ess-r-mode) . ("R" "--slave" "-e"
                                                         "languageserver::run()"))
-                                (java-mode . ("jdtls"))
+                                ((java-mode java-ts-mode) . ("jdtls"))
                                 (dart-mode . ("dart" "language-server"
                                               "--client-id" "emacs.eglot-dart"))
                                 (elixir-mode . ("language_server.sh"))
@@ -227,7 +227,7 @@ eglot-server-programs
                                 (lua-mode . ,(eglot-alternatives
                                               '("lua-language-server" "lua-lsp")))
                                 (zig-mode . ("zls"))
-                                (css-mode . ,(eglot-alternatives '(("vscode-css-language-server" "--stdio") ("css-languageserver" "--stdio"))))
+                                ((css-mode css-ts-mode) . ,(eglot-alternatives '(("vscode-css-language-server" "--stdio") ("css-languageserver" "--stdio"))))
                                 (html-mode . ,(eglot-alternatives '(("vscode-html-language-server" "--stdio") ("html-languageserver" "--stdio"))))
                                 (dockerfile-mode . ("docker-langserver" "--stdio"))
                                 ((clojure-mode clojurescript-mode clojurec-mode)
-- 
2.34.1


--=-=-=--




Acknowledgement sent to Theodor Thornhill <theo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#59252; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 24 Nov 2022 19:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.