From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 12 21:01:29 2024 Received: (at submit) by debbugs.gnu.org; 13 Nov 2024 02:01:29 +0000 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 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 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 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 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= Date: Tue, 12 Nov 2024 22:49:18 +0200 From: Acid Bong To: bug-gnu-emacs@gnu.org Subject: 29.4; Eglot ignores locally set configuration Message-ID: <507CD52F-4D8E-4A62-81D6-B32723762507@tilde.club> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 12 Nov 2024 21:01:27 -0500 Cc: joaotavora@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) 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) From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 13 03:03:46 2024 Received: (at 74334) by debbugs.gnu.org; 13 Nov 2024 08:03:46 +0000 Received: from localhost ([127.0.0.1]:40596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tB8Lp-0000zi-S7 for submit@debbugs.gnu.org; Wed, 13 Nov 2024 03:03:46 -0500 Received: from tilde.club ([142.44.150.184]:46012 ident=postfix) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tB8Ln-0000zV-DJ for 74334@debbugs.gnu.org; Wed, 13 Nov 2024 03:03:44 -0500 Received: from webmail.tilde.club (tilde.club [IPv6:2607:5300:203:b92b::115]) by tilde.club (Postfix) with ESMTPSA id 63392220407F6; Wed, 13 Nov 2024 08:03:42 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 tilde.club 63392220407F6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.club; s=mail; t=1731485022; bh=Qv0J/d9Yq12g77ztJsc8ptyII5jU38HZSI09EnCsBuA=; h=Date:From:Subject:To:Cc:From; b=DjzZxkE7dYRfbLFrZ7rwEjBxnUUUFi9ppTmaRzZwOVHV9DhBt4k0FzwqUo5mLurK+ bZguxcglDK2WiLeJlsP/f44zA4R3hqtuIWPNzxu6o8/A+waoMbLn6J5wr6BOVGee4+ sgSHzaL0PAWr+/PXFcMFPE7UJ1kVr3AueFGTUc34= MIME-Version: 1.0 Date: Wed, 13 Nov 2024 08:03:42 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: "Acid Bong" Message-ID: TLS-Required: No Subject: 29.4; Eglot ignores locally set configuration To: 74334@debbugs.gnu.org X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74334 Cc: joaotavora@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ight, Joao, you accidentally created a new report, but i'll answer your q= uestions under the original one. > What is the '...'preceding your excerpt of a structure? This is short for "other files that don't matter". Here's my repo (https://codeberg.org/acidbong/nixos/src/commit/2d0eec312d83db0c685aa6de1= 84d0477b0bf2041), where I pushed my current state. The Cargo project is under /pkgs/rsblock= s, including .dir-locals.el. > Where are you executing C-h v? What file are you M-x eglot'int in? > Where are you running M-x eglot-show-worspace-configuration? I'll describe all my actions: 1. open Emacs, it's in *scratch* and in ~: - `eglot-workspace-configuration` is empty 2. `C-x p f ~/.config/nixos/pkgs/rsblocks/src/main.rs`: - `e-w-c` (i'm abbreviating now, if you don't mind) now follows the con= tent in .dir-locals.el 3. `M-x eglot` in that exact main.rs: - rust-analyzer complains that it can't find the workspace: ``` [eglot] Server reports (type=3D1): Failed to discover workspace. Consider adding the `Cargo.toml` of the workspace to the [`linkedProjects= `](https://rust-analyzer.github.io/manual.html#rust-analyzer.linkedProjec= ts) setting. Failed to load workspaces. ``` - `eglot-show-w-c` shows "null" 4. Go back to the *scratch*, type in (setq-default eglot-workspace-config= uration '(that value)) and evaluate it with `C-x C-e`. Now the config is set globally. 5. Back to main.rs and `M-x eglot` once more: - it launches and loads successfully - `eglot-show-w-c` shows the config in JSON, and the config looks corre= ct: ``` { "rust-analyzer": { "linkedProjects": [ "pkgs/rsblocks/Cargo.toml" ] } } ``` > What does M-: (project-current) RET show? (vc Git "~/.config/nixos") ;; this is where I store my NixOS config > All these commands are highly dependent on context, so I think it's bes= t if you > show a full recipe from Emacs -Q to clear these doubts. I could replicate it with `emacs -Q`. Speaking of `project-current`: I tried to follow the advices from https://github.com/joaotavora/eglot/discussions/687 and add "Cargo.toml" and "Cargo.lock" to `project-vc-extra-root-markers`, but `M-: (project-cu= rrent)` still shows "~/.config/nixos". Looks like project.el can't recognize nest= ed projects (both 0.9.8 and 0.11.0), but that's a whole different issue I do= n't care about. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 13 03:41:05 2024 Received: (at 74334) by debbugs.gnu.org; 13 Nov 2024 08:41:05 +0000 Received: from localhost ([127.0.0.1]:40658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tB8vw-0002ld-K2 for submit@debbugs.gnu.org; Wed, 13 Nov 2024 03:41:04 -0500 Received: from mail-oi1-f174.google.com ([209.85.167.174]:58696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tB8vt-0002lG-Oi for 74334@debbugs.gnu.org; Wed, 13 Nov 2024 03:41:03 -0500 Received: by mail-oi1-f174.google.com with SMTP id 5614622812f47-3e607556c83so4050410b6e.1 for <74334@debbugs.gnu.org>; Wed, 13 Nov 2024 00:41:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731487201; x=1732092001; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=D5VidkQD2NtH9IU1+KlyYr0do/IykK8I0xThSO9vpVQ=; b=BJ4ARLOqtlNbo4wA7rx2/uEXrN1CJ1cJrdIcUWSRJ2esRUtGcfrPQKMOupmES47XxA qGTBEJZzrtSdMCdqJ8Qr6w8Nni2J1f5I+7rJp6z+SLJvEyzOSukDx0x42dfBzdKhopWg Fn7qYAjQgqajfBvKEAYvdJGASC/U7tJEldAgtpTWYJ0NZ1AFI84tF1cdIh58NmPFrG5F TleEWnnbrztt6xhRR8WC/xhKqtJJFob2IVab8NiLFhbE9TAnOzzYpTt4F9qth63Gxuqd DgW7m72XPYwmiQzHQdzL6UsaF+C8tVMsJTJhbI+ITwZWq9SRu2LZpk8v0oVWztt7sEiQ Mydw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731487201; x=1732092001; h=content-transfer-encoding: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=D5VidkQD2NtH9IU1+KlyYr0do/IykK8I0xThSO9vpVQ=; b=ngEid19RsZuJKwL6gW9jmjVjz27dvNz5W4xBqIoRlchVkry399Imll4mouVaecVUNB j5S4cJzbae5ZZ3On89xaoqW00yyXcU0nOSwlGGTsCgViw5J4gPKXBvDHIrt+dGQtO0Ce uJUSf14pvRzGLkOoEwMsp3ndlTb6JnphcGtjLmfDDC9s/SQCRSwE2V5cjCYcDVF4nD6E hNwz4trp+05SW8DXj841ozsuS7GmWJzDug+NVemarnT8hU/OdLniPlwOxFZdHOgUmm9v NvlfOAVQU+2duBJnFMIVqs5KARSXo55yOTbhZ4SxiiyvFXYlETtn0oh2QnibniYdPOH2 7bOQ== X-Gm-Message-State: AOJu0Yy/sCEdJ0cgTO3rIJ6ngCBsP9dd4kks2HXGnq1id/DsSrKeicG2 rwJ3nH6DHIf+4HD8wE0Bac+qSecXFovncRarSlOxmHJJaLH3+UTZqWwkkW+BQjQ0vN7JdwCRAb9 6/cH0gS/g68C1kVzdE8b8gs/WYRw= X-Google-Smtp-Source: AGHT+IHCJ5IDjWJKC3rEcsIh0hysA5J+WNX6lovPBrVRfm0pNOoDnL+uGyzEat3qocOBpZkDu9TBJohtnNm2eqy5GpY= X-Received: by 2002:a05:6808:1a0d:b0:3e6:4ae:a91e with SMTP id 5614622812f47-3e794735bfdmr17915703b6e.36.1731487200999; Wed, 13 Nov 2024 00:40:00 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Date: Wed, 13 Nov 2024 08:39:50 +0000 Message-ID: Subject: Re: 29.4; Eglot ignores locally set configuration To: Acid Bong Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 74334 Cc: 74334@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Wed, Nov 13, 2024 at 8:03=E2=80=AFAM Acid Bong wro= te: > > Ight, Joao, you accidentally created a new report, but i'll answer your q= uestions under the original one. Bug in tracker, likely you weren't vetted yet. Reply all usually works and fetches the bug report. Who's Ight? > Speaking of `project-current`: I tried to follow the advices from > https://github.com/joaotavora/eglot/discussions/687 and add "Cargo.toml" > and "Cargo.lock" to `project-vc-extra-root-markers`, but `M-: (project-cu= rrent)` > still shows "~/.config/nixos". Looks like project.el can't recognize nest= ed > projects (both 0.9.8 and 0.11.0), but that's a whole different issue I do= n't care about. You probably should care because .dir-locals needs to exist in the project root directory. Read the manual https://joaotavora.github.io/eglot/#Project_002dspecific-configuration "The most common way to set eglot-workspace-configuration is using a .dir-locals.el file in the root of your project." M-x eglot doesn't much care where inside a given project you start it. For all it knows you could started it visiting ight.rs in your nixis dir and it= 'd be the same. Jo=C3=A3o From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 13 04:45:42 2024 Received: (at 74334) by debbugs.gnu.org; 13 Nov 2024 09:45:42 +0000 Received: from localhost ([127.0.0.1]:40792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tB9wT-0005ik-M0 for submit@debbugs.gnu.org; Wed, 13 Nov 2024 04:45:42 -0500 Received: from tilde.club ([142.44.150.184]:44666 ident=postfix) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tB9wR-0005ib-DH for 74334@debbugs.gnu.org; Wed, 13 Nov 2024 04:45:40 -0500 Received: from webmail.tilde.club (tilde.club [IPv6:2607:5300:203:b92b::115]) by tilde.club (Postfix) with ESMTPSA id 08158220DAD7B; Wed, 13 Nov 2024 09:45:38 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 tilde.club 08158220DAD7B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.club; s=mail; t=1731491138; bh=JCICZVYoUU3OGJtcBueW6EJzNGZkyhM7oTdwGKfZ4FY=; h=Date:From:Subject:To:Cc:In-Reply-To:References:From; b=Xk7WZgLgcnqz+4u0pU4APyNDMZy7o0HvLKaUGf9zuRMdikS2gbkD1zI02nbxIjWCE wl9MNafy94a7WQjD9fcVjeXB/nXP5Qq+lKMboyvjqQ7WKSVci/7aNMP3kPtvyWU0dg +tFMKOTYiPZT3DJHb92FnisZ4Q2n5QZFJlQHqxMM= MIME-Version: 1.0 Date: Wed, 13 Nov 2024 09:45:37 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: "Acid Bong" Message-ID: TLS-Required: No Subject: Re: 29.4; Eglot ignores locally set configuration To: "=?utf-8?B?Sm/Do28gVMOhdm9yYQ==?=" In-Reply-To: References: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74334 Cc: 74334@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > On Wed, Nov 13, 2024 at 8:03 AM Acid Bong wrote: >=20 >=20>=20 >=20> Ight, Joao, you accidentally created a new report, but i'll answer = your questions under the original one. > >=20 >=20 > Bug in tracker, likely you weren't vetted yet. Reply all usually > works and fetches the bug report. Who's Ight? >=20 It's=20short for "alright", sorry for confusing you. >=20 >=20>=20 >=20> Speaking of `project-current`: I tried to follow the advices from > > https://github.com/joaotavora/eglot/discussions/687 and add "Cargo.t= oml" > > and "Cargo.lock" to `project-vc-extra-root-markers`, but `M-: (proje= ct-current)` > > still shows "~/.config/nixos". Looks like project.el can't recognize= nested > > projects (both 0.9.8 and 0.11.0), but that's a whole different issue= I don't care about. >=20 >=20You probably should care because .dir-locals needs to exist in the > project root directory. Read the manual > https://joaotavora.github.io/eglot/#Project_002dspecific-configuration > "The most common way to set eglot-workspace-configuration is using a > .dir-locals.el file in the root of your project." >=20 >=20M-x eglot doesn't much care where inside a given project you start it= . For > all it knows you could started it visiting ight.rs in your nixis dir an= d it'd > be the same. >=20 Woah,=20it actually works. Kinda weird that it requires .dir-locals.el to= be in the Git root, not in the Cargo root. Thanks a lot From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 13 05:11:22 2024 Received: (at 74334) by debbugs.gnu.org; 13 Nov 2024 10:11:22 +0000 Received: from localhost ([127.0.0.1]:40818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBALK-0006ox-Ev for submit@debbugs.gnu.org; Wed, 13 Nov 2024 05:11:22 -0500 Received: from mail-oi1-f172.google.com ([209.85.167.172]:56416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBALH-0006od-9x; Wed, 13 Nov 2024 05:11:20 -0500 Received: by mail-oi1-f172.google.com with SMTP id 5614622812f47-3e604425aa0so3846002b6e.0; Wed, 13 Nov 2024 02:11:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731492613; x=1732097413; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Sin8id8lPq1K7EqiHg1Et51Qbdo8XFYSr8ANACEC/ps=; b=Lu67b0yUJek5D2j+mRQJUP17PIMXdcBOe7ww8WnV24dTTQQRUAKuAbyWp9APk71Uby ayWD/yAJPjRPalvLV5k6tpmGX/i4XGHKiLusGd2Mz1XbbwMa/Ah5al9+PKish/AUypTH pfbCV6gxUaTP7hie2y3mRN2Yoru1ypZze/GG3GI30tSr1X5x0ZEa3Tpp4gabM1WQnJt8 YxF2DWsAJndrDikCvrB4kg7hE42d7KF4leZ32QHFf6+THvrisoMXir1T+0FXLJn7whBQ y4tYG5Bfmqew9DYcwOg8brKaNHXzImGEW1gIOUcD5L1LGyl2ND3lUWmJSbMC4/4KsZ8t Yq7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731492613; x=1732097413; h=content-transfer-encoding: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=Sin8id8lPq1K7EqiHg1Et51Qbdo8XFYSr8ANACEC/ps=; b=T+Hldz4AZleLERsMNrpWnT7RyFl9P8DE5ckGBFe3f81utmRErK2JYtEyA49TIQyKid AVyhQi4qcUVlndbgHsNBnbHp7MnpXmzDReuP/cg7DSAoRqGiJz7nWOzbo+X2gf5UR0Ay VVnHGLLj0pnCjQ7aJ13p79SObD77Jay2csV7wN2iShb2YpKBmAQwJD4UIhIiGV6EDYpr KpJ4kfTXR5ZIePnHYmLxUhAkSuJ7LfRVs5lChzx9fWOtX50wrPLyVT4iF1G26rMQYS5e tJq2JZ3pu3xF1cxQnTshK9ykl6RrpgAg7lNjDjUurs14b+X5TcELY7hmDCIiliMhg/1b rolA== X-Forwarded-Encrypted: i=1; AJvYcCU5d6L2qa5MjfFmPRAIrLHMyjhlDaeBC37VoQwrMMV6ZkCwzM2N9+GoLUh+9LpCQq0o2/xazXUxezod@debbugs.gnu.org X-Gm-Message-State: AOJu0YzH8HeeQynLpO0n9PjXAvn9vc5mqcgvXJ2wu9hHME8JlNxlu8hA oc2WFODM6eQT/W8N5zi7Mx5a66vTBt9jH/gnej+FZfiDIZlUd/iygjuPSt9nBhS8zIUGpU4rNhC h3FYbGPjVinRzDZ7OUqEJajtuDJU= X-Google-Smtp-Source: AGHT+IGoZORLhJgP/QuDUCYpk9w7UpfBce0xtVBnr5Y1qT2aICj6yVN5UGfvVmYlTVWnbrG1npV131BF5IaBoO8E9cs= X-Received: by 2002:a05:6808:13d4:b0:3e6:322d:58ff with SMTP id 5614622812f47-3e7946b81a0mr20747154b6e.23.1731492613651; Wed, 13 Nov 2024 02:10:13 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Date: Wed, 13 Nov 2024 10:10:02 +0000 Message-ID: Subject: Re: 29.4; Eglot ignores locally set configuration To: Acid Bong Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 74334 Cc: 74334@debbugs.gnu.org, 74334-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Wed, Nov 13, 2024 at 9:45=E2=80=AFAM Acid Bong wro= te: > Woah, it actually works. Kinda weird that it requires .dir-locals.el to b= e in the > Git root, not in the Cargo root. It's weird, but only because having this particular project very deep insid= e the only dir that Emacs knows how to automatically recognize as a project is weird. Look into teaching project.el about "Cargo.toml" files, it shouldn't be very hard. You may or may not need "nested" projects, that's an orthogonal issue. If you're sure you do need nested or complicated project setups, look at [1]) Jo=C3=A3o [1]: https://github.com/joaotavora/eglot/discussions/1337#discussioncomment= -8853117 From unknown Sat Sep 06 14:23:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 11 Dec 2024 12:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator