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#74334: 29.4; Eglot ignores locally set configuration Date: Wed, 13 Nov 2024 08:39:50 +0000 Message-ID: References: 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="4733"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74334@debbugs.gnu.org To: Acid Bong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 13 09:42:33 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 1tB8xM-00015B-Sq for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Nov 2024 09:42:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tB8x1-0001L9-OE; Wed, 13 Nov 2024 03:42:12 -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 1tB8wt-0001KZ-9a for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2024 03:42:07 -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 1tB8ws-0006Tp-QX for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2024 03:42:03 -0500 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=D5VidkQD2NtH9IU1+KlyYr0do/IykK8I0xThSO9vpVQ=; b=G61x5wP4dEYN7MG/du5xAi5Pbl2o4zGfg3crVHuTLp1yyWXpdo4OmRx1DuDgRCFJpeXjAGlpmVDZv4ROKP4p12HYnhmSBiwh7MX3KlIrOQxeC1TWhP0yhSj/OjTjlRNgE+TbBkN9gubXXkSu/NEiGrrBTmQ8kxsrxM1sPpkPZrZeK6uDo818Ew7oExTqKHNCgD5Y39A440aRrykiQ4E+pGaajZGbcUBmr4CnUcw7ErNvBOmpaLfF5PoFl94QKBUR8A0pv9CNij68BLUgtJS1ORoebVJ9yRcohC59QHTwTcrxulaFMm24jSsR7yszHRP+zxi79CCjwetG2Wdc8e7Zxw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tB8wr-0002mt-Qy for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2024 03:42:01 -0500 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: Wed, 13 Nov 2024 08:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74334 X-GNU-PR-Package: emacs Original-Received: via spool by 74334-submit@debbugs.gnu.org id=B74334.173148726510646 (code B ref 74334); Wed, 13 Nov 2024 08:42:01 +0000 Original-Received: (at 74334) by debbugs.gnu.org; 13 Nov 2024 08:41:05 +0000 Original-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 Original-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 Original-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) 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:295262 Archived-At: 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