From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Acid Bong via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74334: 29.4; Eglot ignores locally set configuration Date: Tue, 12 Nov 2024 22:49:18 +0200 Message-ID: <507CD52F-4D8E-4A62-81D6-B32723762507@tilde.club> Reply-To: Acid Bong 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="16560"; mail-complaints-to="usenet@ciao.gmane.io" Cc: joaotavora@gmail.com To: 74334@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 13 03:02:30 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 1tB2iD-0004BS-CC for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Nov 2024 03:02:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tB2i1-0003FI-Ef; Tue, 12 Nov 2024 21:02:17 -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 1tB2hm-0002zb-VN for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2024 21:02:06 -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 1tB2hm-0005DW-ME for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2024 21:02:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:Subject; bh=4IF6OnekeJHqxVkFXQTtIA5JX+cT128V/7YF9/ryNdg=; b=Pt71nBdBRcpGav4MoDDfbxmirF2kx8N7+9ORubD5934aCC+yjsPOIqh+9el8jAGTP7O+Z4FVjZe0ROZKK+9o+XycV5D+aQyShRxprAk1PNfNkNMP1DaRJrDzBPDpDG2RHscht2uPLcYwoJFqXorRfz2L9s8RKjtnqF+bYEEOFDVCWendOJ21BlQ0XbRpYXlZ6zPrACRp4XvR58QGBUsFyyG1XP4Gckzdouy6y/O8FmiASSsnjhEK3Rbi9V1wuKk3MxFapAL6JeH44xNsM4EwvdZuHOEujDyod+7EQiRQCGpCDP+/Uh0LR1h/meXcl53JSCDao8bqzyZAL4adh3GXyQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tB2hm-0001NS-5O for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2024 21:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Acid Bong Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Nov 2024 02:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74334 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.17314632895250 (code B ref -1); Wed, 13 Nov 2024 02:02:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Nov 2024 02:01:29 +0000 Original-Received: from localhost ([127.0.0.1]:40135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tB2hF-0001Mb-0r for submit@debbugs.gnu.org; Tue, 12 Nov 2024 21:01:29 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:56806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAxpH-0003xo-2a for submit@debbugs.gnu.org; Tue, 12 Nov 2024 15:49:27 -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 1tAxpG-00078R-Jh for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2024 15:49:26 -0500 Original-Received: from tilde.club ([2607:5300:203:b92b::115]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tAxpE-00011b-W0 for bug-gnu-emacs@gnu.org; Tue, 12 Nov 2024 15:49:26 -0500 Original-Received: from [IPv6:::1] (unknown [IPv6:2a03:f680:fe00:97d:2904:12d9:1941:dc79]) by tilde.club (Postfix) with ESMTPSA id E72EF2203F99B; Tue, 12 Nov 2024 20:49:21 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 tilde.club E72EF2203F99B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.club; s=mail; t=1731444562; bh=QkBq0SgYlAXThTIXgr2IG4t5qbOBZ79DqoJy3Yq4Mcg=; h=Date:From:To:CC:Subject:From; b=YxhXj0TMwHNWIaNlxonxFZIDiy7qZ2xjJ2cINkyFffI/o14FAe46QNFBbyRwAdBqi TahFOZMgSyJtNzKWSdboGmNIYSTJzPDg/+YVdkavter0C/WZZfvxFggI1kcOHBhj2+ NRzlS64MsD5dvGC05hmQ7z2Qg28zMx/xf6J301jE= Received-SPF: pass client-ip=2607:5300:203:b92b::115; envelope-from=acidbong@tilde.club; helo=tilde.club 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 12 Nov 2024 21:01:27 -0500 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:295258 Archived-At: Can be observed on both builtin (1=2E12=2E29) and the newest Eglot (1=2E17)= =2E I'm starting Eglot manually, i have no hooks for Rust=2E My repo structure: / =2E=2E=2E |_pkgs/rsblocks/ |_=2Edir-locals=2Eel |_Cargo=2Etoml =2E=2E=2E Since my Rust project isn't in the root of the repo, I need to specify its= location for rust-analyzer=2E Using =2Edir-locals=2Eel with this content: ```lisp ((nil =2E ((eglot-workspace-configuration =2E (:rust-analyzer (:linkedProjects ["pkgs/rsblocks/Cargo=2Etoml"])= ))))) ;; thank god it supports relative paths ``` does nothing: I see the variable value is set properly with `C-h v`, but E= glot doesn't seem to recognize it (`eglot-show-workspace-configuration` sho= ws "null")=2E However, only when I set it globally, Eglot can apply the config to the la= nguage server=2E Expected behaviour: like described in the manual, Eglot should recognize l= ocal values=2E=20 Possibly related report: https://github=2Ecom/joaotavora/eglot/issues/355 = (unresolved)