From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.bugs Subject: bug#72343: [PATCH] Fix eglot-server-programs for TeX modes Date: Wed, 07 Aug 2024 08:33:23 +0200 Message-ID: <87bk24rgek.fsf@gmail.com> References: <87sevtz8xg.fsf@gmail.com> <86msm1z8c4.fsf@gnu.org> <87ttg8k9l6.fsf@gmail.com> <86frrszbep.fsf@gnu.org> <87o765k7ze.fsf@gmail.com> <87ed71fvy8.fsf@gmail.com> Mime-Version: 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="11440"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 72343@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 07 08:35:08 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 1sbaGK-0002kJ-Ie for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Aug 2024 08:35:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sbaFs-0002GR-Qv; Wed, 07 Aug 2024 02:34:40 -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 1sbaFq-0002G7-9D for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2024 02:34:38 -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 1sbaFq-0000V1-03 for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2024 02:34:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=MODP91BoR/zeJ48lDe9s7bdV+IotaJpOJJKKsBVHErM=; b=EAj/+MgXNU6O5gxH/6qMnC535/lcsnsxf8+UjJYl0pdnTwXd8ZBmZHTqg2QpN/OfxAHW5kmtXHrtgdMH2re25d/h21/SbE9Kp3i6bkENOeN5mFqKoHTEukzldI50bonQKlBj6MXBjEgG2r7/wA5GRcqcxGSYFIbzFs/LM1Yakefq2JKFgOYCWmBo1ZQ90dP8rC7umOx7AEMBfpf8WZRWntobQIWFImgjR1OZW5QVnPQT20K5EXa9Rd6fCJEQqw2Cjuprrq9sOPK+lPFGT/D2O9DSVbSI6dJAtReN+8Y6IeWLsJ1yNPgeK/2V8yM5VjtqoTY2NzGQFf7s5vkDIEMJNA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sbaGE-0001FC-4c for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2024 02:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Augusto Stoffel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Aug 2024 06:35: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.17230125004769 (code B ref 72343); Wed, 07 Aug 2024 06:35:02 +0000 Original-Received: (at 72343) by debbugs.gnu.org; 7 Aug 2024 06:35:00 +0000 Original-Received: from localhost ([127.0.0.1]:33520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbaGB-0001Eq-J2 for submit@debbugs.gnu.org; Wed, 07 Aug 2024 02:34:59 -0400 Original-Received: from mail-ej1-f45.google.com ([209.85.218.45]:58717) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbaG9-0001ES-OI for 72343@debbugs.gnu.org; Wed, 07 Aug 2024 02:34:58 -0400 Original-Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a7aac70e30dso156144466b.1 for <72343@debbugs.gnu.org>; Tue, 06 Aug 2024 23:34:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723012406; x=1723617206; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=MODP91BoR/zeJ48lDe9s7bdV+IotaJpOJJKKsBVHErM=; b=Cs913jlhKJyMyTJJz2+dTCSew+QqhpGCnEX3f/BLJCHckbSDCPzq2MzFJafaxtBHn1 tBVPBTAOoBTnS3gjjKMWldkoSFMgU1Kk91RyIvmD4JdCOGXSNjdj7Sj7Le9Z0utZVs79 izxcYUL052mgDqw2OAcNwqtHqyvV56TQ9WnLdHkXuQOQWVIcpqm+4/0fne7vcbtfwuYd nNi5iWr1myid4QTa6hmkO6RvoeTVR8KtbtKgbPlpKwk/LUjERvyWz+uFUAnDIfLA6+Se RglczKOQR28ZpXzTBsdRoaUSTXSZflQcj4zdG1aCj/RlUV0w5zo3Mp2kgPYjADA/vhIr UVIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723012406; x=1723617206; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=MODP91BoR/zeJ48lDe9s7bdV+IotaJpOJJKKsBVHErM=; b=WcZbqdhFuG4EwRg08Mu2KMMW8TKYyNkfKpi8xH6hfDefplJCNNbmXrFEm/RGEg9sEe Ipes0ZUiipi/9ipy9LEdk+D3WOGFTkynAuC80akzjxvLuS6pnEbS9g1ZueO13fSbfFQ7 afGkRKQOv/+QCRE1Q7fjo2ib+Hqz0juL7whReNInXUiPz2mizTjY+5HL91V+1XIdS1f6 h44k2dX4sjG0Qcfhc60WVWiFrRgIGOoZQpwMmAGwrBTAhJ8knGVHx/DmV+CFHp+AqBzz vsOic/50vNyPgDk8Bq8nai2li7qrVkTufX5dptCkeX3W1hk5dM/fryhJUJrlxku7rFgv IUVg== X-Gm-Message-State: AOJu0YxRH84vEzffLHZycbVJJH3xppAcb9szUlgGtN+7XQW4yKpHYsO+ DQEzeU6rK9e4ZAbfEvrAOfG6tPfJbAZNrnIYpD9e8brZ4+tFuHrCquof0A== X-Google-Smtp-Source: AGHT+IHTHLNHoy82R+ZYYM4tMrcYjqi2FVosKQTCuphdq9LKsv46FgkFIAgTN5Xa5nx7USl7RogNbw== X-Received: by 2002:a17:907:9708:b0:a72:aeff:dfed with SMTP id a640c23a62f3a-a7dc5179d4amr1317067966b.53.1723012406196; Tue, 06 Aug 2024 23:33:26 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8a87:ff00::e354]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7dc9d89aacsm602658566b.159.2024.08.06.23.33.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Aug 2024 23:33:25 -0700 (PDT) In-Reply-To: ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Tue, 6 Aug 2024 19:08:45 +0100") 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:289866 Archived-At: On Tue, 6 Aug 2024 at 19:08, Jo=C3=A3o T=C3=A1vora wrote: > Also earlier you proposed multiple entries in eglot-server-programs, > which would impede this multi-language-per-session feature. So I > figured you wouldn't be familiar with it. By the way, if Eglot relies on that for the multi-language-per-session feature, then such feature would be incompatible with an `eglot-server-program' variable (note the singular) that major modes can set independently as a buffer-local variable. Wouldn't it make more sense to reuse a running server if a new one would be started at the same directory and with the same command line arguments?