GNU bug report logs - #41572
28.0.50; [PATCH] Support plain project marked with file .emacs-project

Previous Next

Package: emacs;

Reported by: Zhu Zihao <cjpeople2013 <at> gmail.com>

Date: Thu, 28 May 2020 04:46:02 UTC

Severity: normal

Merged with 54228

Found in versions 28.0.50, 29.0.50

Fixed in version 29.1

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: philipk <at> posteo.net, rudi <at> constantly.at, eric <at> ericabrahamsen.net, cjpeople2013 <at> gmail.com, theo <at> thornhill.no, mardani29 <at> yahoo.es, joaotavora <at> gmail.com, manuel.uberti <at> inventati.org, juri <at> linkov.net, salutis <at> me.com, arstoffel <at> gmail.com, 41572 <at> debbugs.gnu.org
Subject: bug#41572: 28.0.50; [PATCH] Support plain project marked with file .emacs-project
Date: Sun, 27 Nov 2022 23:41:59 +0200
On 27/11/22 18:43, Eli Zaretskii wrote:
>> Date: Sun, 27 Nov 2022 17:51:45 +0200
>> Cc:philipk <at> posteo.net,rudi <at> constantly.at,eric <at> ericabrahamsen.net,
>>   cjpeople2013 <at> gmail.com,theo <at> thornhill.no,mardani29 <at> yahoo.es,
>>   joaotavora <at> gmail.com,manuel.uberti <at> inventati.org,juri <at> linkov.net,
>>   salutis <at> me.com,arstoffel <at> gmail.com,41572 <at> debbugs.gnu.org
>> From: Dmitry Gutov<dgutov <at> 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".

If you say quote help, it's fine by me.

> 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.

Sure.

>> 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?

Is that different? I would say it might be worse: "VC-backed" sounds 
like a project that must correspond to a VC repository (be "backed" by it).

OTOH a new term we could use would stand for something like: a project 
type which will recognize the enabled kinds of VC repositories and use 
their roots as project root, and knows how to use certain VC systems to 
speed up the fetching of files, and knows about Git submodules, but also 
recognizes other directories (inside or outside of VC repositories) 
based on configurable conditions.




This bug report was last modified 2 years and 170 days ago.

Previous Next


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