Subject: Re: bug#41572: 28.0.50; [PATCH] Support plain project marked with file .emacs-project

From: Eli Zaretskii <[email-masked]>
Date: Sun, 27 Nov 2022 16:27:19 +0200

> Date: Sun, 27 Nov 2022 16:10:02 +0200
> Cc: [email-masked], [email-masked], [email-masked],
>  [email-masked], [email-masked], [email-masked],
>  [email-masked], [email-masked], [email-masked],
>  [email-masked], [email-masked], [email-masked]
> From: Dmitry Gutov <[email-masked]>
> 
> 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.