GNU bug report logs - #74334
29.4; Eglot ignores locally set configuration

Previous Next

Package: emacs;

Reported by: Acid Bong <acidbong <at> tilde.club>

Date: Wed, 13 Nov 2024 02:02:01 UTC

Severity: normal

Found in version 29.4

Done: João Távora <joaotavora <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 74334 <at> debbugs.gnu.org (full text, mbox):

From: João Távora <joaotavora <at> gmail.com>
To: Acid Bong <acidbong <at> tilde.club>
Cc: 74334 <at> debbugs.gnu.org
Subject: Re: 29.4; Eglot ignores locally set configuration
Date: Wed, 13 Nov 2024 08:39:50 +0000
On Wed, Nov 13, 2024 at 8:03 AM Acid Bong <acidbong <at> tilde.club> wrote:
>
> Ight, Joao, you accidentally created a new report, but i'll answer your questions 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-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.

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ão




This bug report was last modified 269 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.