GNU bug report logs - #73736
31.0.50; project and therefore eglot don't work without git

Previous Next

Package: emacs;

Reported by: Eric Gillespie <epg <at> pretzelnet.org>

Date: Thu, 10 Oct 2024 16:45:02 UTC

Severity: normal

Found in version 31.0.50

Full log


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

From: Dmitry Gutov <dmitry <at> gutov.dev>
To: Eric Gillespie <epg <at> pretzelnet.org>, 73736 <at> debbugs.gnu.org
Subject: Re: bug#73736: 31.0.50; project and therefore eglot don't work
 without git
Date: Thu, 10 Oct 2024 21:42:20 +0300
Hi!

On 10/10/2024 19:44, Eric Gillespie wrote:
> I think the problem here is that eglot needs to provide a project
> root to rust-analyzer, but 'project' only knows how to find .git
> directories, which I don't have in this case.

This isn't very plug-and-play, but you can customize 
project-vc-extra-root-markers to include any other files that 
distinguish the root of a project. For example, Cargo.toml.




This bug report was last modified 305 days ago.

Previous Next


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