From: "João Távora" <joaotavora@gmail.com>
To: Acid Bong <acidbong@tilde.club>
Cc: 74334@debbugs.gnu.org
Subject: bug#74334: 29.4; Eglot ignores locally set configuration
Date: Wed, 13 Nov 2024 08:39:50 +0000 [thread overview]
Message-ID: <CALDnm53HFCACpzGj0drO0PBzM2HuMH44nYD89OG23U2i_HCZ+g@mail.gmail.com> (raw)
In-Reply-To: <f14ee5a89ca67d4c5c77cd3ab2caaadc0f9acc76@tilde.club>
On Wed, Nov 13, 2024 at 8:03 AM Acid Bong <acidbong@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
next prev parent reply other threads:[~2024-11-13 8:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-12 20:49 bug#74334: 29.4; Eglot ignores locally set configuration Acid Bong via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-12 21:34 ` bug#74330: " João Távora
2024-11-13 8:03 ` bug#74334: " Acid Bong via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-13 8:39 ` João Távora [this message]
2024-11-13 9:45 ` Acid Bong via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-13 10:10 ` João Távora
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CALDnm53HFCACpzGj0drO0PBzM2HuMH44nYD89OG23U2i_HCZ+g@mail.gmail.com \
--to=joaotavora@gmail.com \
--cc=74334@debbugs.gnu.org \
--cc=acidbong@tilde.club \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.