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 16:27:19 +0200

> Date: Sun, 27 Nov 2022 16:10:02 +0200
> Cc: philipk@posteo.net, rudi@constantly.at, eric@ericabrahamsen.net,
>  cjpeople2013@gmail.com, theo@thornhill.no, mardani29@yahoo.es,
>  salutis@me.com, joaotavora@gmail.com, manuel.uberti@inventati.org,
>  juri@linkov.net, arstoffel@gmail.com, 41572@debbugs.gnu.org
> From: Dmitry Gutov <dgutov@yandex.ru>
> 
> On 27/11/22 08:46, Eli Zaretskii wrote:
> > Sorry, no.  My basic question "how are these markers used?" is still
> > unanswered.  You seem to assume that saying "in addition to regular
> > directory markers such as .git, .hg" explains it, but it doesn't, because
> > how the "regular directory markers" are used is still a mystery.  And the
> > purpose of the markers according to the doc string, viz.:
> > 
> >     List of additional markers to signal project roots.
> > 
> > doesn't help enough, since "signal project roots" is too vague and abstract.
> 
> How about this, then? To borrow the phrasing from the very first patch 
> in this bug:
> 
>    "List of additional markers to signal project roots.
> 
> A marker is either a base file name or a glob pattern for such.
> 
> A drectory containing such file or a file matching the pattern
> will be recognized as a VC project.

Better, but the last sentence above should say

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

(Btw, why "VC project"? can't I use marker files for non-VC projects?)

Thanks.





reply via email to

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