bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#41572: 28.0.50; [PATCH] Support plain project marked with file .emac


From: Eli Zaretskii
Subject: bug#41572: 28.0.50; [PATCH] Support plain project marked with file .emacs-project
Date: Sun, 27 Nov 2022 18:43:58 +0200

> Date: Sun, 27 Nov 2022 17:51:45 +0200
> Cc: philipk@posteo.net, rudi@constantly.at, eric@ericabrahamsen.net,
>  cjpeople2013@gmail.com, theo@thornhill.no, mardani29@yahoo.es,
>  joaotavora@gmail.com, manuel.uberti@inventati.org, juri@linkov.net,
>  salutis@me.com, arstoffel@gmail.com, 41572@debbugs.gnu.org
> From: Dmitry Gutov <dgutov@yandex.ru>
> 
> On 27/11/22 16:27, Eli Zaretskii wrote:
> 
> > (Btw, why "VC project"? can't I use marker files for non-VC projects?)
> 
> Yes, you can. That's what the docstring says: "can also be used for 
> projects outside of VC repositories".
> 
> But "VC project" is a proper noun in this usage. Basically, a "VC 
> project" is whatever value (if non-nil) that is returned by project-try-vc.

Then maybe change that to something like

    A directory containing such a marker file or a file matching a marker
    pattern will be recognized as the root of a project whose type is
    "VC project".

The point of this is to tell that those markers indicate projects whose type
just happens to be "VC project".  Otherwise the above could be interpreted
that the markers can be used only inside VC projects.

> Like the patch also says (and what's given me a pause in the past), that 
> also makes "VC project" somewhat a misnomer. But I'm not sure what to 
> call them better

How about VC-backed project?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]