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 #20 received at 73736 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dmitry <at> gutov.dev>
To: Joost Kremers <joostkremers <at> fastmail.fm>
Cc: Jim Porter <jporterbugs <at> gmail.com>, 73736 <at> debbugs.gnu.org,
 Eric Gillespie <epg <at> pretzelnet.org>
Subject: Re: bug#73736: 31.0.50; project and therefore eglot don't work
 without git
Date: Fri, 11 Oct 2024 17:43:26 +0300
On 11/10/2024 11:53, Joost Kremers wrote:
>> That's a natural question, but it would result in different results for
>> "current project" for files in the same directory (which often enough use
>> different major modes).
> What about a single marker that works for any project? This is a
> work-around that Projectile uses and I'm using it with project.el as well,
> with:
> 
> ```
> (add-to-list 'project-vc-extra-root-markers ".project")
> ```

That's the recommended course of action if you don't have other 
consistent indicators of project root, between your projects.

I'm not a fan of adding a file that has no other purposes, but if people 
find this useful, no problem. For personal projects it certainly 
shouldn't hurt.

Eric, Jim, how would you like this resolution?




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.