all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Acid Bong" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: "João Távora" <joaotavora@gmail.com>
Cc: 74334@debbugs.gnu.org
Subject: bug#74334: 29.4; Eglot ignores locally set configuration
Date: Wed, 13 Nov 2024 09:45:37 +0000	[thread overview]
Message-ID: <fbbfda276583afcb6caaca8538f0bb94297b7959@tilde.club> (raw)
In-Reply-To: <CALDnm53HFCACpzGj0drO0PBzM2HuMH44nYD89OG23U2i_HCZ+g@mail.gmail.com>

> 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?
> 

It's short for "alright", sorry for confusing you.

> 
> > 
> > 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.
> 

Woah, it actually works. Kinda weird that it requires .dir-locals.el to be in the
Git root, not in the Cargo root.

Thanks a lot





  reply	other threads:[~2024-11-13  9:45 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
2024-11-13  9:45     ` Acid Bong via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
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=fbbfda276583afcb6caaca8538f0bb94297b7959@tilde.club \
    --to=bug-gnu-emacs@gnu.org \
    --cc=74334@debbugs.gnu.org \
    --cc=acidbong@tilde.club \
    --cc=joaotavora@gmail.com \
    /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.