From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#72343: [PATCH] Fix eglot-server-programs for TeX modes Date: Tue, 30 Jul 2024 21:29:33 +0100 Message-ID: References: <87sevtz8xg.fsf@gmail.com> <86msm1z8c4.fsf@gnu.org> <87ttg8k9l6.fsf@gmail.com> <86frrszbep.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000986440061e7cd664" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16185"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 72343@debbugs.gnu.org To: Augusto Stoffel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 30 22:32:07 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 1sYtVv-00044t-0M for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Jul 2024 22:32:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sYtVe-0006aF-EG; Tue, 30 Jul 2024 16:31:50 -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 1sYtVc-0006Zq-6z for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2024 16:31:48 -0400 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 1sYtVb-000598-US for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2024 16:31:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=KCZ9+Kgbmefw4B/2JUXpFnHtRthXV7HWLAEfGAMaboY=; b=D2bbLwIDrOqzgyK3GR0lMvVXPyb6FGXdvDxrJ2W2/dek9FR52YSiEzwIijwsBeuoR3IX4tEfWmQhOLY5dRFIvZlmVwMgBqf0OcWADr/uoltGpzuVpw/zGpTwHzq2oOwdgPliHADREug3IvHA1KVbsBDfcMrY0amqohfMqlbUb+MM0qrDDRfrJTL+RwtQ2C49wCoZSh5ORHPVPl9jQ/srEzbSBEe38q/ZEoO3I6jQ9CwdqLgpEAwJiF1mJaxA+oUdSgT3NkXyLn3WYpMKORYqrW/J0FvAyyhY1+vpAOw7l/C9CStCg3Gmgm8+/ZFdA4X+2C/W3mhl9yoYK4+QHkPYPQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sYtVq-0007jt-Fi for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2024 16:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Jul 2024 20:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72343 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 72343-submit@debbugs.gnu.org id=B72343.172237146929688 (code B ref 72343); Tue, 30 Jul 2024 20:32:02 +0000 Original-Received: (at 72343) by debbugs.gnu.org; 30 Jul 2024 20:31:09 +0000 Original-Received: from localhost ([127.0.0.1]:48595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYtUz-0007il-5I for submit@debbugs.gnu.org; Tue, 30 Jul 2024 16:31:09 -0400 Original-Received: from mail-oa1-f43.google.com ([209.85.160.43]:59490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYtUv-0007i8-P5 for 72343@debbugs.gnu.org; Tue, 30 Jul 2024 16:31:07 -0400 Original-Received: by mail-oa1-f43.google.com with SMTP id 586e51a60fabf-260209df55dso3025667fac.2 for <72343@debbugs.gnu.org>; Tue, 30 Jul 2024 13:30:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722371385; x=1722976185; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=KCZ9+Kgbmefw4B/2JUXpFnHtRthXV7HWLAEfGAMaboY=; b=MaV8N9c7ezfLHJFMO2MMqH5mGzntxzfpIeY5GdwpGAQSqLbOMmpBlIg1SrTtQF3suZ nJcxmonj4Ou2DOLeY24Gq7fb+xNPrYQIiznhTGcgVjG1M96YxYQRyHaZ79bqtxZq3U0W i8oaq2abIEJnkw7PpHv/Wn3ygE4hqKlkNwTUVca5llWL7Z4uldr0Xsc8VIgLwOuIuFoA NV+BbsB2szOnUVZkzsnMzWXgL+8lTmO1YeBgSKzJFwgZM0CZDJYysAbU0rSokv5dXUAz 5EDGIyMR7gCBkXUmEn5VZ5IzoT3FIIHI0nJhlZ2vCM8zbzybOlLQQFYaWcZSbJ7m7KLX 50Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722371385; x=1722976185; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KCZ9+Kgbmefw4B/2JUXpFnHtRthXV7HWLAEfGAMaboY=; b=CHwLLsAopJKp3T5dIBJKCtJwU71aSHxQxhgtmCoy7R0X9B+EYWeoXhg60d9RoOVB1H F5IZ4jqjptuR4F6TNNimrFgn6SQsEfJVBmFLPAQ1R3c5AiSTn7fMPjQjHEBBxzKucIdg tRIEW71Smwmp0TJ8lOgoBvklbK/5xHp8hAnkfNL0r++DL3TIaFyJJ7FgBd3xbF+biyKL 5fZZMNUeH3xp1e8VohwVSLXdqWSzIj9Jspova9oJEyQmTrAyxYUM9xmCLlh++WRvnhjl /7QewbBnWygxQZ4/EWhAElCb2EcWeqISJ2O5lR2ZNj5/drudRWQBmTyhpiYexEQNuu7I 8BQA== X-Forwarded-Encrypted: i=1; AJvYcCUTwDTChm9/j8IWx235HVrp3fPY8aHf1dztHgbXZ1GrWkyFp6+rXpkNzy2NFqNNL7TILle1SR4XM9mBOk4v8541ro9WzME= X-Gm-Message-State: AOJu0Yy2CEqVcMOM2f6btdm+roUhCyEJGpeK4T0FplfGQZzhNvirb8Hm vfZDUis/3PsTY2T9kV0+J6KzVPMqUJTCF0uMeWPf2ICSEvnY5dkK0XZm6h0QOrKt7GVGj/7VJpM fjJHrg3qE4SudEIlU1w4ipPdAnX8= X-Google-Smtp-Source: AGHT+IE9iFcSpTaIKgzvXXW1tQ6fL7FLZ2341ROQlGTZTknH4PWMduIo7+RaD18+uXENIXXBj6Xvp5qwJdUiEo+XhT0= X-Received: by 2002:a05:6870:32d4:b0:261:16da:ded9 with SMTP id 586e51a60fabf-267d4d16676mr15451659fac.6.1722371385351; Tue, 30 Jul 2024 13:29:45 -0700 (PDT) In-Reply-To: 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:289563 Archived-At: --000000000000986440061e7cd664 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Jul 30, 2024, 19:20 Augusto Stoffel wrote: > Thanks, but what about the other part of Jo=C3=A3o's questions, regarding >> :language-id? >> > > That's precisely the point of the patch: make different derived modes of > tex-mode pass different language IDs to the server. Based on the > documentation Jo=C3=A3o referred to, separate entries in eglot-server-pro= grams > are needed in this case. > Have you tried the :language-id _keyword_ as explained in the documentation I linked to? It should avoid the multiple entries. Jo=C3=A3o > > --000000000000986440061e7cd664 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Tue, Jul 30, 2024, 19:20 Augusto Stoffel <arstoffel@gmail.com> wrote:
=

That's precisely the point of the patch: make different de= rived modes of tex-mode pass different language IDs to the server. Based on= the documentation Jo=C3=A3o referred to, separate entries in eglot-server-= programs are needed in this case.

Have you t= ried the :language-id _keyword_ as explained in the documentation I linked = to? It should avoid the multiple entries.

=
Jo=C3=A3o

--000000000000986440061e7cd664--